On 2008-12-01T14:47:44, Dominik Klein <[EMAIL PROTECTED]> wrote:
> As the RA checks the content of the pidfile, which was deleted by the
> heartbeat start, the cluster thinks pingd is not running. When the cluster
> is re-enabled, it starts another pingd.
>
> I figured there was some point to remove $HA_RSCTMP during heartbeat start,
> so the patch changes the default path for the pid file.
No, this point doesn't hold.
The heartbeat script shouldn't delete it as such; there is a point to
it, namely cleaning out stale data on system boot, but we may in fact be
better off leaving this to the system startup scripts (and not remove
those files there); we have to deal with them becoming stale at runtime
(due to potential crashes etc) anyway.
Regards,
Lars
--
Teamlead Kernel, SuSE Labs, Research and Development
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
"Experience is the name everyone gives to their mistakes." -- Oscar Wilde
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/