Re: [ClusterLabs] normal reboot with active sbd does not work

2022-06-06 Thread Zoran Bošnjak
immediately and thus fail. Have you tried [Unit] Before=sbd.service [Install] RequiredBy=sbd.service I would have expected that rebooting with the device disabled again after sbd shuts down should behave similarly as with the module being unloaded. You could check for something like 'nowayout' wit

Re: [ClusterLabs] normal reboot with active sbd does not work

2022-06-03 Thread Andrei Borzenkov
For test purpose try to use script that loops until sbd is actually stopped for ExecStop. Note that systemd strongly recommends to use synchronous command for ExecStop (we may argue that this should be handled by service manager itself, but well ...). > > Zoran > > - Original Message ---

Re: [ClusterLabs] normal reboot with active sbd does not work

2022-06-03 Thread Klaus Wenninger
Before=sbd.service [Install] RequiredBy=sbd.service I would have expected that rebooting with the device disabled again after sbd shuts down should behave similarly as with the module being unloaded. You could check for something like 'nowayout' with the kernel module that would pre

Re: [ClusterLabs] normal reboot with active sbd does not work

2022-06-03 Thread Zoran Bošnjak
"sbd" is preventing the watchdog to close, so that watchdog triggers always, even in the case of normal reboot. What am I missing here? Zoran ----- Original Message - From: "Andrei Borzenkov" To: "users" Sent: Friday, June 3, 2022 11:24:03 AM Subject: Re: [

Re: [ClusterLabs] normal reboot with active sbd does not work

2022-06-03 Thread Andrei Borzenkov
On 03.06.2022 11:18, Zoran Bošnjak wrote: > Hi all, > I would appreciate an advice about sbd fencing (without shared storage). > > I am using ubuntu 20.04., with default packages from the repository > (pacemaker, corosync, fence-agents, ipmitool, pcs...). > > HW watchdog is present on servers.

Re: [ClusterLabs] normal reboot with active sbd does not work

2022-06-03 Thread Klaus Wenninger
On Fri, Jun 3, 2022 at 11:03 AM Klaus Wenninger wrote: > > On Fri, Jun 3, 2022 at 10:19 AM Zoran Bošnjak wrote: > > > > Hi all, > > I would appreciate an advice about sbd fencing (without shared storage). > > > > I am using ubuntu 20.04., with default packages from the repository > >

Re: [ClusterLabs] normal reboot with active sbd does not work

2022-06-03 Thread Klaus Wenninger
On Fri, Jun 3, 2022 at 10:19 AM Zoran Bošnjak wrote: > > Hi all, > I would appreciate an advice about sbd fencing (without shared storage). > > I am using ubuntu 20.04., with default packages from the repository > (pacemaker, corosync, fence-agents, ipmitool, pcs...). > > HW watchdog is present

[ClusterLabs] normal reboot with active sbd does not work

2022-06-03 Thread Zoran Bošnjak
Hi all, I would appreciate an advice about sbd fencing (without shared storage). I am using ubuntu 20.04., with default packages from the repository (pacemaker, corosync, fence-agents, ipmitool, pcs...). HW watchdog is present on servers. The first problem was to load/unload the watchdog