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-devel

[Xen-devel] Re: [xm save --checkpoint problem]

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Re: [xm save --checkpoint problem]
From: 박은병 <peb1611@xxxxxxxxx>
Date: Tue, 22 Jun 2010 21:08:33 +0900
Delivery-date: Tue, 22 Jun 2010 05:09:47 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=+Yv0KRx1sHUpYFNt+XhcV/91L0nIbphhLELDpOu7lt8=; b=m4pVxfRsKxpiKKeQLQoK+q2aE51uOXlfOMtn6PJ7WYJzWzhvN2XTkjW2rJwOE8Vyj3 CwuaJ7iJOs5lK4LkjflQeSXSPswvzrEC+9KBGvYiOfqW7kgLCg4rC02O9URglMsV0FpS D13y4Jjgufuvh2aajs7X0/qOdvKMHw8fTNuw8=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=iBthwvK+SwdYFRxJUxriwR72WGfafrxVrQsvX+ntsCKjWC1OZJ7Kk6WnWQIuJtftI3 nQeCS0SO0wgFmH1e3caifBvPixE/oQXBvl9ZrQgAtkcpoMZ9PJNF1P3GqtfhgQaiQqCN DlUELVR2O1l9CGIcaNcqcE4yrHk1UlPGedIWg=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTinIr23yxSHa6gpxtpMNo25VRH-OvMH0TJ6cgh5S@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <AANLkTinIr23yxSHa6gpxtpMNo25VRH-OvMH0TJ6cgh5S@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
This is soliloquy....since anyone do not answer..:)..

I have tested same environment except for HVM domU

In HVM domU guests, 'xm save --checkpoint' worked very well.

So, I think that this problem is PV domU's

I searched the xen mailing list, But, any answer could not be found.

Is there anyone who success the 'xm save --checkpoint' command ??

2010/6/22 박은병 <peb1611@xxxxxxxxx>
I posted 'xm save --checkpoint' problem in the past.

just snapshot with 'xm save' works well.

but live checkpoint 'xm save --checkpoint' command doesn't work well.
As you know, '-c' option means "leaving domain running after creating snapshot"

but after checkpointing, domU state is bad

xm console [domain] after checkpointing,

WARNING: g.e. still in use!
WARNING: g.e. still in use!
WARNING: g.e. still in use!
WARNING: g.e. still in use!

domU login prompt following this message appeared.
And, I try to login my guest domU, domU does not show any responses.

after destroy domU, I try to restore by snapshoted file and it seems to work well.

I have tested xen 3.4.2 with pvops 2.6.31.6,
and now, xen-unstable 4.1 with pvops 2.6.32.15 also have same problem
my disribution is ubuntu 9.10 karmic server

I snapshoted the guest disk image (lvm) by applying following scripts
http://lists.xensource.com/archives/html/xen-devel/2007-06/msg00732.html

my /var/log/xen/xend.log

