On Thu, 2008-10-23 at 13:24 -0600, Landon Cox wrote:

> > Do you really have
> > an application where you can't even afford a few seconds down time at
> > failover?
> 
> No.   Anything sub-60 seconds would be tolerated.

In that case, I really think it will be easier to set up DRBD. That way
you can automatically replicate anything: web content, apache config
files, databases, etc. by just creating the appropriate symlinks into
the shared partition. Just be certain you never put anything in the
shared partition that is needed at boot time or when the machine is not
in primary mode (an obvious and particularly stupid example of this
would be /etc/passwd).

> Controlling the order so IPAddr2 fires and finishes synchronously  
> before starting apache or postgres, for example, is feasible,  
> correct? 

Yes. I personally have never used the xml-style configuration or the
hb_gui, so I can't tell you exactly how you would do this. But in a
v1-style haresources file, you specify the order in which resources are
started, and you always have the IPaddr2 resources first, followed by
drbddisk and Filesystem, and finally your service daemons last.

--Greg


_______________________________________________
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