[systemd-devel] Antw: Re: Antw: [EXT] Re: Still confused with socket activation
Michael Chapman
mike at very.puzzling.org
Tue Feb 9 09:17:22 UTC 2021
On Tue, 9 Feb 2021, Ulrich Windl wrote:
[...]
> At what timne exactly? When pacemaker starts, or when the systemd using is
> about to be started?
Pacemaker adds the drop-in just before it starts the resource, and it
removes the drop-in just after it stops the resource. It's entire purpose
is to handle the case when Pacemaker and the service are *simultaneously*
stopped (i.e. by something external to Pacemaker).
Without the drop-in, what can happen is that the service is stopped before
Pacemaker thinks it should be stopped... which makes Pacemaker attempt to
recover the resource... which makes every go wrong quickly.
More information about the systemd-devel
mailing list