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. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Maresa Nirwan
2008-Dec-03 00:09 UTC
RE: [Xen-users] Simple high-availability Apache project
I''m not sure if this helps .. but Xen does have live migration. So, in case you need to do some hardware maintenance on PowerEdge1 where your primary VM run, you can live migrate it to PowerEdge2 and take down box PowerEdge1 ... In case of crash, there''s an option on config file to automatically restart on crash. MSN> Date: Tue, 2 Dec 2008 15:41:54 -0800 > From: dkao@ubermind.com > To: xen-users@lists.xensource.com > Subject: [Xen-users] Simple high-availability Apache project > > 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. > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Rainer Sokoll
2008-Dec-03 00:20 UTC
Re: [Xen-users] Simple high-availability Apache project
On Tue, Dec 02, 2008 at 03:41:54PM -0800, Daniel Kao wrote: Hi,> 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.That is what Linux-HA is made for.> I would like to have the file-systems sync''ed between both VM''sDRBD is your friend. In your case, I do not see the need for Xen. Rainer _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users