Mailing List Archive

[PATCH][heartbeat] skip unnecessary waiting for lrmd invocation when LRMD_MAX_CHILDREN is set
Hi,

The heartbeat init.d script waits for the lrmd invocation when
LRMD_MAX_CHILDREN is set and it does not return until initdead time is past
(or 40s timeout) unless you invoke all the nodes in the cluster at a same
time.

But this should not be necessary because the recent version of lrmd
(cluster-glue-1.0.10 or later) looks at the environment variable by itself.

The attached patch will improve so that the init.d script returns
immediately as usual even if the variable is set.

Regards,
--
Keisuke MORI