Hi Les,
Currently, there is no database or filesystem on the active system that needs 
to be sync'ed.  Apache currently just serves up static pages.  It's too early 
in our POC for something fancy.

Bernie

-----Original Message-----
From: linux-ha-boun...@lists.linux-ha.org 
[mailto:linux-ha-boun...@lists.linux-ha.org] On Behalf Of Les Mikesell
Sent: Friday, May 29, 2009 11:25 AM
To: General Linux-HA mailing list
Subject: Re: [Linux-HA] How to setup a 2 node active/passive apache2 cluster 
for Proof of Concept

Dimitri Maziuk wrote:
> Bernie Wu wrote:
>> The company I work for wants us to start investigating HA.
>> My first POC setup was a 2 node cluster with a floating IP and that worked 
>> out quite well.
>> Now the second POC was to work with an application, in this case, apache2 in 
>> a active/passive configuration.
>> My question is this.  Do I need to setup a third node to serve as the quorum 
>> node or can I work with 2 nodes.
>
> If your setup is v1-style active/passive, all you need to do is add
> httpd to haresources line (and make sure it's not started by init).
> That's for proof of concept. IRL you may want to throw in at least mon,
> possibly stonith -- although I haven't seen a split brain problem in my
> setup (but then again, mine usually fail over when I upgrade the kernel).

Apache typically won't do anything until a request hits it, which won't
happen on the machine that doesn't have the floating IP, so it isn't
likely to have a split-brain issue and doesn't even matter if it is
running all the time on the passive machine.  However, you need to think
about any state information that is updated/maintained on the active
system.  Is there a backend database or anything written to the
filesystem that has to be kept in sync?

--
   Les Mikesell
    lesmikes...@gmail.com


_______________________________________________
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

The information contained in this e-mail message is intended only for the 
personal and confidential use of the recipient(s) named above. This message may 
be an attorney-client communication and/or work product and as such is 
privileged and confidential. If the reader of this message is not the intended 
recipient or an agent responsible for delivering it to the intended recipient, 
you are hereby notified that you have received this document in error and that 
any review, dissemination, distribution, or copying of this message is strictly 
prohibited. If you have received this communication in error, please notify us 
immediately by e-mail, and delete the original message.
_______________________________________________
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to