Stonith - the kill other node. But I need another.
So that a node can not become a master if it is not connected to network.
I solved my question by increasing the parameter token in corosync.conf
default token value: 3000. New value: 3.
And then the rule (location location_master_ms_drbd1
You need to configure the stonith and drbd stonith handler
2017-12-19 8:19 GMT+01:00 Прокопов Павел :
> Hello!
>
> pacemaker pingd with ms drbd = double masters short time when disconnected
> networks.
>
> My crm config:
>
> node 168885811: pp-pacemaker1.heliosoft.ru
> node
Hello!
pacemaker pingd with ms drbd = double masters short time when
disconnected networks.
My crm config:
node 168885811: pp-pacemaker1.heliosoft.ru
node 168885812: pp-pacemaker2.heliosoft.ru
primitive drbd1 ocf:linbit:drbd \
params drbd_resource=drbd1 \
op monitor interval=60s \
15.12.2017 14:08, Прокопов Павел пишет:
...
> stonith-enabled=false \
> no-quorum-policy=ignore \
...
>
> Why pp-pacemaker2 first become a master? It breaks drdb.
>
Because you told it to behave this way. You told your cluster that
neither stonith nor quorum are required; so each node
Hello!
pacemaker pingd with ms drbd = double masters short time when
disconnected networks.
My crm config:
node 168885811: pp-pacemaker1.heliosoft.ru
node 168885812: pp-pacemaker2.heliosoft.ru
primitive drbd1 ocf:linbit:drbd \
params drbd_resource=drbd1 \
op monitor interval=60s \