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] Failover

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Failover
From: Chris de Vidal <chris@xxxxxxxxxx>
Date: Sun, 14 Aug 2005 15:05:44 -0700 (PDT)
Delivery-date: Sun, 14 Aug 2005 22:04:35 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <018501c5a13e$e1773f20$0463a8c0@terwoord4>
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>
Reply-to: chris@xxxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
--- Matthijs ter Woord <matthijsterwoord@xxxxxxxxx> wrote:
> Is it possible to eliminate the possibility of a Xen host failure due to
> hardware failure (ie. failover clustering)?

I'm no Xen expert but from what I can tell you can't to high-availability with
the Xen kernel itself.

However, if you think about it, there is very little difference between domU
virtual machines and real machines.  You can easily do high-availability on
domU guests between two physical Xen hosts.  Run all of your services on domUs
and use something like UltraMonkey, regular LVS, Heartbeat, OpenSSI (assuming
it works with the domU kernel patches), or some other HA solution giving you
failover clustering.

The difference between this and a real cluster is only that Xen is running
below the virtual machines; very little is different.  They only add a thin
layer of separation.


So for example if your poison of choice is Heartbeat and you want to make
Apache highly available, you do this:
Apache1         Apache2
  |               |
  +---Heartbeat---+
  |               |
DomU1           DomU2
virtual         virtual
machine         machine
  |               |
Xen1            Xen2
kernel          kernel
  |               |
Node1           Node2
hardware        hardware

A real cluster would look like this:
Apache1         Apache2
  |               |
  +---Heartbeat---+
  |               |
Node1           Node2
hardware        hardware


Very little difference.

Hope that helps!

CD

You have to face a Holy God on Judgment Day. He sees lust as adultery (Matt. 
5:28) and hatred as murder (1 John 3:15). Will you be guilty? 

Jesus took your punishment on the cross, and rose again defeating death, to 
save you from Hell. Repent (Luke 13:5) and trust in Him today.

NeedGod.com

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

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