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] Re: XEN Images Storage

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Re: XEN Images Storage
From: "Daniel Asplund" <danielsaori@xxxxxxxxx>
Date: Sun, 27 Jan 2008 11:22:42 +0100
Delivery-date: Sun, 27 Jan 2008 02:24:11 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=CzelnNjhw/q9Cs5agjJzkfO1XjUkpdMYsi2Q0b5eAf4=; b=Uh2Ycj+UyIS2ISVOZIsaJX+plHtr+2owslUSFfXF5ugqvHVGL0zBpa4YKRPf2sVPqagZ23z7UKQ3q8om9AqBbhGTy6BT3Co2uZxEzDzJJ2E0igJqxw8zaVNOEEQ28V+X9jw9cgEDxn78UEhyDLOg/hqLGKJ/RJmapEHzpMmc5ZM=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=uskFwPuLK4c5aKKSLBPFS9h5caPs1a/GYjWt/mUdFQOjyzBG4rapIoIwMUdfBfHxzxm7pVc9rjIHgD7qat0VfHOFUeLgc/J5Winq1QtDjOeXS1ZTT5sgoqYxL/pNqUTelA2wwIfmbHEUs44NHzFp3QBee/JbWMAoOYkXxHd3PS0=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <200801262122.05452.Klaus.Steinberger@xxxxxxxxxxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <E1JHhkN-0004fW-HD@host-192-168-0-1-bcn-london> <200801262122.05452.Klaus.Steinberger@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Have a look at using DRBD, Heartbeat and XEN with two physical machines.
That is the setup I'm currently testing and so far it works great. At
the moment I use old hardware(from the P3 era) with old discs and only
100Mbps NICs, but still a live migration of a DomU is hardly
noticeable.

I had a go first with the Redhat cluster suite, but it doesn't run
well with XEN and DRBD. I had to go back in versions to get it running
but then I lost important functionality.

With version 0.8 of DRBD there is support for XEN live migration. I
really like the way XEN takes care of the my DRBD resources, I have no
script for this, it is all up to XEN.

I then use Heartbeat to monitor the status of each host that will
automatically migrate DomUs to the other host if needed. Another
recommended thing is to use a STONITH device so Heartbeat can reset of
the other host in case of a failure, have not tried that yet.

Cheers, Daniel


>
> > I want to build on Open Source tools a high availabitiy server to store
> > my images, someone with suggestions? experiences plz. really aprreciate.
> >
> > Started to try Gluster but yesterday discussion pointed me very
> > important things.
>
> For Image storage you don't need a Cluster Filesystem. It even maybe a
> performance bottleneck, as any Clusterfilesystem will need write locking over
> the net.
>
> What you really need is some kind of shared storage. That could be
> Fibrechannel, Iscsi or (today not any more common) SCSI.
>
> The shared storage must have redundant paths to be really high availability.
> So that means: Redundant paths to the storage as well as redundant raid
> controllers. (For the FC example:  Dual HBA's, Dual FC Switch, Storage with
> Dual Controller). For the path discovery use dm-multipath.
>
> What I'm doing in the front:
>
> Three server (all with dual FC HBA) with Scientific Linux 5.1 (a RHEL clone
> like CentOS). The servers are members of a cluster (of course you need
> servers with a BMC and IPMI over Lan for the fencing).  On the clusternodes I
> run clvmd (Cluster Logical Volume Manager) and rgmanager (Resource Manager).
>
> The images are just Logical Volumes, they will not be mounted on the hosts.
> The cluster locking is only needed for the lvm commands, so its no
> bottleneck. Any node sees the same images, so on failover another node could
> immediately restart the failed domU.
>
> rgmanager handles nicely the failover of domU's.
>
> If it's enough availability when you're domU's are up again after a host
> failure after a few 10's of seconds, then that's it.

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

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