[2010-06-22 02:33:06 3161] INFO (DevController:361) Calling external migration tool for step 1
[2010-06-22 02:33:07 3161] INFO (DevController:365) Calling VBD migration script: /root/xen/domainU/ubuntu1-0622023306 ubuntu1 1
[2010-06-22 02:33:07 3161] INFO (DevController:361) Calling external migration tool for step 1
[2010-06-22 02:33:07 3161] INFO (DevController:365) Error: Could not find script '/etc/xen/scripts/vif-migration.sh'
[2010-06-22 02:33:07 3161] DEBUG (XendCheckpoint:124) [xc_save]: /usr/lib/xen/bin/xc_save 37 8 0 0 0
[2010-06-22 02:33:07 3161] INFO (XendCheckpoint:408) xc_save: failed to get the suspend evtchn port
[2010-06-22 02:33:07 3161] INFO (XendCheckpoint:408)
[2010-06-22 02:33:07 3161] DEBUG (XendCheckpoint:379) suspend
[2010-06-22 02:33:07 3161] DEBUG (XendCheckpoint:127) In saveInputHandler suspend
[2010-06-22 02:33:07 3161] DEBUG (XendCheckpoint:129) Suspending 8 ...
[2010-06-22 02:33:07 3161] DEBUG (XendDomainInfo:521) XendDomainInfo.shutdown(suspend)
[2010-06-22 02:33:07 3161] DEBUG (XendDomainInfo:1877) XendDomainInfo.handleShutdownWatch
[2010-06-22 02:33:07 3161] DEBUG (XendDomainInfo:1877) XendDomainInfo.handleShutdownWatch
[2010-06-22 02:33:07 3161] INFO (XendDomainInfo:2074) Domain has shutdown: name=migrating-ubuntu1 id=8 reason=suspend.
[2010-06-22 02:33:07 3161] INFO (DevController:361) Calling external migration tool for step 2
[2010-06-22 02:33:08 3161] INFO (DevController:365) Calling VBD migration script: /root/xen/domainU/ubuntu1-0622023306 ubuntu1 2
[2010-06-22 02:33:08 3161] INFO (DevController:365) File descriptor 3 left open
[2010-06-22 02:33:08 3161] INFO (DevController:365) File descriptor 18 left open
[2010-06-22 02:33:08 3161] INFO (DevController:365) File descriptor 19 left open
[2010-06-22 02:33:08 3161] INFO (DevController:365) File descriptor 20 left open
[2010-06-22 02:33:08 3161] INFO (DevController:365) File descriptor 21 left open
[2010-06-22 02:33:08 3161] INFO (DevController:365) File descriptor 22 left open
[2010-06-22 02:33:08 3161] INFO (DevController:365) File descriptor 23 left open
[2010-06-22 02:33:08 3161] INFO (DevController:365) File descriptor 24 left open
[2010-06-22 02:33:08 3161] INFO (DevController:365) File descriptor 25 left open
[2010-06-22 02:33:08 3161] INFO (DevController:365) File descriptor 26 left open
[2010-06-22 02:33:08 3161] INFO (DevController:365) File descriptor 27 left open
[2010-06-22 02:33:08 3161] INFO (DevController:365) File descriptor 28 left open
[2010-06-22 02:33:08 3161] INFO (DevController:365) File descriptor 29 left open
[2010-06-22 02:33:08 3161] INFO (DevController:365) File descriptor 36 left open
[2010-06-22 02:33:08 3161] INFO (DevController:365) File descriptor 37 left open
[2010-06-22 02:33:08 3161] INFO (DevController:365) File descriptor 40 left open
[2010-06-22 02:33:08 3161] INFO (DevController:365) File descriptor 41 left open
[2010-06-22 02:33:08 3161] INFO (DevController:365) File descriptor 43 left open
[2010-06-22 02:33:08 3161] INFO (DevController:365)   Logical volume "ubuntu1-0622023306" created
[2010-06-22 02:33:08 3161] INFO (DevController:361) Calling external migration tool for step 2
[2010-06-22 02:33:08 3161] INFO (DevController:365) Error: Could not find script '/etc/xen/scripts/vif-migration.sh'
[2010-06-22 02:33:08 3161] INFO (XendCheckpoint:135) Domain 8 suspended.
[2010-06-22 02:33:08 3161] INFO (DevController:361) Calling external migration tool for step 3
[2010-06-22 02:33:08 3161] INFO (DevController:365) Calling VBD migration script: /root/xen/domainU/ubuntu1-0622023306 ubuntu1 3
[2010-06-22 02:33:08 3161] INFO (DevController:361) Calling external migration tool for step 3
[2010-06-22 02:33:09 3161] INFO (DevController:365) Error: Could not find script '/etc/xen/scripts/vif-migration.sh'
[2010-06-22 02:33:09 3161] DEBUG (XendCheckpoint:144) Written done
[2010-06-22 02:33:28 3161] DEBUG (XendDomainInfo:3131) XendDomainInfo.resumeDomain(8)
[2010-06-22 02:33:28 3161] DEBUG (XendDomainInfo:3172) XendDomainInfo.resumeDomain: completed

what is the problem??
'xm save --checkpoint' is works well to you??

--
Eunbyung Park



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