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] as promised description of my XEN HA setup

To: Bart Coninckx <bart.coninckx@xxxxxxxxxx>, Xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] as promised description of my XEN HA setup
From: Jonathan Tripathy <jonnyt@xxxxxxxxxxx>
Date: Sun, 04 Jul 2010 17:15:56 +0100
Cc:
Delivery-date: Sun, 04 Jul 2010 09:16:28 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <201007031258.50165.bart.coninckx@xxxxxxxxxx>
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: <201007031258.50165.bart.coninckx@xxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100423 Thunderbird/3.0.4

On 03/07/10 11:58, Bart Coninckx wrote:
Hi all,

In threads posted by I believe Jonathan Tripley I promised to post my new XEN
HA setup. Hope it can be of some use to some people.

In this particular case I'm forced to use SLES 10SP3 with XEN 3.2, which
excludes the possibility of using things like cLVM (which I don't think I need
anyway).

So:

Storage:
I use two HP ML370 G5 machines with DRBD and heartbeat on them. They are
linked by two Gigabit bonded NICs for syncing. They offer IET across two other
NICs with IPs in different segments. DRBD is on top of LVM and LVM is again on
top of DRBD to be able to create a LV for each DomU.

Network:
switches are HP Procurve 1810. Not the fastest switches, but also not the most
expensive ones. Will report later on if they can handle it all.

Hypervisors:
different machines, but for the moment all having 4 NICs. One NIC is for the
trusted LAN, two are used for iSCSI initiating. One for DomUs in the DMZ. I
use multipathing on top of the iSCSI paths for redundancy and supposedbly
extra speed (his hasn't been proven yet). The paths run over different
switches for redundancy.

DomUs:
Currently HVMs. Will have about 10 in the end. They use phy: devices pointing
to the multipath devices. config files are synced across the Hypervisors (no
network storage for avoiding SPOF).

HA:
(to do) Pacemaker will take care of monitoring DomUs and failing them over.

Backup:
It seems the only save way to backup DomUs is by shutting them down, so what I
do is make sure the storage servers can ssh to the Hypervisors with public key
auth. They will shut down the guests, create a snapshot volume of the relevant
LV for that particular machine (a script finds out where it is running), start
the guests again and dd the snapshot  to a file server over ssh. Next the
snapshot is deleted.


There you go, hope this can inspire people.  ;-)

B.




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

Hi Bart,

Thanks for this, I'm sure some of us will find tihs useful :)

Thanks

Jonathan

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