***
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@xxxxxxxxxxxxxxxxxxx [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Shriram Rajagopalan
Sent: Donnerstag, 28. Juli 2011 16:26
To: Nathan March
Cc: Walter Robert Ditzler; xen-users@xxxxxxxxxxxxxxxxxxx; 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@xxxxxx> 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