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] VM Migration on Kemari

To: Xen Users <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] VM Migration on Kemari
From: Chupriyanov Eugene <e.chupriyanov@xxxxxx>
Date: Tue, 08 Sep 2009 17:58:18 +0400
Delivery-date: Tue, 08 Sep 2009 06:59:11 -0700
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>
Reply-to: e.chupriyanov@xxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.23 (Windows/20090812)
Hi,

I'm triyng to build/install Kemari on CentOS 5.3 x86_64. I have followed instruction found here http://www.osrg.net/kemari/usage.html

I have successfully build and installed Xen and Kernel. Now I'm trying migration of HVM guest running CentOS 5.3 i386. Inside the guest OS I've compiled and installed PV drivers from Kemari source tree. So far so good.

Usual Xen live-migration is working properly too. But when I try to use Kemari migration I receive following error:
[root@kemari02 python]# xm migrate test2 kemari01 -k
Error: /usr/lib64/xen/bin/xc_kemari_save 5 4 0 0 4 failed
Usage: xm migrate <Domain> <Host>

And here is what I see in the log:
[2009-09-08 17:33:34 3377] DEBUG (XendCheckpoint:136) [xc_save]: /usr/lib64/xen/bin/xc_kemari_save 5 4 0
0 4
[2009-09-08 17:33:34 3377] DEBUG (XendCheckpoint:141) [xc_save]: /usr/lib64/xen/bin/xc_kemari_save 5 4 0
0 4
[2009-09-08 17:33:34 3377] INFO (XendCheckpoint:466) xc_kemari_control: cmd=1 [2009-09-08 17:33:34 3377] INFO (XendCheckpoint:466) kemari_port=8, kemari_mfn=880616, kemari_ring_size=8 [2009-09-08 17:33:34 3377] INFO (XendCheckpoint:466) xc_kemari_save: shared_info_frame: 991232 [2009-09-08 17:33:34 3377] INFO (XendCheckpoint:466) xc_kemari_save: p2m_size: 991235 [2009-09-08 17:33:34 3377] INFO (XendCheckpoint:466) kemari_restore: magic_pfns 0: 131070, 1: 131068, 2:
131069
[2009-09-08 17:33:41 3377] INFO (XendCheckpoint:466) kemari_restore: callback irq 100000000001800Saving m
emory pages: iter 1  79%shared_info_frame or grant: 991232
[2009-09-08 17:33:41 3377] INFO (XendCheckpoint:466) shared_info_frame or grant: 991233 [2009-09-08 17:33:41 3377] INFO (XendCheckpoint:466) shared_info_frame or grant: 991234 [2009-09-08 17:33:42 3377] INFO (XendCheckpoint:466) 1: sent 458723, skipped 0, delta 7751ms, dom0 38%, t
arget 0%, sent 1939Mb/s, dirtied 0Mb/s 0 pages
[2009-09-08 17:33:42 3377] INFO (XendCheckpoint:466) Total pages sent= 458723 (0.46x) [2009-09-08 17:33:42 3377] INFO (XendCheckpoint:466) (of which 0 were fixups)
[2009-09-08 17:33:42 3377] INFO (XendCheckpoint:466) All memory is saved
[2009-09-08 17:33:42 3377] INFO (XendCheckpoint:466) status received: 0
[2009-09-08 17:33:42 3377] INFO (XendCheckpoint:466) Save exit rc=0
[2009-09-08 17:33:42 3377] INFO (XendCheckpoint:466) xc_kemari_control: cmd=4
[2009-09-08 17:33:42 3377] INFO (XendCheckpoint:466) blk_port 1 attached
[2009-09-08 17:33:42 3377] INFO (XendCheckpoint:466) xc_kemari_control: cmd=4
[2009-09-08 17:33:42 3377] INFO (XendCheckpoint:466) blk_port 5 attached
[2009-09-08 17:33:42 3377] INFO (XendCheckpoint:466) xc_kemari_control: cmd=4
[2009-09-08 17:33:42 3377] INFO (XendCheckpoint:466) net_port 7 attached
[2009-09-08 17:33:42 3377] INFO (XendCheckpoint:466) running startERROR Internal error: Sorry, reached MA
X_BATCH_SIZE.  We will fix this lator.
[2009-09-08 17:33:42 3377] INFO (XendCheckpoint:466) ERROR Internal error: xc_kemari_update failed [2009-09-08 17:33:42 3377] INFO (XendCheckpoint:466) ERROR Internal error: Error when handling events [2009-09-08 17:33:42 3377] INFO (XendCheckpoint:466) xc_kemari_control: cmd=2 [2009-09-08 17:33:42 3377] INFO (XendCheckpoint:466) successufully execute KEMARI_OP_off [2009-09-08 17:33:42 3377] ERROR (XendCheckpoint:195) Save failed on domain test2 (4) - resuming.
Traceback (most recent call last):
 File "/usr/lib64/python2.4/xen/xend/XendCheckpoint.py", line 163, in save
   forkHelper(cmd, fd, saveInputHandler, False)
File "/usr/lib64/python2.4/xen/xend/XendCheckpoint.py", line 454, in forkHelper
   raise XendError("%s failed" % string.join(cmd))
XendError: /usr/lib64/xen/bin/xc_kemari_save 5 4 0 0 4 failed
[2009-09-08 17:33:42 3377] DEBUG (XendDomainInfo:2476) XendDomainInfo.resumeDomain(4)

So what can be done to make it working? Is it better to use Kemari/kernel from Mercurial repository at xenbits?

And in general what is current Kemari project status?

Thanks,
Eugene

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] VM Migration on Kemari, Chupriyanov Eugene <=