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-devel

Re: AW: [Xen-devel] Migration Problem to Localhost

To: "DIEDERIT@xxxxxxxxxxxxxxxxxxxxxxxxxxxx" <DIEDERIT@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: AW: [Xen-devel] Migration Problem to Localhost
From: Rami Rosen <rosenrami@xxxxxxxxx>
Date: Fri, 25 Nov 2005 12:04:52 -0500
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Steven.Hand@xxxxxxxxxxxx
Delivery-date: Fri, 25 Nov 2005 17:04:49 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=EI2sMi2mOvfmOv13cW7Q4PP9X03261pjRbJWlCOuRksbYZUFUChEAqJ5Lg3SjrFQ0jEQo7Ztxh4aaxmxnS5DHJ1gczcESEYn0GlxaoutvR729qIUsEFxdbQS6V2Cx0Hg+PU6WQKZy/OE+KwllhVvOBnl0hzntlFo/OKks5Mn1d0=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <D883B61937A3FA45A4D8BAEA489AC7D104C43775@xxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <D883B61937A3FA45A4D8BAEA489AC7D104C43775@xxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi,
>[root@ingpcxen002 ~]# telnet 148.191.190.3 8002
>Trying 148.191.190.3...
>Connected to ingpcxen002.ing.de.bic (148.191.190.3).
>Escape character is '^]'.
>an then it hangs, nothing happens. Migration will also not work!

1) Please run tail -f /var/log/xend.log from a different terminal and then
  run the migrate command  (as I understanf you are migrating to 148.191.190.3

  Please post the messages from /var/log/xend.log after issuing the migration command.
  This may help to diagnose the problem.

  Also if there is any message on the terminal on which you issued the migrate command
  please post it.

  Also make sure that you have enough memory on the host to which you want to migrate (though I assume
you did it after the problem you had before).

2) It seems that the target to which you want to migrate does listenin correctly on port 8002 to
TCP connecttion as telnet shows (By the way, nothing indeed should happen after displaying >Escape character is '^]'.)

Regards,
Rami Rosen

 


On 11/25/05, DIEDERIT@xxxxxxxxxxxxxxxxxxxxxxxxxxxx < DIEDERIT@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
Yes, i just have read about this.
I configured ech machine in the same way.

[root@ingpcxen002 scripts]# netstat -nl | grep 8002
tcp        0      0 0.0.0.0:8002                0.0.0.0:*                   LISTEN
[root@ingpcxen002 scripts]#
 
[root@ingpcxen002 ~]#
[root@ingpcxen002 ~]#
[root@ingpcxen002 ~]# telnet 148.191.190.3 8002
Trying 148.191.190.3...
Connected to ingpcxen002.ing.de.bic (148.191.190.3).
Escape character is '^]'.
an then it hangs, nothing happens. Migration will also not work!

Thomas Diederich

**************************************************
*  Boehringer Ingelheim Pharma GmbH & Co.KG
*  A Informationsverarbeitung / Diplomant Systemtechnik
*

*  Mail: diederit@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
*  Phone: +49 (0)6132/77-98151 

-----Ursprüngliche Nachricht-----
Von: Rami Rosen [mailto:rosenrami@xxxxxxxxx]
Gesendet: Donnerstag, 24. November 2005 17:26
An: DIEDERIT@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Cc: Steven.Hand@xxxxxxxxxxxx; xen-devel@xxxxxxxxxxxxxxxxxxx

Betreff: Re: AW: [Xen-devel] Migration Problem to Localhost

Hello,

>But why won't migrating to another Host work?
 
1)  What is the error log you get in /var/log/xend.log

 If you get in the command line:
"Error: can't connect: Connection refused"
   there are chances that /etc/xen/xend-config.sxp is not
configured right on the other side (to which you want to migrate).
see my answer in
http://lists.xensource.com/archives/html/xen-users/2005-11/msg00391.html

2) I added today some details on migration and migration
configuration in my  XenIntro wiki page:

http://wiki.xensource.com/xenwiki/XenIntro



Regards,
Rami Rosen



On 11/24/05, DIEDERIT@xxxxxxxxxxxxxxxxxxxxxxxxxxxx < DIEDERIT@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
But why won't migrating to another Host work?
Same subnet!!!?!?!?

Thomas Diederich

**************************************************
*  Boehringer Ingelheim Pharma GmbH & Co.KG
*  A Informationsverarbeitung / Diplomant Systemtechnik
*
*  Mail: diederit@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
*  Phone: +49 (0)6132/77-98151


-----Ursprüngliche Nachricht-----
Von: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx]
Gesendet: Donnerstag, 24. November 2005 15:50
An: Steven.Hand@xxxxxxxxxxxx; DIEDERIT@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Betreff: AW: AW: [Xen-devel] Migration Problem to Localhost


Ok,
That does the job! THX!


Thomas Diederich

**************************************************
*  Boehringer Ingelheim Pharma GmbH & Co.KG
*  A Informationsverarbeitung / Diplomant Systemtechnik
*
*  Mail: diederit@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
*  Phone: +49 (0)6132/77-98151


-----Ursprüngliche Nachricht-----
Von: Steven Hand [mailto: Steven.Hand@xxxxxxxxxxxx]
Gesendet: Donnerstag, 24. November 2005 15:38
An: DIEDERIT@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Betreff: Re: AW: [Xen-devel] Migration Problem to Localhost



> Here is my xend.log:
> I Think the problem is this ([2005-11-24 14:54:36 xend] ERROR
> (XendCheckpoint:218) Had 0 unexplained entries in p2m table) line.

Nope - this is not an error at all in fact, just verbose debug output
from the xc_save process.

The real error is:

> [2005-11-24 14:54:36 xend] DEBUG (XendCheckpoint:139) [xc_restore]:
> /usr/lib/xen/bin/xc_restore 15 21 5 58368 1 2
>
> [2005-11-24 14:54:36 xend] ERROR (XendCheckpoint:218) xc_linux_restore
> start: max_pfn = e400
>
> [2005-11-24 14:54:36 xend] ERROR (XendCheckpoint:218) Failed allocation
for
> dom 5: 58368 pages order 0 addr_bits 0
>
> [2005-11-24 14:54:36 xend] ERROR (XendCheckpoint:218) Failed to increase
> reservation by 39000 KB
>
> [2005-11-24 14:54:36 xend] ERROR (XendCheckpoint:218) Restore exit with
rc=1

Basically this means that you didn't have enough memory to do the
migrate (during a migrate of a domain of size xMB, you temporarily
need to have a spare x+8 MB free.)

The error handling / error message could certainly usefully be
improved :-)



cheers,

S.





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


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


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>