Re: Heartbeat not starting scripts
Horms <[email protected]>
| Newsgroups | gmane.linux.highavailability.ultramonkey |
|---|---|
| Message-ID | <[email protected]> |
In article <[email protected]> you wrote: > Hi everyone, > I'm having a problem getting heartbeat to start the required services > when it starts. The relevant section of my haresources file is: > node1 \ > ldirectord::ldirectord.cf \ > LVSSyncDaemonSwap::master \ > IPaddr2::192.168.1.210/24/eth0/192.168.1.255 > Running /etc/ha.d/heartbeat start I get: > > Starting High-Availability services: > ldirectord is stopped for /etc/ha.d/ldirectord.cf > Done. > > This seems to be running 'status' for ldirectord, but not 'start'. I > thought that the other scripts were not run because ldirectord didn't > start, but then I took out ldirectord and LVSSync to make IPaddr2 the > only script to start. With this setup, IPaddr2 did nothing. > > The only way I can get anything to work is by adding start to the end > of these commands, like so: > > node1 \ > ldirectord::ldirectord.cf::start \ > LVSSyncDaemonSwap::master::start \ > IPaddr2::192.168.1.210/24/eth0/192.168.1.255::start > > This works, but I'm sure you can imagine that this isn't great :) > > Does anyone have any ideas? I'm stumped, because it all seems like > standard UM to me. If you want to know anything else please ask me. Heartbeat does indeed run status to work out what is going on, and it should then run start later. It seems like it is getting confused for some reason, possibly due to a bug in LVSSyncDaemonSwap that was fixed a little while ago. Could you please try installing heartbeat 1.2.4.cvs.20050927-1bpo1 which is avilable from http://www.ultramonkey.org/download/3/debian.sarge/heartbeat/ I suspect that you have a slightly older version. Alternatively, try deleting LVSSyncDaemonSwap::master and see if that aleviates the staring problem. -- Horms -- Ultra Monkey - http://www.ultramonkey.org/ To UNSUBSCRIBE, email to [email protected], with a body: unsubscribe ultramonkey-users [email protected] where "[email protected]" is YOUR email address.