[DRBD-user] DRBD Outdated by Pacemaker/Heartbeat

Raphaël LOUIS raphael.louis at hdr.fr
Thu Aug 26 15:57:30 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.


Hi DRBD-user group,


I am using pacemaker 1.0.9, Heartbeat 3.0.3 and DRBD 8.3.7 .

Each time I put a node in standby mode (crm node standby) the other node
gets in Slave state, instead of staying or getting Master :

#crm_mon
============
Last updated: Thu Aug 26 12:31:11 2010
Stack: Heartbeat
Current DC: slave (
) - partition with quorum
Version: 1.0.9-unknown
2 Nodes configured, unknown expected votes
2 Resources configured.
============

Node slave (
): standby
Online: [ master ]

 Master/Slave Set: ms_drbd_mysql
     Slaves: [ master ]
     Stopped: [ drbd_mysql:1 ]


And DRBD is set as Outdated :

# cat /proc/drbd
version: 8.3.7 (api:88/proto:86-91)
built-in

 1: cs:WFConnection ro:Secondary/Unknown ds:Outdated/DUnknown C r----
    ns:424 nr:0 dw:456 dr:10283 al:18 bm:24 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b
oos:64

When a server is offline or in standby mode, I would like the other one to
be Primary and make ressources working on it.


When both servers are online, everything is ok :

#crm_mon
============
Last updated: Thu Aug 26 12:38:26 2010
Stack: Heartbeat
Current DC: slave (
) - partition with quorum
Version: 1.0.9-unknown
2 Nodes configured, unknown expected votes
2 Resources configured.
============

Online: [ slave master ]

 Master/Slave Set: ms_drbd_mysql
     Masters: [ master ]
     Slaves: [ slave ]
 Resource Group: grp_mysql
     fs_mysql   (ocf::heartbeat:Filesystem):    Started master
     mysqld     (lsb:mysql):    Started master


master:/# cat /proc/drbd
version: 8.3.7 (api:88/proto:86-91)
built-in

 1: cs:Connected ro:Primary/Secondary ds:UpToDate/UpToDate C r----
    ns:560 nr:0 dw:544 dr:13700 al:23 bm:28 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b
oos:0

When I shut down heartbeat (/etc/init.d/heartbeat stop) on both nodes, and
then start DRBD (/etc/init.d/drbd start) on both nodes I can stop DRBD on
one node (/etc/init.d/drbd stop) and the other stay in Uptdate state, and I
can make it Primary (drbdadm primary all)


How can I do to make understand Heartbeat/Pacemaker not to put DRBD in
Outdated state and make it putting services/resources on the other node ?


Thank you,

Best regards,


Raphaël
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20100826/4d9e1628/attachment.htm>


More information about the drbd-user mailing list