virtual machine migration question
When you migrate a virtual machine from one machine to another, on the target machine does XEN execute any scripts related to the new virtual machine or is it purely a state transfer between the two machines?
Thanks,
Eric
---------------------------------
Celebrate Yahoo!'s 10th Birthday!
Yahoo! Netrospective: 100 Moments of the Web
Quoted 1 line · Eric Tessler
When you migrate a virtual machine from one machine to another, on the target machine does XEN execute any scripts related to the new virtual machine or is it purely a state transfer between the two machines?
Yes and no. The current implementation transfers a configuration file that's essentially the state of the domain (represented in S-Expressions). Reading in that state will likely result in the execution of certain scripts.
I can certainly imagine scenarios where you would want to define a script that's associated with the bring-up of a VM and that you would need some mechanism to marshall up the script and send it along with the VM. This introduces all sorts of interesting problems though.
Basically, I don't think configuration migration is a solved problem yet. It's something I want to explore in vm-tools.
Regards,
Anthony Liguori
Quoted 8 lines
Thanks,
Eric------------------------------------------------------------------------
Celebrate Yahoo!'s 10th Birthday!
Yahoo! Netrospective: 100 Moments of the Web <http://birthday.yahoo.com/netrospective/>
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click