[DRBD-user] crm-fence-peer.sh & maintenance / reboots

Dirk Bonenkamp - ProActive dirk at proactive.nl
Tue Jul 24 14:17:44 CEST 2012

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


Hi all,

I'm having trouble with the crm-fence-peer.sh script and maintenance /
reboots.

I have a simple Master / Slave set-up with 1 resource. Without the
crm-fence-peer.sh and crm-unfence-peer.sh scripts activated, things work
fine. When I reboot the master, the slave gets promoted, all good. When
I enable the scripts, the slave no longer gets promoted when the master
is rebooted or is put in standby mode. This error is in the logs:

CRIT: Refusing to be promoted to Primary without UpToDate data.

The error kind of makes sense, but before the reboot the data was
UpToDate/UpToDate.

The scripts work fine when I unplug the data connection between the
nodes. The location constraint is added when I unplug the cable and is
removed again when re-plugging the cable.

Am I missing something here?

Thank you in advance, kind regards,

Dirk Bonenkamp



More information about the drbd-user mailing list