On Wednesday 11 March 2009 2:50 pm, you wrote:
> Yes, you should be able to see the web page.
>
> The first thing you want to do is make sure that httpd is configured
> properly without HA. HA just handles the starting and stopping.
>
> With the cluster completely down, start httpd on one of the nodes and
> make sure httpd works and that you can view the page using that node's
> IP address. That done, stop httpd and do the same on the other node.
>
> Now with HA running you should be able to hit the site via the shared
> IP address resource. You should be able to hit refresh and see the
> message on the site change when the resources move from node to node.
>
> On Wed, Mar 11, 2009 at 1:27 PM, Dimitri Yioulos <[email protected]> 
wrote:
> > Hi, Ben.
> >
> > Thanks for the great how-to.  Based on your input, and Brian's, I think
> > I've got this working, insofar as I can see the failover taking place in
> > the gui. But, being somewhat dense, though, I'm not sure how it should
> > work.  Let me explain further:
> >
> > I have apache running on both nodes,  If one node goes down, should I
> > still be able to see it's Web pages?  How would I get at them?  For test
> > purposes, I created a simple html file on each server saying "Test page
> > on node 1" and "test page on node 2".  If I put node 1 on standby, how do
> > I see its Web page?  Or am I completely not getting what HA is all about?
> >
> > Thanks for your patience with me.
> >
> > Dimitri

Ben,

I did as you said, turning off apache on both nodes 1 and 2.  When I put node 
1 on standby, HA turned on httpd on node 2.  When I brought it out of 
standby, HA turned on httpd on node 1, and turned it off on node 2.  So, 
success!  Thank you very much!

OK, I think the lightbulb just got switched on.  The Web sites on nodes 1 and 
2 should be exactly alike.  If node 1 goes down, then node 2 kicks in, 
delivering the exact same content.  Right?  Doh!  (I'm going to ask for my 
college tuition money back :-) ).

If I might press on, how would that work with a database (take any; we use 
sybase running on Linux here).  If the database on the "back up" server/node 
2 is off, to be powered on if the database on the node 1 is unavailable, how 
is data replicated between the two?  I hope it's OK to ask this.

Dimitri

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to