[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Mutiple virtualmachines Live migration at the same time with Xen


  • To: Huang Yogi <chi7396@xxxxxxxxxxx>
  • From: Todd Deshane <todd.deshane@xxxxxxx>
  • Date: Tue, 21 Dec 2010 22:05:17 -0500
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Tue, 21 Dec 2010 19:07:47 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; b=eaN/ukoCNtCo0nLzXFo4W2jPUkT5OqmLdLRdGzEOW0+eSGmbyNUFBzDzAu5eZaNT6d QpbMJTOddzAv/2Il12n3Csxl+YlzqxPXb6OWZQXFyBuPBmcKMLL0NePLTCFYa6jc37I3 /732JC6+jrpATgBsLmmD6xWKpx511im2tl89A=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

2010/12/20 Huang Yogi <chi7396@xxxxxxxxxxx>:
> 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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.