[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: J Nb <j_nwb@xxxxxxxxx>
  • Date: Tue, 12 Jan 2010 17:44:18 -0800 (PST)
  • Delivery-date: Tue, 12 Jan 2010 17:45:00 -0800
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=TXNOWgkMstUE2De9NvLnPzA08bwkRqZvH5NMGC9Ugg9j9aCg6ExfzhFNecQWFDfAOy/9tCtWLxh9AHYKcatZEPcFHVVE3g9jlQGppC5B6vKQBBPNiyRHz+czqzoScZ/HyVmh1UImMufKdG7E17a2P/Ek1+Zu9pp9WtgJEtsgvI8=;
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Anyone ?

-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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.