Heartbeat not starting scripts
Kieran Fleming <[email protected]>
| Newsgroups | gmane.linux.highavailability.ultramonkey |
|---|---|
| Message-ID | <[email protected]> |
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.
Thanks,
Kieran Fleming
--
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.