Hi, I''m pretty new to Xen. I''m running Xen on Debian Etch, on AMD64 architecture. I''m looking for suggestions on how to copy a domU without shutting it down. I would like to then boot up the copy, and have both virtual domains running simultaneously. If anybody knows how to do this, please let me know. --Mike Morris mike@datdec.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Michael Morris wrote:> Hi, > > I''m pretty new to Xen. I''m running Xen on Debian Etch, on AMD64 > architecture. I''m looking for suggestions on how to copy a domU without > shutting it down. I would like to then boot up the copy, and have both > virtual domains running simultaneously. If anybody knows how to do > this, please let me know. >It isn''t supported in xen at the moment. There is research work on cloning virtual machines, but I would not expect it added as a feature for a long while. - -John -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFEFaY48DoLwhCPR0RAjIeAKCgMLsN+vcw9Ph1+cNYWrpVCut+awCgtU6c Y9cPGxc26JQUFS9xe77dvK0=754o -----END PGP SIGNATURE----- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi> I''m pretty new to Xen. I''m running Xen on Debian Etch, on > AMD64 architecture. I''m looking for suggestions on how to > copy a domU without shutting it down. I would like to then > boot up the copy, and have both virtual domains running > simultaneously. If anybody knows how to do this, please let me know.It isn''t natively supported by Xen. BUT you can propably simulate it like this: Have your original domU on a LVM volume. White it is running, create a snap-shot. Copy the snap-shot to a new volume. Remove the snap-shot. Run repairs on the new volume as it might be inconsistent. In that case you can either trust the repair utility or redo the copy part. Start the new domU on the new volume. Regards, Steffen _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On 9/19/06, Steffen Heil <lists@steffen-heil.de> wrote:> Hi > > [...] > It isn''t natively supported by Xen. > BUT you can propably simulate it like this: > > Have your original domU on a LVM volume. > White it is running, create a snap-shot. > Copy the snap-shot to a new volume. > Remove the snap-shot. > > Run repairs on the new volume as it might be inconsistent. In that case you > can either trust the repair utility or redo the copy part. > > Start the new domU on the new volume. > > Regards, > Steffen >In fact, cloning is a fairly complicated procedure. You would also need to do things like change the MAC and IP addresses for the cloned VM. Plus remember that any processes running on the VM may get very confused. -tim _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users