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 iscsi and xen setup

To: "Mark Adams" <mark@xxxxxxxxxxxxxxxxxx>, <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] high availability iscsi and xen setup
From: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
Date: Fri, 5 Nov 2010 10:09:12 +1100
Cc:
Delivery-date: Thu, 04 Nov 2010 16:10:39 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20101104125830.GA15851@xxxxxxxxxxxxxxxxxx>
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: <20101104125830.GA15851@xxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Act8IGiSpdTV/mIDRG65sdz8+6F9UgAUQ+Tg
Thread-topic: [Xen-users] high availability iscsi and xen setup
> Hi All,
> 
> I'm thinking about the best way to set this up, and would greatly
> appreciate your learned opinions on it. I'm thinking of the following:
> 
> - 2 Storage servers, running LVM, heartbeat, drbd (primary/standy) and
iscsi.
>   This will protect against 1 storage server failing.
> - 2 Xen hosts, running heartbeat to ensure the domU's are available.
If
>   not, migrate all hosts on to other xen host. This will protect
against
>   1 xen host failure.
> 
> Any opinions on this arrangement of setup or links to resources
> discussing it would be much appreciated. Also any alternative ways to
> provide the same HA would be useful for comparison.

That's the way I'd do it, subject to some performance testing.

> 
> - Any Pitfalls?
> 
> - Gaps in the availability? (split-brain possibilities?)
> 

I'd have 3 networks:

1. drbd network. 2 gigabit (or 1 10G) ports bonded on each storage
server connected directly to the other - no switch.
2. storage network. 2 gigabit (or 1 10G) ports bonded on each xen server
and storage server, connected into a switch with some decent HA features
(redundant PSU's probably), or stacked switches.
3. regular networks for normal DomU traffic

So the DRBD servers would need 4 gigabit ports, bonded in pairs.

I assume from what you specified that you are running 2 completely
separate instances of HA - one to manage DRBD and iSCSI failover and the
other to manage Xen.

Split brain problems are the worst problems you'll face. If storage
server #1 goes down at 9pm (power failure and this machine is on a
circuit with a dud UPS) and everything fails over to #2, then everything
goes down at 10pm (someone forgot to fill up the generators or the UPS
runs out of battery or something), power comes back at 11pm but #2 fails
to boot and everything starts using storage server #1 which is out of
date. You'd have to be having a really bad day for that to happen
though. 

James

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