[ClusterLabs] shutdown of 2-Node cluster when power outage

2019-04-18 Thread Lentes, Bernd
Hi, i have a two-node cluster, both servers are buffered by an UPS. If power is gone the UPS sends after a configurable time a signal via network to shutdown the servers. The UPS-Software (APC Power Chute Network Shutdown) gives me on the host the possibility to run scripts before it shuts down.

Re: [ClusterLabs] shutdown of 2-Node cluster when power outage

2019-04-18 Thread Ken Gaillot
On Thu, 2019-04-18 at 16:11 +0200, Lentes, Bernd wrote: > Hi, > > i have a two-node cluster, both servers are buffered by an UPS. > If power is gone the UPS sends after a configurable time a signal via > network to shutdown the servers. > The UPS-Software (APC Power Chute Network Shutdown) gives m

Re: [ClusterLabs] shutdown of 2-Node cluster when power outage

2019-04-20 Thread Lentes, Bernd
- Am 18. Apr 2019 um 16:21 schrieb kgaillot kgail...@redhat.com: > > Simply stopping pacemaker and corosync by whatever mechanism your > distribution uses (e.g. systemctl) should be sufficient. That works. But strangely is that after a reboot both nodes are shown as UNCLEAN. Does the clus

Re: [ClusterLabs] shutdown of 2-Node cluster when power outage

2019-04-20 Thread Andrei Borzenkov
20.04.2019 22:29, Lentes, Bernd пишет: > > > - Am 18. Apr 2019 um 16:21 schrieb kgaillot kgail...@redhat.com: > >> >> Simply stopping pacemaker and corosync by whatever mechanism your >> distribution uses (e.g. systemctl) should be sufficient. > > That works. But strangely is that after a r

Re: [ClusterLabs] shutdown of 2-Node cluster when power outage

2019-04-21 Thread Lentes, Bernd
- Am 21. Apr 2019 um 6:51 schrieb Andrei Borzenkov arvidj...@gmail.com: > 20.04.2019 22:29, Lentes, Bernd пишет: >> >> >> - Am 18. Apr 2019 um 16:21 schrieb kgaillot kgail...@redhat.com: >> >>> >>> Simply stopping pacemaker and corosync by whatever mechanism your >>> distribution uses (

Re: [ClusterLabs] shutdown of 2-Node cluster when power outage

2019-04-21 Thread Andrei Borzenkov
21.04.2019 16:32, Lentes, Bernd пишет: > - Am 21. Apr 2019 um 6:51 schrieb Andrei Borzenkov arvidj...@gmail.com: > >> 20.04.2019 22:29, Lentes, Bernd пишет: >>> >>> >>> - Am 18. Apr 2019 um 16:21 schrieb kgaillot kgail...@redhat.com: >>> Simply stopping pacemaker and corosync by

Re: [ClusterLabs] shutdown of 2-Node cluster when power outage

2019-04-23 Thread Tomas Jelinek
Dne 21. 04. 19 v 15:46 Andrei Borzenkov napsal(a): 21.04.2019 16:32, Lentes, Bernd пишет: - Am 21. Apr 2019 um 6:51 schrieb Andrei Borzenkov arvidj...@gmail.com: 20.04.2019 22:29, Lentes, Bernd пишет: - Am 18. Apr 2019 um 16:21 schrieb kgaillot kgail...@redhat.com: Simply stoppin