On Oct 23, 2008, at 2:14 PM, Greg Woods wrote:

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.

I've got it failing over now with the IPAddr2 takeover always running first and I changed the apache ports.conf directive to:

Listen 192.168.0.10:80

where 192.168.0.10 is the IPAddr2 virtual IP for nic eth0:0. It seems to be smoothly failing over - was able to telnet to port 80 on 192.168.0.10 immediately after apache started up. Had no apache startup problems in my tests so far.

In the hb_gui, under Resources->mygroup I have the order specified there with the top item being the IPAddr2 resource. As an FYI - in hb_gui, under the Nodes view, the order doesn't reflect the true order. It doesn't seem like the list order under Nodes is signficant.

The cib.xml reflects the proper order of primitives from top to bottom within the resources->group tag, so I think I understand that now.

Thanks,

Landon
_______________________________________________
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