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

Dirk Bonenkamp - ProActive dirk at proactive.nl
Wed Jul 25 13:37:39 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.

Op 25-7-2012 13:19, Florian Haas schreef:
> On Wed, Jul 25, 2012 at 12:30 PM, Dirk Bonenkamp - ProActive
> <dirk at proactive.nl> wrote:
>> Op 24-7-2012 17:00, Florian Haas schreef:
>>> On Tue, Jul 24, 2012 at 2:17 PM, Dirk Bonenkamp - ProActive
>>> <dirk at proactive.nl> wrote:
>>>> 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?
>>> I'm not sure if you are, but we are. We're missing information about
>>> your DRBD and Pacemaker version, and your DRBD and Pacemaker
>>> configuration, specifically. Please collect and pastebin that, and
>>> follow up on this thread with the URL.
>> Hi,
>> I guess I could have expected this question... sorry, here we go:
>> Ubuntu 10.04 running 2.6.32-41-generic / x86_64
>> DRBD 8.3.13 (self compiled)
> "modinfo drbd" please? Just making sure that you are in fact using the
> 8.3.13 kernel module, not the one that ships with Ubuntu 10.04.

Here you go:

filename:       /lib/modules/2.6.32-41-generic/updates/dkms/drbd.ko
alias:          block-major-147-*
license:        GPL
version:        8.3.13
description:    drbd - Distributed Replicated Block Device v8.3.13
author:         Philipp Reisner <phil at linbit.com>, Lars Ellenberg
<lars at linbit.com>
srcversion:     37949097C324F391BD88740
vermagic:       2.6.32-41-generic SMP mod_unload modversions
parm:           minor_count:Maximum number of drbd devices (1-256) (uint)
parm:           disable_sendpage:bool
parm:           allow_oos:DONT USE! (bool)
parm:           cn_idx:uint
parm:           proc_details:int
parm:           enable_faults:int
parm:           fault_rate:int
parm:           fault_count:int
parm:           fault_devs:int
parm:           usermode_helper:string



More information about the drbd-user mailing list