Re: [ClusterLabs] corosync.service (and sbd.service) are not stopper on pacemaker shutdown when corosync-qdevice is used

2019-08-09 Thread Ken Gaillot
On Fri, 2019-08-09 at 08:19 +, Roger Zhou wrote: > > On 8/9/19 3:39 PM, Jan Friesse wrote: > > Roger Zhou napsal(a): > > > > > > On 8/9/19 2:27 PM, Roger Zhou wrote: > > > > > > > > On 7/29/19 12:24 AM, Andrei Borzenkov wrote: > > > > > corosync.service sets StopWhenUnneded=yes which

Re: [ClusterLabs] corosync.service (and sbd.service) are not stopper on pacemaker shutdown when corosync-qdevice is used

2019-08-09 Thread Roger Zhou
On 8/9/19 3:39 PM, Jan Friesse wrote: > Roger Zhou napsal(a): >> >> On 8/9/19 2:27 PM, Roger Zhou wrote: >>> >>> On 7/29/19 12:24 AM, Andrei Borzenkov wrote: corosync.service sets StopWhenUnneded=yes which normally stops it when pacemaker is shut down. >> >> One more thought, >> >>

Re: [ClusterLabs] corosync.service (and sbd.service) are not stopper on pacemaker shutdown when corosync-qdevice is used

2019-08-09 Thread Jan Friesse
Roger Zhou napsal(a): On 8/9/19 2:27 PM, Roger Zhou wrote: On 7/29/19 12:24 AM, Andrei Borzenkov wrote: corosync.service sets StopWhenUnneded=yes which normally stops it when pacemaker is shut down. One more thought, Make sense to add "RefuseManualStop=true" to pacemaker.service? The same

Re: [ClusterLabs] corosync.service (and sbd.service) are not stopper on pacemaker shutdown when corosync-qdevice is used

2019-08-09 Thread Roger Zhou
On 8/9/19 2:27 PM, Roger Zhou wrote: > > On 7/29/19 12:24 AM, Andrei Borzenkov wrote: >> corosync.service sets StopWhenUnneded=yes which normally stops it when >> pacemaker is shut down. One more thought, Make sense to add "RefuseManualStop=true" to pacemaker.service? The same for

Re: [ClusterLabs] corosync.service (and sbd.service) are not stopper on pacemaker shutdown when corosync-qdevice is used

2019-08-09 Thread Roger Zhou
On 7/29/19 12:24 AM, Andrei Borzenkov wrote: > corosync.service sets StopWhenUnneded=yes which normally stops it when > pacemaker is shut down. `systemctl stop corosync.service` is the right command to stop those cluster stack. It stops pacemaker and corosync-qdevice first, and stop SBD too.

Re: [ClusterLabs] corosync.service (and sbd.service) are not stopper on pacemaker shutdown when corosync-qdevice is used

2019-07-29 Thread Andrei Borzenkov
On Mon, Jul 29, 2019 at 9:52 AM Jan Friesse wrote: > > Andrei > > Andrei Borzenkov napsal(a): > > corosync.service sets StopWhenUnneded=yes which normally stops it when > > This was the case only for very limited time (v 3.0.1) and it's removed > now (v 3.0.2) because it was causing more troubles

Re: [ClusterLabs] corosync.service (and sbd.service) are not stopper on pacemaker shutdown when corosync-qdevice is used

2019-07-29 Thread Jan Friesse
Andrei Andrei Borzenkov napsal(a): corosync.service sets StopWhenUnneded=yes which normally stops it when This was the case only for very limited time (v 3.0.1) and it's removed now (v 3.0.2) because it was causing more troubles than it was worth. Regards, Honza pacemaker is shut down.

[ClusterLabs] corosync.service (and sbd.service) are not stopper on pacemaker shutdown when corosync-qdevice is used

2019-07-28 Thread Andrei Borzenkov
corosync.service sets StopWhenUnneded=yes which normally stops it when pacemaker is shut down. Unfortunately, corosync-qdevice.service declares Requires=corosync.service and corosync-qdevice.service itself is *not* stopped when pacemaker.service is stopped. Which means corosync.service remains