[ClusterLabs Developers] crmsh: Release 3.0.1 - cluster init with sbd

Kristoffer Grönlund kgronlund at suse.com
Mon Jul 24 08:30:08 UTC 2017


Valentin Vidic <Valentin.Vidic at CARNet.hr> writes:

> Trying out the cluster init functionality I can't get SBD to work:
>
> 1. The config file is updated with SBD_DEVICE and SBD_WATCHDOG,
> but the systemd service only takes $SBD_OPTS:
>
>    ExecStart=/usr/sbin/sbd $SBD_OPTS -p /var/run/sbd.pid watch
>
> Maybe a different service file is expected or this only supports the
> init script?

This may be an unintentional SUSE-ism that has snuck in... please create
an issue on github and attach your service file for sbd, and I'll take a
look!

>
> 2. /dev/watchdog device is by default taken by corosync, so sbd can't grab it:
>
> Jul 23 09:29:11 node1 sbd[1120]:    error: watchdog_init: Cannot open watchdog device '/dev/watchdog': Device or resource busy (16)
>
> Should the watchdog option for SBD disable the watchdog in corosync?

Good point, there should probably at least be a warning issued if both
are configured to use the same watchdog device.

Cheers,
Kristoffer

>
> -- 
> Valentin
>
> _______________________________________________
> Developers mailing list
> Developers at clusterlabs.org
> http://lists.clusterlabs.org/mailman/listinfo/developers
>

-- 
// Kristoffer Grönlund
// kgronlund at suse.com




More information about the Developers mailing list