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

Re: [Xen-devel] xm save (but don't destroy)

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] xm save (but don't destroy)
From: Killian De Volder <killian.de.volder@xxxxxxxxxx>
Date: Tue, 12 Oct 2010 19:40:11 +0200
Delivery-date: Tue, 12 Oct 2010 10:41:15 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C8D9C1E7.25A5A%keir@xxxxxxx>
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: <C8D9C1E7.25A5A%keir@xxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20101010 Thunderbird/3.1.4
 But that won't leave the VM in pauzed state ...
As a result you cannot backup the disks ...

But I have been thinking ...
Would
    xm pauze
    backup/snapshot disk
    xen save -c
work ?

Or will this introduce unexpected problems ?

Greetings,
Killian
On 12/10/2010 07:32, "Killian De Volder"<killian.de.volder@xxxxxxxxxx>
wrote:

   Hello all,

I'm sure this has been asked before but I couldn't find a reference:
I desire to pauze/save the state of dom, backup/snapshot the disk and then
unpauze the domain.

This can be done with xm save, but this destroy the machine, effectively
doubling the required time to snapshot the machine.
(As you first have to save it to disk .... and then load it again ... With
machine with a couple gigabyes of RAM this can start to take a while.)

I did see xend/XendCheckpoint.py has some code in it that decides if it will
destroy or resume the machine ... This makes me thing that adding the option
"leave pauzed" isn't to hard ?
xm save -c

  -- Keir

Greeting and thanks in advance,
Killian



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


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



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

<Prev in Thread] Current Thread [Next in Thread>