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] xen + drbd - live migration fails when rebooting domU

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] xen + drbd - live migration fails when rebooting domU
From: ubik pl <ubik.pl@xxxxxxxxx>
Date: Tue, 4 Oct 2011 13:10:23 +0200
Delivery-date: Tue, 04 Oct 2011 04:14:22 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=QIYafHPbmkv0Ll/I2JEyyBlv3Z4+aMgWRy4tjN3rtFc=; b=Cn/aIHzIfm/nJ1Dfh7hfHo68ODkfrN6MIfLLZa9YJloLLmikafCGe2BNXZuYZd09MS auOtW/Ori3tf48UyZRqj3LScYpYB3NUNpaWW3UybfwwDuma+awcnrC/OmRnqiDEg1tXK mz8KErcZ5R/434jIJ85rNMZb0QxoX7XGRCqv0=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hello,

Please CC me as I am not subscribed.

I'm testing xen + drbd cluster to use live migration.

I have 2 machines with Debian Squeeze 2.6.32-5-xen-amd64
xen 4.0.1-2, drbd 8.3.7
DomU is located on lvm volume(size 5GB) and is replicated with drbd.
Debian Squeeze amd64 without swap file.

Live migration works ok but there is one issue:

First reboot vm:
domU1:# reboot

then try to migrate:
ha1:#xm migrate domU1 ha2 --live

strace -p `pidof xc_save` show lots of this:

write(2, "type fail: page 1020 mfn 000a2f7"..., 34) = 34
write(2, "type fail: page 1021 mfn 000a2f7"..., 34) = 34
write(2, "type fail: page 1022 mfn 000a2f7"..., 34) = 34
write(2, "type fail: page 1023 mfn 000a2f7"..., 34) = 34
write(5, "\0\4\0\0", 4)                 = 4
write(5, 
"\0\0\0\360\0\0\0\0\0\0\0\360\0\0\0\0\0\0\0\360\0\0\0\0\0\0\0\360\0\0\0\0"...,
8192) = 8192
munmap(0x7f68159ee000, 4194304)         = 0
ioctl(3, SNDCTL_DSP_RESET, 0x7fff2870f0e0) = 0
mmap(NULL, 4194304, PROT_READ, MAP_SHARED, 3, 0) = 0x7f68159ee000
ioctl(3, SNDCTL_DSP_GETBLKSIZE, 0x7fff2870f0d0) = -1 EINVAL (Invalid argument)
ioctl(3, SNDCTL_DSP_STEREO, 0x7fff2870f0f0) = 0
ioctl(3, SNDCTL_DSP_RESET, 0x7fff2870f0f0) = 0
write(2, "type fail: page 0 mfn 000a2f79\n", 31) = 31
write(2, "type fail: page 1 mfn 000a2f78\n", 31) = 31
write(2, "type fail: page 2 mfn 000a2f77\n", 31) = 31

In the end migration fails with: Error: timed out

If "xm migrate domU1 ha2 --live" command is issued first and the vm is
rebooted,
live migration works as expected.

Am I missing something obvious or is it a bug ?

Regards,

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] xen + drbd - live migration fails when rebooting domU, ubik pl <=