WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: Huang Yogi <chi7396@xxxxxxxxxxx>
Subject: Re: [Xen-users] Mutiple virtualmachines Live migration at the same time with Xen
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:sender:received :in-reply-to:references:from:date:x-google-sender-auth:message-id :subject:to:cc:content-type:content-transfer-encoding; bh=r0d50T1k/WKq2TL+8meDndfARm2DtplwW+0HWFYp92o=; b=qwwSuomYh/5Iq0s+68F8jhukJwaKS2bzNQ2qN26vHWliIepiEBf4j7FUT8+LWS5wVt rpmioO4boijpMIgLTH09yLki8cYX8UhvVunXSUwEQc8+W8ljG+bFyTV+X2+ruaOPLkYD 1CiBkF0nEGyVdb/wrUyajmJAc5K7ZXj1AlzA4=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <SNT114-W64F461ECFE0B702ED4069EA6190@xxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <SNT114-W31DEE1BDA99AFFACE28EECA6190@xxxxxxx> <SNT114-W64F461ECFE0B702ED4069EA6190@xxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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
<Prev in Thread] Current Thread [Next in Thread>