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] Problems starting xfrd to migrate a domain

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Problems starting xfrd to migrate a domain
From: Miguel Gómez <elmiguelonmakinon@xxxxxxxxx>
Date: Fri, 8 Jul 2005 10:21:31 +0200
Delivery-date: Fri, 08 Jul 2005 08:20:20 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:references; b=aQQlvqLi+aPwCdKUPKMfKHMZ6dZCZ1CfpSJm8YlGF9eMEtFn8yZ/K9Ii9+gWYeGeL8RgeJMpXqwk7+PnbA0ObuluphuU7y9D5mvMzbKSxeWOhY50vSGoYWpBoljMODa1INcPG3sTvWdbNDkB6dS0KCaWXao237xh0ALku/m7AnY=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <3c358bb505070608277a8e3d43@xxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <3c358bb5050705085411a51552@xxxxxxxxxxxxxx> <20050705162504.GF4133@MEniac> <Pine.LNX.4.63.0507051843010.3380@xxxxxxxxxxxxxxxxxxxxx> <3c358bb505070605284c3c6d04@xxxxxxxxxxxxxx> <3c358bb505070608277a8e3d43@xxxxxxxxxxxxxx>
Reply-to: Miguel Gómez <elmiguelonmakinon@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Ok, things seem to get better. I was using the pre-built Xen installation. When I compiled the source  distribution, save/restore problem disappeared. But I can not still migrate domains. When I have a ttylinux domain like this:

XENslave:/xen# xm list
Name              Id  Mem(MB)  CPU  State  Time(s)  Console
Domain-0           0       26    0  r----    107.3
ttylinux2         11        7    0  -b---      0.3    9611

I try to migrate it with:

XENslave:/xen# xm migrate ttylinux2 192.168.50.194

And look what I get in the destiny machine /var/log/xfrd.log:

3211 [INF] XFRD> Forked child pid=3679
3211 [INF] XFRD> Accepted connection from 192.168.50.212:4844 on 2
3732 [INF] XFRD> Xfr service for 192.168.50.212:4844
[DEBUG] Conn_init> flags=1
[DEBUG] Conn_init> write stream...
[DEBUG] stream_init>mode=w flags=1 compress=0
[DEBUG] stream_init> unbuffer...
[DEBUG] stream_init< err=0
[DEBUG] Conn_init> read stream...
[DEBUG] stream_init>mode=r flags=1 compress=0
[DEBUG] stream_init> unbuffer...
[DEBUG] stream_init< err=0
[DEBUG] Conn_sxpr>
(xfr.hello 1 0)[DEBUG] Conn_sxpr< err=0
[DEBUG] Conn_sxpr>
(xfr.xfr 12)[DEBUG] Conn_sxpr< err=0
[1120810614.947681] xc_linux_restore start

xc_linux_restore start
[1120810615.015532] Created domain 9

Created domain 9
(Domain-9 Domain-0)'domain id=9 name=ttylinux2 memory=8 console=9609 image=/boot/vmlinuz-2.6.11-xenU'[1120810
617.262328] Reloading memory pages:   0%
Reloading memory pages:  50%                                                                              99%
[1120810627.283337] Received all pages

Received all pages                                                                                       100%
                                                                                                         100%
[1120810627.287122] Memory reloaded.

Memory reloaded.
Decreased reservation by 5 pages
[1120810627.310166] Domain ready to be built.

Domain ready to be built.
[1120810627.310282] Domain ready to be unpaused

Domain ready to be unpaused
[1120810627.312554] DOM=9

DOM=9
[DEBUG] Conn_sxpr>
(xfr.err 0)[DEBUG] Conn_sxpr< err=0
[DEBUG] Conn_sxpr>
(xfr.err 0)[DEBUG] Conn_sxpr< err=0
3732 [INF] XFRD> Transfer complete in 13 seconds
3732 [INF] XFRD> Xfr service err=0




It looks good!!!, but when I do a "xm list" in the destiny machine:
XENmaster:/etc# xm list
Name              Id  Mem(MB)  CPU  State  Time(s)  Console
Domain-0           0       26    0  r----     76.7

Something is wrong, do you know what I can do? Where can I search for the problem?

Thank you, everybody, for your help and have a nice weekend!!!!


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users