Skip to contentSkip to conversation

virtual machine migration question

DISCUSSION Eric Tessler 2 participants 2 messages Mar 8, 2005

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
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