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] Hot Copy file based VMs

To: Jan Kalcic <jandot@xxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Hot Copy file based VMs
From: Javier Guerra <javier@xxxxxxxxxxx>
Date: Wed, 18 Mar 2009 09:16:27 -0500
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 18 Mar 2009 07:17:06 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <49C0C1D9.4020505@xxxxxxxxx>
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: <49C0C1D9.4020505@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Wed, Mar 18, 2009 at 4:41 AM, Jan Kalcic <jandot@xxxxxxxxxxxxxx> wrote:
> As n subject, is there a safe way to "hot" copy the VMs based on files. The
> best is using LVM Snapshot, I guess, but what if I can't for other reason?

to be safe, it has to be an 'atomic' copy from the point of view of
the guest.  in fact, it has to be both atomic and synchronous with a
copy of the machine state.

if you don't copy the machine state, it will look like a 'pulled cord' shutdown.

and if the copy isn't atomic, it will look like a disk that passed a
period of erratic behavior, some writes would be performed, some
won't.



-- 
Javier

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