HomeClusterLabs Projects

Feature: pacemaker_remote: support graceful stops

Description

Feature: pacemaker_remote: support graceful stops

When pacemaker_remote gets an interrupt signal, if there are any connected
proxy providers, it will send an lrmd IPC op for a shutdown request,
and stop accepting new provider connections. If the provider acknowledges the
request, pacemaker_remote will wait until all providers disconnect before
exiting itself. This gives the cluster the opportunity to stop any resources
running on the node that is shutting down.

If the provider is an older version that does not support graceful stops,
pacemaker_remote will time out waiting for the ack, then exit immediately.

Since we are now waiting for resources to exit, the systemd stop timeout
for pacemaker_remote has been raised to match pacemaker's.

Details

Provenance
kgaillotAuthored on Dec 23 2015, 4:19 PM
Parents
rP8eebc8a30a55: Feature: crmd: support graceful pacemaker_remote stops
Branches
Unknown
Tags
Unknown

Event Timeline