[Debian-ha-maintainers] sbd vs Pacemaker 2

Valentin Vidic Valentin.Vidic at CARNet.hr
Tue Jan 15 11:34:31 GMT 2019


On Tue, Jan 15, 2019 at 11:37:30AM +0100, Valentin Vidic wrote:
> It is always started and stopped with corosync:
> 
> # /lib/systemd/system/sbd.service
> [Unit]
> Description=Shared-storage based fencing daemon
> Documentation=man:sbd(8)
> Before=pacemaker.service
> After=systemd-modules-load.service iscsi.service
> PartOf=corosync.service
> RefuseManualStop=true
> RefuseManualStart=true
> ...
> [Install]
> RequiredBy=corosync.service
> 
> We can test if it could be disabled and still work correctly.

Seems the situation is like this:

  corosync enabled, sbd enabled: both start on boot
  corosync disabled, sbd enabled: both dead on boot
  corosync enabled, sbd disabled: sbd dead, corosync running

So leaving it enabled allows corosync to be in control of sbd startup on
boot which looks useful.

Also start/stop/restart actions are disabled because systemd complains:

  Failed to restart sbd.service: Operation refused, unit sbd.service may be requested by dependency only (it is configured to refuse manual start/stop).

-- 
Valentin



More information about the Debian-ha-maintainers mailing list