[Xen-users] Simple high-availability Apache project

Daniel Kao
Tue, 02 Dec 2008 23:41:54 -0000

Hi all,

I''m looking for recommendations on a best-practices way on implementing
the following.  Here''s the background:

I have two Dell PowerEdge 1950 III''s that are running CentOS 5.2 x86_64
running Xen 3.2.2.  I would like to run a small PV domU of CentOS 5.2
x86_64 where the sole-purpose is just to serve static HTML files via
Apache.  I would like to set up Xen on both machines where as if the
"primary" VM is taken off-line (i.e. either explicitly or crashes),
that
the VM is brought up on-line almost instantaneous on the second
PowerEdge to take over serving the static HTML files.

I would like to have the file-systems sync''ed between both
VM''s but I''m
not sure if I have the hardware capable of doing so, but it''s not
exactly a mission critical requirement since the files are just static
HTML files (i.e. I could setup both VM''s separately and just do a
snapshot of the VM and put it on the other).  I just would like the
second VM to take over the IP address of the failed VM and continue
rocking until the primary VM comes back up.

Anyone have any ideas of the best way to accomplish this?  Thanks in
advance!

Cheers,
Daniel

--
Daniel Kao
Übermind, Inc.
Seattle, WA, U.S.A.