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@lists.xensource.com http://lists.xensource.com/xen-devel
Shriram Rajagopalan
2011-Jul-27 13:33 UTC
[Xen-users] 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@gmail.com>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@lists.xensource.com > http://lists.xensource.com/xen-devel >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Walter Robert Ditzler
2011-Jul-27 14:59 UTC
[Xen-users] RE: [Xen-devel] xm migrate --live fails
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@cs.ubc.ca] Sent: Mittwoch, 27. Juli 2011 15:34 To: Walter Robert Ditzler Cc: xen-users@lists.xensource.com 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@gmail.com> 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 <tel:9%2010.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@lists.xensource.com http://lists.xensource.com/xen-devel _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, Jul 27, 2011 at 03:21:53PM +0200, Walter Robert Ditzler 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? >Does simple save/restore work? -- Pasi> 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@lists.xensource.com > http://lists.xensource.com/xen-devel_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
pasi, why asking for the big problem when even the basic doesnt work :-) save/restore failed too! below the output. thanks walter *** root@srv-ldeb-xen001:/etc/xen# xm list Name ID Mem VCPUs State Time(s) Domain-0 0 1024 4 r----- 39313.5 server01 8 2047 1 -b---- 799.8 server03 9 511 1 -b---- 55.9 root@srv-ldeb-xen001:/etc/xen# *** *** root@srv-ldeb-xen001:/etc/xen# xl save 9 Unable to get config file root@srv-ldeb-xen001:/etc/xen# *** *** root@srv-ldeb-xen001:/etc/xen# xm safe 9 Error: Subcommand safe not found! Usage: xm <subcommand> [args] Control, list, and manipulate Xen guest instances. Common ''xm'' commands: console Attach to <Domain>''s console. vncviewer Attach to <Domain>''s VNC server. create Create a domain based on <ConfigFile>. new Adds a domain to Xend domain management delete Remove a domain from Xend domain management. destroy Terminate a domain immediately. dump-core Dump core for a specific domain. help Display this message. list List information about all/some domains. mem-set Set the current memory usage for a domain. migrate Migrate a domain to another machine. pause Pause execution of a domain. reboot Reboot a domain. reset Reset a domain. restore Restore a domain from a saved state. resume Resume a Xend managed domain save Save a domain state to restore later. shell Launch an interactive shell. shutdown Shutdown a domain. start Start a Xend managed domain suspend Suspend a Xend managed domain top Monitor a host and the domains in real time. unpause Unpause a paused domain. uptime Print uptime for all/some domains. usb-add Add the usb device to FV VM. usb-del Delete the usb device to FV VM. domstate get the state of a domain vcpu-set Set the number of active VCPUs for allowed for the domain. <Domain> can either be the Domain Name or Id. For more help on ''xm'' see the xm(1) man page. For more help on ''xm create'' see the xmdomain.cfg(5) man page. For a complete list of subcommands run ''xm help''. root@srv-ldeb-xen001:/etc/xen# *** -----Original Message----- From: Pasi Kärkkäinen [mailto:pasik@iki.fi] Sent: Mittwoch, 27. Juli 2011 18:58 To: Walter Robert Ditzler Cc: xen-users@lists.xensource.com; xen-devel@lists.xensource.com Subject: Re: [Xen-devel] xm migrate --live fails On Wed, Jul 27, 2011 at 03:21:53PM +0200, Walter Robert Ditzler 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? >Does simple save/restore work? -- Pasi> 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@lists.xensource.com > http://lists.xensource.com/xen-devel_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Carsten from Virtastic
2011-Jul-27 19:04 UTC
Re: [Xen-users] RE: [Xen-devel] xm migrate --live fails
HI Walter,> root@srv-ldeb-xen001:/etc/xen# xl save 9You''re missing a third parameter... the name of the file where the status should be saved to. Should read: # xl save <domain> <savefile> This error message here is very misleading indeed:> Unable to get config file...or plain wrong :) Cheers Carsten _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Walter Robert Ditzler
2011-Jul-27 19:08 UTC
RE: [Xen-users] RE: [Xen-devel] xm migrate --live fails
hi carsten, no chance! root@srv-ldeb-xen001:/etc/xen# xl safe 9 /root/www.config command not implemented root@srv-ldeb-xen001:/etc/xen# thanks walter. -----Original Message----- From: Carsten from Virtastic [mailto:carsten@virtastic.com] Sent: Mittwoch, 27. Juli 2011 21:05 To: Walter Robert Ditzler Cc: xen-users@lists.xensource.com Subject: Re: [Xen-users] RE: [Xen-devel] xm migrate --live fails Importance: High HI Walter,> root@srv-ldeb-xen001:/etc/xen# xl save 9You''re missing a third parameter... the name of the file where the status should be saved to. Should read: # xl save <domain> <savefile> This error message here is very misleading indeed:> Unable to get config file...or plain wrong :) Cheers Carsten _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Carsten from Virtastic
2011-Jul-27 19:20 UTC
Re: [Xen-users] RE: [Xen-devel] xm migrate --live fails
Hi Walter,> root@srv-ldeb-xen001:/etc/xen# xl safe 9 /root/www.configTry save, not safe...with V That works well, given that everything is configured properly: [root@xen12 ~]# xl save lego lego.sav Saving to lego.sav new xl format (info 0x0/0x0/589) [root@xen12 ~]# ll lego.sav -rw-r--r-- 1 root root 1075891685 Jul 27 20:18 lego.sav [root@xen12 ~]# xl restore lego.sav Loading new save file lego.sav (new xl fmt info 0x0/0x0/589) Savefile contains xl domain config Parsing config file <saved> Daemon running with PID 3713 [root@xen12 ~]# xl console lego CentOS Linux release 6.0 (Final) Kernel 2.6.32.43.pvops-1.el6 on an x86_64 lego.devbasket.com login: Cheers Carsten> command not implemented > root@srv-ldeb-xen001:/etc/xen# > > thanks walter. > > -----Original Message----- > From: Carsten from Virtastic [mailto:carsten@virtastic.com] > Sent: Mittwoch, 27. Juli 2011 21:05 > To: Walter Robert Ditzler > Cc: xen-users@lists.xensource.com > Subject: Re: [Xen-users] RE: [Xen-devel] xm migrate --live fails > Importance: High > > HI Walter, > > >> root@srv-ldeb-xen001:/etc/xen# xl save 9 > > You''re missing a third parameter... the name of the file where the status > should be saved to. > > Should read: > # xl save <domain> <savefile> > > This error message here is very misleading indeed: > >> Unable to get config file > > ...or plain wrong :) > > > Cheers > Carsten > > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Walter Robert Ditzler
2011-Jul-27 19:38 UTC
[Xen-users] RE: [Xen-devel] xm migrate --live fails
pasi, sory for the email before, save/restore works! I mistyped safe instead of save, been already a long day :-) thanks walter -----Original Message----- From: Pasi Kärkkäinen [mailto:pasik@iki.fi] Sent: Mittwoch, 27. Juli 2011 18:58 To: Walter Robert Ditzler Cc: xen-users@lists.xensource.com; xen-devel@lists.xensource.com Subject: Re: [Xen-devel] xm migrate --live fails On Wed, Jul 27, 2011 at 03:21:53PM +0200, Walter Robert Ditzler 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? >Does simple save/restore work? -- Pasi> 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@lists.xensource.com > http://lists.xensource.com/xen-devel_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
You''re missing the second parameter to save, the filename to which to save. Try again with the proper command and please also include the output from /var/log/xen/xend.log. - Nathan On 7/27/2011 11:25 AM, Walter Robert Ditzler wrote:> pasi, > > why asking for the big problem when even the basic doesnt work:-) > save/restore failed too! below the output. > > thanks walter_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
On Wed, Jul 27, 2011 at 08:25:24PM +0200, Walter Robert Ditzler wrote:> pasi, > > why asking for the big problem when even the basic doesnt work :-) > save/restore failed too! below the output. > > thanks walter > > > *** > root@srv-ldeb-xen001:/etc/xen# xm list > Name ID Mem VCPUs State > Time(s) > Domain-0 0 1024 4 r----- > 39313.5 > server01 8 2047 1 -b---- > 799.8 > server03 9 511 1 -b---- > 55.9 > root@srv-ldeb-xen001:/etc/xen# > *** > > *** > root@srv-ldeb-xen001:/etc/xen# xl save 9 > Unable to get config fileYou shouldn''t mix xm and xl! They cannot be used at the same time.> root@srv-ldeb-xen001:/etc/xen# > *** > > *** > root@srv-ldeb-xen001:/etc/xen# xm safe 9 > Error: Subcommand safe not found!It''s "save", not "safe".> Usage: xm <subcommand> [args] > > <Domain> can either be the Domain Name or Id. > For more help on ''xm'' see the xm(1) man page. > For more help on ''xm create'' see the xmdomain.cfg(5) man page. > > For a complete list of subcommands run ''xm help''. > root@srv-ldeb-xen001:/etc/xen# > *** >-- Pasi> -----Original Message----- > From: Pasi Kärkkäinen [mailto:pasik@iki.fi] > Sent: Mittwoch, 27. Juli 2011 18:58 > To: Walter Robert Ditzler > Cc: xen-users@lists.xensource.com; xen-devel@lists.xensource.com > Subject: Re: [Xen-devel] xm migrate --live fails > > On Wed, Jul 27, 2011 at 03:21:53PM +0200, Walter Robert Ditzler 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? > > > > Does simple save/restore work? > > -- Pasi > > > > 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@lists.xensource.com > > http://lists.xensource.com/xen-devel >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
On Wed, Jul 27, 2011 at 09:38:16PM +0200, Walter Robert Ditzler wrote:> pasi, > > sory for the email before, save/restore works! I mistyped safe instead of > save, been already a long day :-) >Ok, so save/restore works, but live migration doesn''t.. -- Pasi> thanks walter > > -----Original Message----- > From: Pasi Kärkkäinen [mailto:pasik@iki.fi] > Sent: Mittwoch, 27. Juli 2011 18:58 > To: Walter Robert Ditzler > Cc: xen-users@lists.xensource.com; xen-devel@lists.xensource.com > Subject: Re: [Xen-devel] xm migrate --live fails > > On Wed, Jul 27, 2011 at 03:21:53PM +0200, Walter Robert Ditzler 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? > > > > Does simple save/restore work? > > -- Pasi > > > > 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@lists.xensource.com > > http://lists.xensource.com/xen-devel >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Walter Robert Ditzler
2011-Jul-28 00:59 UTC
[Xen-users] RE: [Xen-devel] xm migrate --live fails
hi pasi, yes right, and i dont mix xl and xm, i just tried xm as well, to be surenot to forget anything. the fact is remus, whati actually want and need doesn''t work as well! walter -----Original Message----- From: Pasi Kärkkäinen [mailto:pasik@iki.fi] Sent: Donnerstag, 28. Juli 2011 02:46 To: Walter Robert Ditzler Cc: xen-users@lists.xensource.com; xen-devel@lists.xensource.com Subject: Re: [Xen-devel] xm migrate --live fails On Wed, Jul 27, 2011 at 09:38:16PM +0200, Walter Robert Ditzler wrote:> pasi, > > sory for the email before, save/restore works! I mistyped safe instead > of save, been already a long day :-) >Ok, so save/restore works, but live migration doesn''t.. -- Pasi> thanks walter > > -----Original Message----- > From: Pasi Kärkkäinen [mailto:pasik@iki.fi] > Sent: Mittwoch, 27. Juli 2011 18:58 > To: Walter Robert Ditzler > Cc: xen-users@lists.xensource.com; xen-devel@lists.xensource.com > Subject: Re: [Xen-devel] xm migrate --live fails > > On Wed, Jul 27, 2011 at 03:21:53PM +0200, Walter Robert Ditzler 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? > > > > Does simple save/restore work? > > -- Pasi > > > > 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 +010023734: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@lists.xensource.com > > http://lists.xensource.com/xen-devel >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On 7/27/2011 5:45 PM, Pasi Kärkkäinen wrote:> On Wed, Jul 27, 2011 at 09:38:16PM +0200, Walter Robert Ditzler wrote: >> pasi, >> >> sory for the email before, save/restore works! I mistyped safe instead of >> save, been already a long day :-) >> > > Ok, so save/restore works, but live migration doesn''t.. > > -- PasiHave you configured the relation server & hosts in /etc/xen/xend-config.sxp? (xend-relocation-server yes) (xend-relocation-hosts-allow ''^localhost$ ^localhost\\.localdomain$'') Check /var/log/xen/ as well for some extra info. Also, this is more suited for the xen-users mailing list :) - Nathan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Walter Robert Ditzler
2011-Jul-28 10:01 UTC
[Xen-users] RE: [Xen-devel] xm migrate --live fails
hi pasi, hi nathan, i close the thread "xm migrate --live fails"! solution: after I reinstalled the second host (receiver) everything worked ok. I dont know what happened since I install my xen hosts by bash script, so every host in my environment should be the same to avoid unconsents result while trace and error. all commands - xm/xl migrate - xm/xl save - xm/xl restore as well as remus does work again perfectly, inclusive disk replication. thanks a lost for your help and time! walter. -----Original Message----- From: Nathan March [mailto:nathan@gt.net] Sent: Donnerstag, 28. Juli 2011 03:41 To: Pasi Kärkkäinen Cc: Walter Robert Ditzler; xen-devel@lists.xensource.com Subject: Re: [Xen-devel] xm migrate --live fails On 7/27/2011 5:45 PM, Pasi Kärkkäinen wrote:> On Wed, Jul 27, 2011 at 09:38:16PM +0200, Walter Robert Ditzler wrote: >> pasi, >> >> sory for the email before, save/restore works! I mistyped safe >> instead of save, been already a long day :-) >> > > Ok, so save/restore works, but live migration doesn''t.. > > -- PasiHave you configured the relation server & hosts in /etc/xen/xend-config.sxp? (xend-relocation-server yes) (xend-relocation-hosts-allow ''^localhost$ ^localhost\\.localdomain$'') Check /var/log/xen/ as well for some extra info. Also, this is more suited for the xen-users mailing list :) - Nathan _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Shriram Rajagopalan
2011-Jul-28 14:26 UTC
[Xen-users] Re: [Xen-devel] xm migrate --live fails
xc: error: Error when writing to state file (4a) (errno 104) (104 Connection reset by peer): Internal error This is what bothers me. Any firewall rules or such? try to first telnet to the peer telnet <host> 8002 if you can telnet to that port, then please check the target host''s xend.log for any errors. On Wed, Jul 27, 2011 at 9:41 PM, Nathan March <nathan@gt.net> wrote:> On 7/27/2011 5:45 PM, Pasi Kärkkäinen wrote: > >> On Wed, Jul 27, 2011 at 09:38:16PM +0200, Walter Robert Ditzler wrote: >> >>> pasi, >>> >>> sory for the email before, save/restore works! I mistyped safe instead of >>> save, been already a long day :-) >>> >>> >> Ok, so save/restore works, but live migration doesn''t.. >> >> -- Pasi >> > > Have you configured the relation server & hosts in > /etc/xen/xend-config.sxp? > > (xend-relocation-server yes) > (xend-relocation-hosts-allow ''^localhost$ ^localhost\\.localdomain$'') > > Check /var/log/xen/ as well for some extra info. Also, this is more suited > for the xen-users mailing list :) > > - Nathan > > > ______________________________**_________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/**xen-devel<http://lists.xensource.com/xen-devel> >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Walter Robert Ditzler
2011-Aug-03 15:23 UTC
RE: [Xen-users] Re: [Xen-devel] xm migrate --live fails
to that issue i can still say: xm migrate works now, since I reinstalled my backup host, happened already 2nd time! xl migrate, never worked, it goes up to the end, 100%, then an error which says: *** root@srv-ldeb-xen001:/etc/xen# xl migrate --live server02 sync2 option `-'' not supported. option `l'' not supported. option `i'' not supported. option `v'' not supported. root@sync2''s password: migration target: Ready to receive domain. Saving to migration stream new xl format (info 0x0/0x0/804) Loading new save file incoming migration stream (new xl fmt info 0x0/0x0/804) Savefile contains xl domain config WARNING: ignoring "kernel" directive for HVM guest. Use "firmware_override" instead if you really want a non-default firmware WARNING: ignoring device_model directive. WARNING: Use "device_model_override" instead if you really want a non-default device_model xc: Saving memory: iter 0 (last sent 0 skipped 0): 1048576/1048576 100% xc: Saving memory: iter 1 (last sent 133120 skipped 0): 1048576/1048576 100% xc: Saving memory: iter 2 (last sent 0 skipped 0): 1048576/1048576 100% libxl: error: libxl_dom.c:604:libxl__domain_save_device_model: Unable to stat qemu save file migration sender: libxl_domain_suspend failed (rc=-3) xc: error: 0-length read: Internal error xc: error: read_exact_timed failed (read rc: 0, errno: 0): Internal error xc: error: Error reading QEMU signature (0 = Success): Internal error xc: error: error buffering image tail: Internal error libxl: error: libxl_dom.c:363:libxl__domain_restore_common: restoring domain: Resource temporarily unavailable libxl: error: libxl_create.c:483:do_domain_create: cannot (re-)build domain: -3 libxl: error: libxl.c:733:libxl_domain_destroy: non-existant domain 3 libxl: info: libxl_exec.c:125:libxl_report_child_exitstatus: migration target process [4462] exited with error status 253 Migration failed, resuming at sender. *** *** root@srv-ldeb-xen001:/etc/xen# xl list Name ID Mem VCPUs State Time(s) Domain-0 0 1024 4 r----- 12057.7 server01 1 2047 1 -b---- 358.3 server02 2 511 1 ---ss- 78.2 *** thanks walter From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Shriram Rajagopalan Sent: Donnerstag, 28. Juli 2011 16:26 To: Nathan March Cc: Walter Robert Ditzler; xen-users@lists.xensource.com; Pasi Kärkkäinen Subject: [Xen-users] Re: [Xen-devel] xm migrate --live fails xc: error: Error when writing to state file (4a) (errno 104) (104 Connection reset by peer): Internal error This is what bothers me. Any firewall rules or such? try to first telnet to the peer telnet <host> 8002 if you can telnet to that port, then please check the target host''s xend.log for any errors. On Wed, Jul 27, 2011 at 9:41 PM, Nathan March <nathan@gt.net> wrote: On 7/27/2011 5:45 PM, Pasi Kärkkäinen wrote: On Wed, Jul 27, 2011 at 09:38:16PM +0200, Walter Robert Ditzler wrote: pasi, sory for the email before, save/restore works! I mistyped safe instead of save, been already a long day :-) Ok, so save/restore works, but live migration doesn''t.. -- Pasi Have you configured the relation server & hosts in /etc/xen/xend-config.sxp? (xend-relocation-server yes) (xend-relocation-hosts-allow ''^localhost$ ^localhost\\.localdomain$'') Check /var/log/xen/ as well for some extra info. Also, this is more suited for the xen-users mailing list :) - Nathan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Shriram Rajagopalan
2011-Aug-03 23:34 UTC
Re: [Xen-users] Re: [Xen-devel] xm migrate --live fails
I am confused. Are you asking about "xl migrate --live" or "xm migrate --live" ? The email subject says "xm migrate --live fails" and you state> > xm migrate works now, since I reinstalled my backup host, happened already > 2nd time! > > great!. so that solves your problem. :)> > > xl migrate, never worked, it goes up to the end, 100%, then an error which > says: > > This i have no idea about.> > > *** > > root@srv-ldeb-xen001:/etc/xen# xl migrate --live server02 sync2 > > option `-'' not supported. > > option `l'' not supported. > > option `i'' not supported. > > option `v'' not supported. > > root@sync2''s password: > > migration target: Ready to receive domain. > > Saving to migration stream new xl format (info 0x0/0x0/804) > > Loading new save file incoming migration stream (new xl fmt info > 0x0/0x0/804) > > Savefile contains xl domain config > > WARNING: ignoring "kernel" directive for HVM guest. Use "firmware_override" > instead if you really want a non-default firmware > > WARNING: ignoring device_model directive. > > WARNING: Use "device_model_override" instead if you really want a > non-default device_model > > xc: Saving memory: iter 0 (last sent 0 skipped 0): 1048576/1048576 100% > > xc: Saving memory: iter 1 (last sent 133120 skipped 0): 1048576/1048576 > 100% > > xc: Saving memory: iter 2 (last sent 0 skipped 0): 1048576/1048576 100% > > libxl: error: libxl_dom.c:604:libxl__domain_save_device_model: Unable to > stat qemu save file > > > > migration sender: libxl_domain_suspend failed (rc=-3) > > xc: error: 0-length read: Internal error > > xc: error: read_exact_timed failed (read rc: 0, errno: 0): Internal error > > xc: error: Error reading QEMU signature (0 = Success): Internal error > > xc: error: error buffering image tail: Internal error > > libxl: error: libxl_dom.c:363:libxl__domain_restore_common: restoring > domain: Resource temporarily unavailable > > libxl: error: libxl_create.c:483:do_domain_create: cannot (re-)build > domain: -3 > > libxl: error: libxl.c:733:libxl_domain_destroy: non-existant domain 3 > > libxl: info: libxl_exec.c:125:libxl_report_child_exitstatus: migration > target process [4462] exited with error status 253 > > Migration failed, resuming at sender. > > *** > > > > *** > > root@srv-ldeb-xen001:/etc/xen# xl list > > Name ID Mem VCPUs State > Time(s) > > Domain-0 0 1024 4 r----- > 12057.7 > > server01 1 2047 1 -b---- > 358.3 > > server02 2 511 1 ---ss- > 78.2 > > *** > > > > > > thanks walter > > > > *From:* xen-users-bounces@lists.xensource.com [mailto: > xen-users-bounces@lists.xensource.com] *On Behalf Of *Shriram Rajagopalan > *Sent:* Donnerstag, 28. Juli 2011 16:26 > *To:* Nathan March > *Cc:* Walter Robert Ditzler; xen-users@lists.xensource.com; Pasi > Kärkkäinen > *Subject:* [Xen-users] Re: [Xen-devel] xm migrate --live fails > > > > > xc: error: Error when writing to state file (4a) (errno 104) (104 > Connection reset by peer): Internal error > > This is what bothers me. Any firewall rules or such? > try to first telnet to the peer > telnet <host> 8002 > if you can telnet to that port, then please check the target host''s > xend.log > for any errors. > > On Wed, Jul 27, 2011 at 9:41 PM, Nathan March <nathan@gt.net> wrote: > > On 7/27/2011 5:45 PM, Pasi Kärkkäinen wrote: > > On Wed, Jul 27, 2011 at 09:38:16PM +0200, Walter Robert Ditzler wrote: > > pasi, > > sory for the email before, save/restore works! I mistyped safe instead of > save, been already a long day :-) > > > Ok, so save/restore works, but live migration doesn''t.. > > -- Pasi > > > > Have you configured the relation server & hosts in > /etc/xen/xend-config.sxp? > > (xend-relocation-server yes) > (xend-relocation-hosts-allow ''^localhost$ ^localhost\\.localdomain$'') > > Check /var/log/xen/ as well for some extra info. Also, this is more suited > for the xen-users mailing list :) > > - Nathan > > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel > > >to that issue i can still say: _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
sorry bad forwarding - ofcourse with xl --live migrate! thanks walter On 4 Aug 2011, at 01:34, Shriram Rajagopalan <rshriram@gmail.com> wrote:> I am confused. Are you asking about "xl migrate --live" or "xm migrate --live" ? > The email subject says "xm migrate --live fails" and you state > > > > xm migrate works now, since I reinstalled my backup host, happened already 2nd time! > > > great!. so that solves your problem. :) > > > > xl migrate, never worked, it goes up to the end, 100%, then an error which says: > > > This i have no idea about. > > > *** > > root@srv-ldeb-xen001:/etc/xen# xl migrate --live server02 sync2 > > option `-'' not supported. > > option `l'' not supported. > > option `i'' not supported. > > option `v'' not supported. > > root@sync2''s password: > > migration target: Ready to receive domain. > > Saving to migration stream new xl format (info 0x0/0x0/804) > > Loading new save file incoming migration stream (new xl fmt info 0x0/0x0/804) > > Savefile contains xl domain config > > WARNING: ignoring "kernel" directive for HVM guest. Use "firmware_override" instead if you really want a non-default firmware > > WARNING: ignoring device_model directive. > > WARNING: Use "device_model_override" instead if you really want a non-default device_model > > xc: Saving memory: iter 0 (last sent 0 skipped 0): 1048576/1048576 100% > > xc: Saving memory: iter 1 (last sent 133120 skipped 0): 1048576/1048576 100% > > xc: Saving memory: iter 2 (last sent 0 skipped 0): 1048576/1048576 100% > > libxl: error: libxl_dom.c:604:libxl__domain_save_device_model: Unable to stat qemu save file > > > > migration sender: libxl_domain_suspend failed (rc=-3) > > xc: error: 0-length read: Internal error > > xc: error: read_exact_timed failed (read rc: 0, errno: 0): Internal error > > xc: error: Error reading QEMU signature (0 = Success): Internal error > > xc: error: error buffering image tail: Internal error > > libxl: error: libxl_dom.c:363:libxl__domain_restore_common: restoring domain: Resource temporarily unavailable > > libxl: error: libxl_create.c:483:do_domain_create: cannot (re-)build domain: -3 > > libxl: error: libxl.c:733:libxl_domain_destroy: non-existant domain 3 > > libxl: info: libxl_exec.c:125:libxl_report_child_exitstatus: migration target process [4462] exited with error status 253 > > Migration failed, resuming at sender. > > *** > > > > *** > > root@srv-ldeb-xen001:/etc/xen# xl list > > Name ID Mem VCPUs State Time(s) > > Domain-0 0 1024 4 r----- 12057.7 > > server01 1 2047 1 -b---- 358.3 > > server02 2 511 1 ---ss- 78.2 > > *** > > > > > > thanks walter > > > > From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Shriram Rajagopalan > Sent: Donnerstag, 28. Juli 2011 16:26 > To: Nathan March > Cc: Walter Robert Ditzler; xen-users@lists.xensource.com; Pasi Kärkkäinen > Subject: [Xen-users] Re: [Xen-devel] xm migrate --live fails > > > > > xc: error: Error when writing to state file (4a) (errno 104) (104 > Connection reset by peer): Internal error > > This is what bothers me. Any firewall rules or such? > try to first telnet to the peer > telnet <host> 8002 > if you can telnet to that port, then please check the target host''s xend.log > for any errors. > > On Wed, Jul 27, 2011 at 9:41 PM, Nathan March <nathan@gt.net> wrote: > > On 7/27/2011 5:45 PM, Pasi Kärkkäinen wrote: > > On Wed, Jul 27, 2011 at 09:38:16PM +0200, Walter Robert Ditzler wrote: > > pasi, > > sory for the email before, save/restore works! I mistyped safe instead of > save, been already a long day :-) > > > Ok, so save/restore works, but live migration doesn''t.. > > -- Pasi > > > > Have you configured the relation server & hosts in /etc/xen/xend-config.sxp? > > (xend-relocation-server yes) > (xend-relocation-hosts-allow ''^localhost$ ^localhost\\.localdomain$'') > > Check /var/log/xen/ as well for some extra info. Also, this is more suited for the xen-users mailing list :) > > - Nathan > > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel > > > > to that issue i can still say: >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users