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

[Xen-users] RE: [Xen-devel] xm migrate --live fails

To: <rshriram@xxxxxxxxx>
Subject: [Xen-users] RE: [Xen-devel] xm migrate --live fails
From: "Walter Robert Ditzler" <ditwal001@xxxxxxxxx>
Date: Wed, 27 Jul 2011 16:59:24 +0200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 27 Jul 2011 08:18:06 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:references:in-reply-to:subject:date:message-id :mime-version:content-type:x-priority:x-msmail-priority:x-mailer :importance:thread-index:content-language :disposition-notification-to; bh=Hnl0McNK2ULyPL54f9NF7udW4eBSDielGc6EKiJgRHc=; b=TeiQ0Ed2e21xu/7cxhwcOgUJs2uD7sMwYCdmSpYthUgbYOuqxknMN2DekfZ24/kmkf 6/hC8k/gIndMtGnSNUjOPnDXWgTvuYVKR4yOebgN31v4qvc8j9J0cwuUjeRLvJrp+6Xm DZQaMZHiO3WX2/yNf4o2c2YVxjSjXYNiw04YI=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
Importance: High
In-reply-to: <CAP8mzPOZvmGADXGMZn3WobFAby2dnvO57_7z49brZW-hvDrJkA@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/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: <!&!AAAAAAAAAAAYAAAAAAAAAOJK0u4CH31Kl5v1RPAzyrZCgQAAEAAAALMYETG7089CgH5yGIJshxoBAAAAAA==@xxxxxxxxx> <CAP8mzPOZvmGADXGMZn3WobFAby2dnvO57_7z49brZW-hvDrJkA@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AQKAPq2g/pQN8vD9MYs9exTedDMKcgJBTnuRk4ZTKAA=

sorry for the dev,

 

and i also forgot to send the xend-config.sxp file, of course those parameters are set!

 

that's why I don't have a glue why it shouldn't work L

 

thak's walter J

 

***

# -*- sh -*-

#(logfile /var/log/xen/xend.log)

#(loglevel DEBUG)

#(xsm_module_name dummy)

#(xen-api-server ((unix)))

#(xend-http-server no)

#(xend-unix-server no)

#(xend-tcp-xmlrpc-server no)

#(xend-unix-xmlrpc-server yes)

(xend-relocation-server yes)

#(xend-relocation-ssl-server no)

#(xend-udev-event-server no)

#(xend-unix-path /var/lib/xend/xend-socket)

#(xend-tcp-xmlrpc-server-address 'localhost')

#(xend-tcp-xmlrpc-server-port 8006)

#(xend-tcp-xmlrpc-server-ssl-key-file  xmlrpc.key)

#(xend-tcp-xmlrpc-server-ssl-cert-file xmlrpc.crt)

#(xend-port 8000)

(xend-relocation-port 8002)

#(xend-relocation-ssl-port 8003)

# xend-relocation-ssl-server is set.

#(xend-relocation-server-ssl-key-file   xmlrpc.key)

#(xend-relocation-server-ssl-cert-file  xmlrpc.crt)

#(xend-relocation-ssl no)

#(xend-address '')

#(xend-address localhost)

(xend-relocation-address '')

(xend-relocation-hosts-allow '')

#(xend-relocation-hosts-allow '^localhost$ ^localhost\\.localdomain$')

#(console-limit 1024)

(network-script 'network-bridge antispoof=yes')

(vif-script vif-bridge)

#(vif-script vif-route)

#(vif-script vif-nat)

(dom0-min-mem 256)

(enable-dom0-ballooning yes)

(total_available_memory 0)

(dom0-cpus 0)

#(enable-dump no)

#(external-migration-tool '')

(vnc-listen '0.0.0.0')

(vncpasswd '')

#(vnc-tls 1)

#(vnc-x509-cert-dir vnc)

#(vnc-x509-verify 1)

(keymap 'de-ch')

#(resource-label-change-script '')

#(qemu-dm-logrotate-count 10)

#(xend-domains-path /var/lib/xend/domains)

#(device-create-timeout 100)

#(pscsi-device-mask ('*'))

***

 

 

 

From: Shriram Rajagopalan [mailto:rshriram@xxxxxxxxx]
Sent: Mittwoch, 27. Juli 2011 15:34
To: Walter Robert Ditzler
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] xm migrate --live fails

 

Walter,
 This post IMO should go to xen-users only and not xen-devel.

that said, check the configuration in /etc/xen/xend-config.sxp especially
(xend-relocation-server yes)
(xend-relocation-hosts-allow ....

shriram

On Wed, Jul 27, 2011 at 9:21 AM, Walter Robert Ditzler <ditwal001@xxxxxxxxx> wrote:

hi all,

i would like to do a live migration to another host which fails. bellow the
console output.

host    : debian squeeze 6.0.2.1 amd64
kernel  : 3.0.0
hw      : hp dl 320g5

any glue on that behavior?

by the way, I use it cause it should be a test for remus. remus doesn't work
too! the console output below as well.

thanks a lot guy's ...

walter

***
root@srv-ldeb-xen001:/# xm list
Name                                        ID   Mem VCPUs      State
Time(s)
Domain-0                                     0  1024     4     r-----
35269.3
server01                                     8  2047     1     -b----
663.5
server03                                     9   511     1     -b----
39.8
***

***
root@srv-ldeb-xen001:/# xm migrate --live 9 10.255.255.2
Error: timed out
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.
-n=nodenum, --node=nodenum
                    Use specified NUMA node on target.
-s, --ssl            Use ssl connection for migration.
-c, --change_home_server
                    Change home server for managed domains.

root@srv-ldeb-xen001:/# xm migrate --live server03 10.255.255.2
Error: timed out
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.
-n=nodenum, --node=nodenum
                    Use specified NUMA node on target.
-s, --ssl            Use ssl connection for migration.
-c, --change_home_server
                    Change home server for managed domains.

root@srv-ldeb-xen001:/#
***

***
root@srv-ldeb-xen001:/# remus --no-net server03 10.41.10.42
qemu logdirty mode: enable
xc: error: Error when writing to state file (4a) (errno 104) (104 =
Connection reset by peer): Internal error
qemu logdirty mode: disable
PROF: resumed at 1311772859.060909
resuming QEMU
root@srv-ldeb-xen001:/#
***

***
root@srv-ldeb-xen001:/# xl info
host                   : srv-ldeb-xen001
release                : 3.0.0
version                : #1 SMP Mon Jul 25 03:34:26 CEST 2011
machine                : x86_64
nr_cpus                : 4
nr_nodes               : 1
cores_per_socket       : 4
threads_per_core       : 1
cpu_mhz                : 2128
hw_caps                :
bfebfbff:20000800:00000000:00000940:0000e3bd:00000000:00000001:00000000
virt_caps              : hvm
total_memory           : 8190
free_memory            : 4477
free_cpus              : 0
xen_major              : 4
xen_minor              : 2
xen_extra              : -unstable
xen_caps               : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32
hvm-3.0-x86_32p hvm-3.0-x86_64
xen_scheduler          : credit
xen_pagesize           : 4096
platform_params        : virt_start=0xffff800000000000
xen_changeset          : Fri Jul 22 08:55:19 2011 +0100 23734:42edf1481c57
xen_commandline        : placeholder dom0_mem=1024M
cc_compiler            : gcc version 4.4.5 (Debian 4.4.5-8)
cc_compile_by          : root
cc_compile_domain      : local.net
cc_compile_date        : Tue Jul 26 03:07:32 CEST 2011
xend_config_format     : 4
root@srv-ldeb-xen001:/#
***


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

 

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