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] High availability and live migration with just LVMand h

To: John Madden <jmadden@xxxxxxxxxxx>
Subject: Re: [Xen-users] High availability and live migration with just LVMand hardware fencing
From: Bart Coninckx <bart.coninckx@xxxxxxxxxx>
Date: Sat, 22 May 2010 10:30:34 +0200
Cc: Jeff Sturm <jeff.sturm@xxxxxxxxxx>, "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>, Javier Guerra Giraldez <javier@xxxxxxxxxxx>
Delivery-date: Sat, 22 May 2010 01:30:37 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4BF68B66.5000208@xxxxxxxxxxx>
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: <201005191146.18169.bart.coninckx@xxxxxxxxxx> <1274409315.12180.5.camel@Nokia-N900-42-11> <4BF68B66.5000208@xxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.12.4 (Linux/2.6.31.12-0.2-desktop; KDE/4.3.5; x86_64; ; )
On Friday 21 May 2010 15:32:22 John Madden wrote:
> >  > What's wrong with backing up from the clients?
> >
> > You mean the guests? Well, it could be they get corrupted while for
> > instance failing over because a xen host dies. Quickest restore path is
> > then a snapshot restore and then a guest data restore.
> 
> If you're doing guest data restore once the guest is up, why bother with
> snapshots at all?  (In other words, you can deploy VMs all day from a
> vanilla install process and then restore data, so snapshots don't really
> buy you anything.)

John,

Basically to safe time. Your reasoning makes sense for Linux systems where 
restore is just a copy of files, but for Windows HVM guests the restore 
process could be really lon because of installation of individual programs, 
settings, mailboxes etc. 

> > Wait a sec, so i still would have no snapshots? How is this achieved
> > then with hvm guests?
> 
> Correct.  I don't know how anyone accomplishes this or thinks that they
> do, none of it adds up as far as I'm concerned.  If you want consistent
> backups, they have to happen either FROM the client or somehow in
> concert with it.
> 
> You wouldn't run fsck on a mounted filesystem, would you?  Or assume
> that a 'dd if=/dev/sda' backup would be consistent while you were
> writing data to the disk, right?  Well, taking snapshots "from the san"
> or "from dom0" without "letting the client know" is the same thing.

Well, maybe I'm a bit influenced by my Vmware past, where it is possible to 
put a Windows guest in a suspended state, having it flushed all data to disk 
and remaining in a frozen state, where it is possbile to then take a quick LVM 
snaphost, start the guest again and copy the LVM snapshot for possible future 
restore. I guess I am looking for the same thing with Xen. But it would 
require something like passing a ACPI suspend command to the guest; I believe 
Vmware does this, either by using Vmware tools, either by sending the ACPI 
command.

> > Do they need to be stopped for backups? Live migration still works,
> > right? (Provided i have clvm)
> 
> LVM+cLVM is only one way to accomplish live migration.  You can also do
> it with disk images stored on NFS or a clustered filesystem like OCFS2,
> for example.  I happen to like LVM+cLVM because I prefer the nature and
> performance advantage of phy: disk assignment.

I recently read that Suse changed the Xen scripts to be able to use an iSCSI 
target directly as vdb in the Xen config file, allowing live migration without 
cLVM. One user reported that this worked without problems for him. What are 
your thoughts about that?

Cheers,


Bart

> John
> 

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

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