Huang Yogi
2010-Dec-20 13:42 UTC
[Xen-users] Mutiple virtualmachines Live migration at the same time with Xen
Dear all The following process is about trying to do the " live migration at the same time with 5 Virtual machines ", but there is somthing problem with it. Process: yogi-pc2: # xm migrate --live vm01 pc2 & xm migrate --live vm02 pc2 & xm migrate --live vm03 pc2 & xm migrate --live vm04 pc2 & xm migrate --live vm05 pc2[1] 29983 [2] 29984 [3] 29985 [4] 29986 Error: /usr/lib/xen-3.2-1/bin/xc_save 43 2358 0 0 1 failed Usage: xm migrate <Domain> <Host> Migrate a domain to another machine. Options: -h, --help Print this help. -l, --live Use live migration. -p=portnum, --port=portnum Use specified port for migration. -r=MBIT, --resource=MBIT Set level of resource usage for migration. yogi-pc2:# jobs [1] Running xm migrate --live vm01 yogi-pc1 & [2] Running xm migrate --live vm02 yogi-pc1 & [3]- Running xm migrate --live vm03 yogi-pc1 & [4]+ Running xm migrate --live vm05 yogi-pc1 & yogi-pc2:# ps -aux root 29983 0.3 0.4 11076 6800 pts/0 S 19:34 0:00 python /usr/lib/xen-3.2-1/bin/xm migrate --live vm01 yogi-pc1 root 29984 0.3 0.4 11068 6796 pts/0 S 19:34 0:00 python /usr/lib/xen-3.2-1/bin/xm migrate --live vm02 yogi-pc1 root 29985 0.3 0.4 11068 6796 pts/0 S 19:34 0:00 python /usr/lib/xen-3.2-1/bin/xm migrate --live vm03 yogi-pc1 root 29986 0.3 0.4 11068 6796 pts/0 S 19:34 0:00 python /usr/lib/xen-3.2-1/bin/xm migrate --live vm05 yogi-pc1\ Hardware Intel(R) Core(TM)2 Quad CPU Q8400 @ 2.66GHz # xm list Name ID Mem VCPUs State Time(s) Domain-0 0 953 4 r----- 89663.9 vm01 1332 128 1 -b---- 0.0 vm02 1327 128 1 -b---- 0.6 vm03 1330 128 1 -b---- 0.6 vm05 1328 128 1 -b---- 0.6 vm06 1329 128 1 -b---- 0.6 vm07 1303 128 1 -b---- 39.2 Problem (1) Doing 5 VM live migration at the same time, but there are only 4 VM migrate to another host. (2) The error code: Error: /usr/lib/xen-3.2-1/bin/xc_save 43 2358 0 0 1 failed (3) Is it bacause of the CPU number (there are only 4 CPU, but there are 5 VM waiting for live migration) ? Thank you so much for your help!! :) Best regards, Yogi Huang Yogi Huang -chi7396@hotmail.com -886-956-730906 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Todd Deshane
2010-Dec-22 03:05 UTC
Re: [Xen-users] Mutiple virtualmachines Live migration at the same time with Xen
2010/12/20 Huang Yogi <chi7396@hotmail.com>:> Dear all > > The following process is about trying to do the " live migration at the same > time with 5 Virtual machines ", but there is somthing problem with it. > > Process: > > yogi-pc2: # xm migrate --live vm01 pc2 & xm migrate --live > vm02 pc2 & xm migrate --live vm03 pc2 & xm migrate --live vm04 pc2 & xm > migrate --live vm05 pc2 > > [1] 29983 > [2] 29984 > [3] 29985 > [4] 29986 > Error: /usr/lib/xen-3.2-1/bin/xc_save 43 2358 0 0 1 failed > Usage: xm migrate <Domain> <Host> >> Migrate a domain to another machine. > > Options: > > -h, --help Print this help. > -l, --live & nbsp; Use live migration. > -p=portnum, --port=portnum > Use specified port for migration. > -r=MBIT, --resource=MBIT > Set level of resource usage for migration. >Looks like you are getting a usage error.> yogi-pc2:# jobs > > [1] Running xm migrate --live vm01 yogi-pc1 & > [2] Running xm migrate --live vm02 yogi-pc1 & > [3]- Running xm migra te --live vm03 yogi-pc1 & > [4]+ Running xm migrate --live vm05 yogi-pc1 & > > yogi-pc2:# ps -aux > root 29983 0.3 0.4 11076 6800 pts/0 S 19:34 0:00 python > /usr/lib/xen-3.2-1/bin/xm migrate --live vm01 yogi-pc1 > root 29984 0.3 0.4 11068 6796 pts/0 S 19:34 0:00 python > /usr/lib/xen-3.2-1/bin/xm migrate --live vm02 yogi-pc1 > root 29985 0.3 0.4 11068 6796 pts/0 S 19:34 0:00 python > /usr/lib/xen-3.2-1/bin/xm migrate --live vm03 yogi-pc1 > root 29986 0.3 0.4 11068 6796 pts/0 S 19:34 0:00 python > /usr/lib/xen-3.2-1/bin/xm migrate --live vm05 yogi-pc1\ > > Hardware Intel(R) Core(TM)2 Quad CPU Q8400 @ 2.66GHz > > # xm list > > Name ID Mem VCPUs &nbs p; > State Time(s) > Domain-0 0 953 4 r----- > 89663.9 > vm01 1332 128 1 -b---- > 0.0 > vm02 1327 128 1 -b---- > 0.6 > vm03 1330 128 1 -b---- > 0.6 > vm05 1328 128 1 -b---- > 0.6 > vm06 1329 128 1 -b---- > 0.6 > vm07 1303 128 1 -b---- > 39.2 >If this is the host that you are migrating from, then you don't have a vm04 to migrate If that is not the problem, be sure that you have enough resources to migrate. For example, you need enough free memory on the target system to handle all of the VMs. Hope that helps, Thanks, Todd _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Huang Yogi
2010-Dec-23 05:04 UTC
RE: [Xen-users] Mutiple virtualmachines Live migration at the same time with Xen
The lack of memory caused the problem! I try to give more memoy for the target system and the migration success. Thanks for your help!! Best regards, Yogi If that is not the problem, be sure that you have enough resources to> migrate. For example, you need enough free memory on the target system > to handle all of the VMs.> From: todd.deshane@xen.org > Date: Tue, 21 Dec 2010 22:05:17 -0500 > Subject: Re: [Xen-users] Mutiple virtualmachines Live migration at the same time with Xen > To: chi7396@hotmail.com > CC: xen-users@lists.xensource.com > > 2010/12/20 Huang Yogi <chi7396@hotmail.com>: > > Dear all > > > > The following process is about trying to do the " live migration at the same > > time with 5 Virtual machines ", but there is somthing problem with it. > > > > Process: > > > > yogi-pc2: # xm migrate --live vm01 pc2 & xm migrate --live > > vm02 pc2 & xm migrate --live vm03 pc2 & xm migrate --live vm05 pc2 & xm > > migrate --live vm06 pc2 > > > > [1] 29983 > > [2] 29984 > > [3] 29985 > > [4] 29986 > > Error: /usr/lib/xen-3.2-1/bin/xc_save 43 2358 0 0 1 failed > > Usage: xm migrate <Domain> <Host> > > > > > Migrate a domain to another machine. > > > > Options: > > > > -h, --help Print this help. > > -l, --live & nbsp; Use live migration. > > -p=portnum, --port=portnum > > Use specified port for migration. > > -r=MBIT, --resource=MBIT > > Set level of resource usage for migration. > > > > Looks like you are getting a usage error. > > > yogi-pc2:# jobs > > > > [1] Running xm migrate --live vm01 yogi-pc1 & > > [2] Running xm migrate --live vm02 yogi-pc1 & > > [3]- Running xm migra te --live vm03 yogi-pc1 & > > [4]+ Running xm migrate --live vm05 yogi-pc1 & > > > > yogi-pc2:# ps -aux > > root 29983 0.3 0.4 11076 6800 pts/0 S 19:34 0:00 python > > /usr/lib/xen-3.2-1/bin/xm migrate --live vm01 yogi-pc1 > > root 29984 0.3 0.4 11068 6796 pts/0 S 19:34 0:00 python > > /usr/lib/xen-3.2-1/bin/xm migrate --live vm02 yogi-pc1 > > root 29985 0.3 0.4 11068 6796 pts/0 S 19:34 0:00 python > > /usr/lib/xen-3.2-1/bin/xm migrate --live vm03 yogi-pc1 > > root 29986 0.3 0.4 11068 6796 pts/0 S 19:34 0:00 python > > /usr/lib/xen-3.2-1/bin/xm migrate --live vm05 yogi-pc1\ > > > > Hardware Intel(R) Core(TM)2 Quad CPU Q8400 @ 2.66GHz > > > > # xm list > > > > Name ID Mem VCPUs &nbs p; > > State Time(s) > > Domain-0 0 953 4 r----- > > 89663.9 > > vm01 1332 128 1 -b---- > > 0.0 > > vm02 1327 128 1 -b---- > > 0.6 > > vm03 1330 128 1 -b---- > > 0.6 > > vm05 1328 128 1 -b---- > > 0.6 > > vm06 1329 128 1 -b---- > > 0.6 > > vm07 1303 128 1 -b---- > > 39.2 > > > > If this is the host that you are migrating from, then you don''t have a > vm04 to migrate > > If that is not the problem, be sure that you have enough resources to > migrate. For example, you need enough free memory on the target system > to handle all of the VMs. > > Hope that helps, > > Thanks, > Todd_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Dear all After I doing: rm -f /bin /sh ,my pc(Debian) can not work anymore, I try to do: ln -s /bin/sh /bin/bash, but it doesn''t work; after reboot it shows cannot execute /etc/init.d/rcS ; /etc/init.d/rc... could you help me how to fix this problem!! Thank you so much!!! Best regards, Yogi Huang From: chi7396@hotmail.com To: todd.deshane@xen.org CC: xen-users@lists.xensource.com Subject: RE: [Xen-users] Mutiple virtualmachines Live migration at the same time with Xen Date: Thu, 23 Dec 2010 13:04:12 +0800 The lack of memory caused the problem! I try to give more memoy for the target system and the migration success. Thanks for your help!! Best regards, Yogi If that is not the problem, be sure that you have enough resources to> migrate. For example, you need enough free memory on the target system > to handle all of the VMs.> From: todd.deshane@xen.org > Date: Tue, 21 Dec 2010 22:05:17 -0500 > Subject: Re: [Xen-users] Mutiple virtualmachines Live migration at the same time with Xen > To: chi7396@hotmail.com > CC: xen-users@lists.xensource.com > > 2010/12/20 Huang Yogi <chi7396@hotmail.com>: > > Dear all > > > > The following process is about trying to do the " live migration at the same > > time with 5 Virtual machines ", but there is somthing problem with it. > > > > Process: > > > > yogi-pc2: # xm migrate --live vm01 pc2 & xm migrate --live > > vm02 pc2 & xm migrate --live vm03 pc2 & xm migrate --live vm05 pc2 & xm > > migrate --live vm06 pc2 > > > > [1] 29983 > > [2] 29984 > > [3] 29985 > > [4] 29986 > > Error: /usr/lib/xen-3.2-1/bin/xc_save 43 2358 0 0 1 failed > > Usage: xm migrate <Domain> <Host> > > > > > Migrate a domain to another machine. > > > > Options: > > > > -h, --help Print this help. > > -l, --live & nbsp; Use live migration. > > -p=portnum, --port=portnum > > Use specified port for migration. > > -r=MBIT, --resource=MBIT > > Set level of resource usage for migration. > > > > Looks like you are getting a usage error. > > > yogi-pc2:# jobs > > > > [1] Running xm migrate --live vm01 yogi-pc1 & > > [2] Running xm migrate --live vm02 yogi-pc1 & > > [3]- Running xm migra te --live vm03 yogi-pc1 & > > [4]+ Running xm migrate --live vm05 yogi-pc1 & > > > > yogi-pc2:# ps -aux > > root 29983 0.3 0.4 11076 6800 pts/0 S 19:34 0:00 python > > /usr/lib/xen-3.2-1/bin/xm migrate --live vm01 yogi-pc1 > > root 29984 0.3 0.4 11068 6796 pts/0 S 19:34 0:00 python > > /usr/lib/xen-3.2-1/bin/xm migrate --live vm02 yogi-pc1 > > root 29985 0.3 0.4 11068 6796 pts/0 S 19:34 0:00 python > > /usr/lib/xen-3.2-1/bin/xm migrate --live vm03 yogi-pc1 > > root 29986 0.3 0.4 11068 6796 pts/0 S 19:34 0:00 python > > /usr/lib/xen-3.2-1/bin/xm migrate --live vm05 yogi-pc1\ > > > > Hardware Intel(R) Core(TM)2 Quad CPU Q8400 @ 2.66GHz > > > > # xm list > > > > Name ID Mem VCPUs &nbs p; > > State Time(s) > > Domain-0 0 953 4 r----- > > 89663.9 > > vm01 1332 128 1 -b---- > > 0.0 > > vm02 1327 128 1 -b---- > > 0.6 > > vm03 1330 128 1 -b---- > > 0.6 > > vm05 1328 128 1 -b---- > > 0.6 > > vm06 1329 128 1 -b---- > > 0.6 > > vm07 1303 128 1 -b---- > > 39.2 > > > > If this is the host that you are migrating from, then you don''t have a > vm04 to migrate > > If that is not the problem, be sure that you have enough resources to > migrate. For example, you need enough free memory on the target system > to handle all of the VMs. > > Hope that helps, > > Thanks, > Todd_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wednesday 26 January 2011 13:49:12 Huang Yogi wrote:> Dear all > > > After I doing: rm -f /bin /sh ,my pc(Debian) can not work anymore,Is it a copy/paste error, or is there really a space between "/bin" and "/sh"? If there was a space, then you just deleted your entire /bin directory> I try to do: ln -s /bin/sh /bin/bash, but it doesn''t work;See above, if /bin/bash doesn''t exist, the ln .... won''t work either.> after reboot it shows cannot execute /etc/init.d/rcS ; /etc/init.d/rc...See above (again)> could you help me how to fix this problem!!Other then reinstalling or restoring backups? -- Joost _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I think he''d need an r with that f in order to delete the whole bin dir, wouldn''t he? -----Original Message----- From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of J. Roeleveld Sent: Wednesday, January 26, 2011 8:25 AM To: xen-users@lists.xensource.com Subject: Re: [Xen-users] About: rm -f /bin /sh On Wednesday 26 January 2011 13:49:12 Huang Yogi wrote:> Dear all > > > After I doing: rm -f /bin /sh ,my pc(Debian) can not work anymore,Is it a copy/paste error, or is there really a space between "/bin" and "/sh"? If there was a space, then you just deleted your entire /bin directory> I try to do: ln -s /bin/sh /bin/bash, but it doesn''t work;See above, if /bin/bash doesn''t exist, the ln .... won''t work either.> after reboot it shows cannot execute /etc/init.d/rcS ; /etc/init.d/rc...See above (again)> could you help me how to fix this problem!!Other then reinstalling or restoring backups? -- Joost _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wednesday 26 January 2011 14:40:55 Ryan Holt wrote:> I think he''d need an r with that f in order to delete the whole bin dir, > wouldn''t he?Yes, but the "-r" might be added by a macro in his shell.> > -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of J. Roeleveld > Sent: Wednesday, January 26, 2011 8:25 AM > To: xen-users@lists.xensource.com > Subject: Re: [Xen-users] About: rm -f /bin /sh > > On Wednesday 26 January 2011 13:49:12 Huang Yogi wrote: > > Dear all > > > > > > After I doing: rm -f /bin /sh ,my pc(Debian) can not work anymore, > > Is it a copy/paste error, or is there really a space between "/bin" and > "/sh"? > > If there was a space, then you just deleted your entire /bin directory > > > I try to do: ln -s /bin/sh /bin/bash, but it doesn''t work; > > See above, if /bin/bash doesn''t exist, the ln .... won''t work either. > > > after reboot it shows cannot execute /etc/init.d/rcS ; /etc/init.d/rc... > > See above (again) > > > could you help me how to fix this problem!! > > Other then reinstalling or restoring backups? > > -- > Joost > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Dear all rm -f /bin/sh (no space between "/bin" and "/sh") thank you! From: chi7396@hotmail.com To: xen-users@lists.xensource.com Subject: About: rm -f /bin /sh Date: Wed, 26 Jan 2011 20:49:12 +0800 Dear all After I doing: rm -f /bin /sh ,my pc(Debian) can not work anymore, I try to do: ln -s /bin/sh /bin/bash, but it doesn''t work; after reboot it shows cannot execute /etc/init.d/rcS ; /etc/init.d/rc... could you help me how to fix this problem!! Thank you so much!!! Best regards, Yogi Huang From: chi7396@hotmail.com To: todd.deshane@xen.org CC: xen-users@lists.xensource.com Subject: RE: [Xen-users] Mutiple virtualmachines Live migration at the same time with Xen Date: Thu, 23 Dec 2010 13:04:12 +0800 The lack of memory caused the problem! I try to give more memoy for the target system and the migration success. Thanks for your help!! Best regards, Yogi Huang _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wednesday 26 January 2011 17:51:30 Huang Yogi wrote:> Dear all > > rm -f /bin/sh (no space between "/bin" and "/sh") > > thank you!Ok, then try: ln -s /bin/bash /bin/sh This might solve the issue.> > > > > > From: chi7396@hotmail.com > To: xen-users@lists.xensource.com > Subject: About: rm -f /bin /sh > Date: Wed, 26 Jan 2011 20:49:12 +0800 > > > > > Dear all > > > After I doing: rm -f /bin /sh ,my pc(Debian) can not work anymore, > > I try to do: ln -s /bin/sh /bin/bash, but it doesn''t work; > > > after reboot it shows cannot execute /etc/init.d/rcS ; /etc/init.d/rc... > > > > could you help me how to fix this problem!! > > > Thank you so much!!! > > > Best regards, > Yogi Huang > > > > > From: chi7396@hotmail.com > To: todd.deshane@xen.org > CC: xen-users@lists.xensource.com > Subject: RE: [Xen-users] Mutiple virtualmachines Live migration at the same > time with Xen Date: Thu, 23 Dec 2010 13:04:12 +0800 > > > > The lack of memory caused the problem! I try to give more memoy for the > target system and the migration success. Thanks for your help!! > > Best regards, > Yogi Huang_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users