Modifying migration process

Hi guys,

I would like to implement my own algorithm VM migration, I would like to know whether it is possible and if yes which part of OpenNebula should i modify?

The hypervisor I am using is Xen 4.4.

I know this will be a long way for the learning curve, so i hope you can guide me on the right direction to get started.

Best Regards,


Here are a few pointers to get you started:

The decision to choose a migration destination is made in the scheduler:

In the core the xml-rpc api call is managed by this method:

From there, the action will call the VM drivers:

Thank you for replying sir.

What I actually want to do is modify the live migration process of VMs. I know that there is this method "migrate(host_id, live = false, enforce = false, ds_id = -1)) " in VirtualMachine.rb(

Would you like to add something to it.

Also if possible could you suggest something on this issue - VM creation failure on XEN host

Thanks and regards,
Arshad Shaikh