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

Re: [Xen-users] Fw: coordinating VM snapshot with LVM snapshot.

To: J Nb <j_nwb@xxxxxxxxx>
Subject: Re: [Xen-users] Fw: coordinating VM snapshot with LVM snapshot.
From: Pasi Kärkkäinen <pasik@xxxxxx>
Date: Wed, 13 Jan 2010 09:11:47 +0200
Cc: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 12 Jan 2010 23:12:51 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <67248.34945.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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>
References: <67248.34945.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.13 (2006-08-11)
On Tue, Jan 12, 2010 at 05:44:18PM -0800, J Nb wrote:
> Anyone ?
> 

Now that XenServer is opensourced as XCP (Xen Cloud Platform), you could
take a look at the source.. 

I believe XenServer supports Windows VSS coordination for snapshots.
"xe vm-snapshot-with-quiesce"

-- Pasi

> -nb
> 
> --- On Sun, 1/3/10, J Nb <j_nwb@xxxxxxxxx> wrote:
> 
> > From: J Nb <j_nwb@xxxxxxxxx>
> > Subject: coordinating VM snapshot with LVM snapshot.
> > To: xen-devel@xxxxxxxxxxxxxxxxxxx
> > Date: Sunday, January 3, 2010, 6:17 PM
> > Hi
> >    How to co-ordinate VM snapshots and disk
> > snapshots ? Here is a sequence I am thinking of
> > automating...
> > 
> >   1.Tell VM to sync (say via ssh or some special
> > agent)
> >      * This will do "sync" and any
> > application specific hook to make it quiescent.
> > 
> >   2. Tell VM/Hypervisor to flush all disk buferes
> > ?  (HOW ??? )
> >      * Anything at this level?
> > 
> >   3. Pause the VM
> > 
> >   4. xm save -c (To save the VMs state in to
> > checkpoint file.)
> >       (This may take more time !)
> > 
> >   5. Take LVM snapshot for each disk. 
> > 
> >   6. Unpause the VM
> > 
> >   7. Application level resume if any.
> >   
> >   7. Use the snapshot to copy each disks ?!!!! (either
> > dd or mount followed by cp/rsync)  (This can be big!
> > Any optimization suggestions )   
> > 
> >   8. discard snapshot.
> > 
> > 
> > Would the above sequence work ? 
> > 
> > Any suggestions on individual steps ?
> > 
> > Anything specific for PV and HVM virtual machines?
> > 
> > Is there a backdoor to qemu-dm console ?
> > 
> > Does anyone know how similar functionality is implemented
> > in XenServer product or Virtual Iron or anyone else? 
> > 
> > -nb
> > 
> > 
> >       
> > 
> 
> 
> 
> 
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users

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