How to trigger VM (Hotspot) migrations when cloudlets are created dynamically ?

Skip to first unread message


Jun 1, 2020, 2:20:39 PM6/1/20
to CloudSim Plus
MigrationExample1 shows how to perfrom migrations using  onVmsCreatedListener to set overload threshold. However, when the VMs are created  dynamically this listener can not be applied to reach overload threshold.
Is there another listener to fire (hotspot) migrations of VMs created dynamically ? 

Manoel Campos

Jun 2, 2020, 8:21:37 AM6/2/20
That is just an example using the listener to force an overload situation.
You can see that MigrationExample2_PowerUsage doesn't even use a listener.
There are lots of listeners in CloudSim Plus and the one to use depends on your scenario.
Use your IDE to find the classes that implement EventListener so that you can find all the available listeners.

Manoel Campos da Silva Filho Software Engineer

Computer Science and Engineering Ph.D. Student at University of Beira Interior (Portugal)

Professor at Federal Institute of Education, Science and Technology of Tocantins (Brazil)


If you received an answer that worked for you, please be kind and reply to let everybody knows it worked.
You received this message because you are subscribed to the Google Groups "CloudSim Plus" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To view this discussion on the web visit
Reply all
Reply to author
0 new messages