Re: Hearbeat problem
Horms <[email protected]>
| Newsgroups | gmane.linux.highavailability.ultramonkey |
|---|---|
| Message-ID | <[email protected]> |
Kerscaven Marc <[email protected]> wrote: > [-- text/plain, encoding quoted-printable, charset: iso-8859-1, 91 lines --] > > Hello, > > I've upgraded to heartbeat_1.2.3.cvs.20050927-1bpo1 and the server don't reboot, I can stop heartbeat, it's OK. > > I've an other question : what is the good command to reload ldirector.cf parameters (Weight for instance) ? > > When the server is fresh after a reboot my first "ldirectord reload" don't work, I must do a "ldirectord restart" first and the "ldirectord reload" is OK after : > > lvs1:~# /etc/init.d/ldirectord reload > Reloading ldirectord... failure > > lvs1:~# /etc/init.d/ldirectord restart > Restarting ldirectord... success > > lvs1:~# /etc/init.d/ldirectord reload > Reloading ldirectord... success > > lvs1:~# /etc/init.d/ldirectord reload > Reloading ldirectord... success > > We I do a : > /etc/init.d/heartbeat reload > the ldirector.cf is not reloaded. > > What is the good command to use to reload ldirector.cf on an Ultramonkey3 cluster ? > Is'it a bug for the first reload ? /etc/init.d/heartbeat reload should reload the heartbeat config (and not ldirectord). /etc/init.d/ldirectord reload should reload the ldirectord config (and not heartbeat). Sending the ldirectord process a HUP should also tell ldirectord to reload its config (thats what the init script does). If this isn't working, then its a bug. However, in the case of what you are doing above, perhaps ldirectord wasn't running in the first place. Of course after running /etc/init.d/ldirectord restart, so reload would work, as it does. Is ldirectord being run by heartbeat? That is, is it listed in your haresources file? If so, I suspect the other node was active at the time and thus ldirectord wasn't running. If it isn't running, you don't need to tell it to reload its config, as it will run with the new config if/when it is started by heartbeat. -- 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.