[Cluster-devel] cluster4 dlm dlm_stonith – should it really fence by turning node off?

2012-11-03 Thread Jacek Konieczny
Hello, The dlm_stonith fencing helper is really convenient when Pacemaker is in use. Though, it doesn't quite work as I would expect – when fencing is needed it requests a node to be turned off instead of rebooting. And it doesn't handle unfencing – so automatic recovery is not possible

[Cluster-devel] [PATCH 1/2] --foreground option added to dlm_controld

2012-11-03 Thread Jacek Konieczny
Foreground is the preferred way to run services from systemd and it is easier to provide startup notification this way. Signed-off-by: Jacek Konieczny jaj...@jajcus.net --- dlm_controld/dlm_controld.8 |3 +++ dlm_controld/dlm_daemon.h |1 + dlm_controld/main.c |7 ++- 3

[Cluster-devel] cluster4 dlm: startup notification for systemd

2012-11-03 Thread Jacek Konieczny
Hello, The two patches: [PATCH 1/2] --foreground option added to dlm_controld [PATCH 2/2] Startup notification by sd_notify() add startup notification for the systemd service unit. This way startup of services depending on DLM can be properly serialized. Currently dlm_controld forks

[Cluster-devel] [PATCH 2/2] Startup notification by sd_notify()

2012-11-03 Thread Jacek Konieczny
Implements simple start-up status notification via the sd_notify(3) function from the libsystemd-daemon library. This allows proper service startup serialization by the init daemon – services depending on DLM will be started after dlm_controld completes the initialization. As this pulls