[DRBD-user] DRBD Not Starting on Boot / Pacemaker Errors

J. Adam Craig acraig at pamplinpark.org
Mon Jun 7 20:49:44 CEST 2010

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


Hello folks,

I'm noticing that DRBD is not starting automatically on boot in my Ubuntu 8.04 LTS Server implementation.  All was working fine with DRBD and Pacemaker / Corosync until I restarted the two nodes.  DRBD did not startup on boot, and crm_mon is showing errors.

I was wondering how (1) I could get DRBD to start on boot (should Pacemaker / Corosync do this, or do I need to do something with update-rc.d?) and (2) how these Corosync errors can be eliminated, if DRBD not starting on boot is not the cause of the trouble.  I'm pasting the results of crm_mon below, along with my Corosync configuration below that.

I do know that the drbd init file (ver 8.3.8) is stored as /usr/local/etc/init.d/drbd

Thanks!
- Adam

crm_mon results:
============
Last updated: Mon Jun  7 14:38:40 2010
Stack: openais
Current DC: vmdevel1 - partition with quorum
Version: 1.0.4-2609e060ce0c516c95ae31f44a10fed0202abfb6
2 Nodes configured, 2 expected votes
2 Resources configured.
============
Online: [ vmdevel1 vmdevel2 ]

Failed actions:
    Cluster-FS-DRBD:0_monitor_0 (node=(null), call=2, rc=5, status=complete): no
t installed
    Cluster-FS-Mount:0_start_0 (node=vmdevel2, call=4, rc=1, status=complete): u
nknown error
    Cluster-FS-DRBD:0_monitor_0 (node=(null), call=2, rc=5, status=complete): no
t installed
    Cluster-FS-Mount:0_start_0 (node=vmdevel1, call=4, rc=1, status=complete): u
nknown error
Corosync Configuration:
node vmdevel1
node vmdevel2
primitive Cluster-FS-DRBD ocf:linbit:drbd \
        params drbd_resource="cluster-ocfs" \
        operations $id="Cluster-FS-DRBD-ops" \
        op monitor interval="20" role="Master" timeout="20" \
        op monitor interval="30" role="Slave" timeout="20" \
        meta target-role="started"
primitive Cluster-FS-Mount ocf:heartbeat:Filesystem \
        params device="/dev/drbd0" directory="/cluster" fstype="ocfs2" \
        meta target-role="started"
ms Cluster-FS-DRBD-Master Cluster-FS-DRBD \
        meta resource-stickiness="100" master-max="2" notify="true" interleave="true"
clone Cluster-FS-Mount-Clone Cluster-FS-Mount \
        meta interleave="true" ordered="true"
order Cluster-FS-After-DRBD inf: Cluster-FS-DRBD-Master:promote Cluster-FS-Mount-Clone:start
property $id="cib-bootstrap-options" \
        dc-version="1.0.4-2609e060ce0c516c95ae31f44a10fed0202abfb6" \
        cluster-infrastructure="openais" \
        expected-quorum-votes="2" \
        no-quorum-policy="ignore" \
        stonith-enabled="false" \
        default-resource-stickiness="1000"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20100607/6ca91169/attachment.htm>


More information about the drbd-user mailing list