Hi, i''ve 5 domU in one dom0 with kernel 2.6.11.12-xen0. All domU are in LVM partitions on dom0. Each domU have 1 /, 1 swap and 1 /home in reiserfs. I must migrate all domU to another server, but how can a migrate all the data and all processes without errors ? I can stop each domU, it''s not a problem ... Where can i find docs about migrating a domU to another dom0 ? Thank''s for all needed links and all feedbacks :) Regards Franck -- http://www.linuxpourtous.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Am Sonntag 18 Juni 2006 10:07 schrieb Franck:> i''ve 5 domU in one dom0 with kernel 2.6.11.12-xen0. > All domU are in LVM partitions on dom0. > Each domU have 1 /, 1 swap and 1 /home in reiserfs. > > I must migrate all domU to another server, but how can a migrate all the > data and all processes without errors ? > I can stop each domU, it''s not a problem ...Hi, if shutting down the domUs is not a problem, you should only need to copy the xen configuration file and move the data on the LVM partitions to your new machine. You should be able to do that via dd (if you do not have the disk space to save your partition image, it should be possible to copy via ssh and write it to the partition directly like this: lvm -> dd -> ssh | network | sshd -> dd -> lvm ) Greetz Philipp _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi,>> i''ve 5 domU in one dom0 with kernel 2.6.11.12-xen0. >> All domU are in LVM partitions on dom0. >> Each domU have 1 /, 1 swap and 1 /home in reiserfs. >> >> I must migrate all domU to another server, but how can a migrate all the >> data and all processes without errors ? >> I can stop each domU, it''s not a problem ... > > Hi, > if shutting down the domUs is not a problem, you should only need to copy > the > xen configuration file and move the data on the LVM partitions to your new > machine. > You should be able to do that via dd (if you do not have the disk space to > save your partition image, it should be possible to copy via ssh and write > it > to the partition directly like this: lvm -> dd -> ssh | network | sshd -> > dd -> lvm )Yes i can stop domUs but i don''t know about dd over ssh :( Is anyone has examples of this command ? Regards Franck -- http://www.linuxpourtous.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> Yes i can stop domUs but i don''t know about dd over ssh :( > Is anyone has examples of this command ?do it like this (change values of "if" and "remotehost" and "of"): dd if =/dev/hdb3 | ssh remotehost dd of=/home/xen/domU.disk or use tar + ssh: Create and mount your domU image on the target server. Create a file /tmp/exclude-list and specify all directories you don''t want to copy over, e.g. /dev, /proc, /sys ... Then do cd / tar –c -z --numeric-owner –X /tmp/exclude-list –f - * | ssh remotehost “cd /mnt; tar –x –z- -p –f –“ Bye, Andrej _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users