[DRBD-user] drbd primary/primary starts flawless via init script, but goes into unconnected via openais

Peter Niessen niessen at par-tec.com
Wed Sep 26 11:36:26 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.


Dear List,

for a DRBD/OCFS2 setup I've configured two shared devices, "shared" and 
"home":

primitive resDRBD_home ocf:linbit:drbd \
         params drbd_resource="home" \
         op monitor interval="120s" role="Master" timeout="60s" \
         op monitor interval="130s" role="Slave" timeout="60s" \
         op start interval="0" timeout="240s" \
         op stop interval="0" timeout="100s"
primitive resDRBD_shared ocf:linbit:drbd \
         params drbd_resource="shared" \
         op monitor interval="120s" role="Master" timeout="60s" \
         op monitor interval="130s" role="Slave" timeout="60s" \
         op start interval="0" timeout="240s" \
         op stop interval="0" timeout="100s"
ms msDRBD_home resDRBD_home \
         meta notify="true" master-max="2" clone-max="2" 
target-role="Started"
ms msDRBD_shared resDRBD_shared \
         meta notify="true" master-max="2" clone-max="2" 
target-role="Started"

When starting the drbd devices via systemctl start drbd.service, all is 
fine (/proc/drbd)

version: 8.3.11 (api:88/proto:86-96)
srcversion: 21CA73FE6D7D9C67B0C6AB2
  0: cs:Connected ro:Primary/Primary ds:UpToDate/UpToDate C r-----
     ns:0 nr:0 dw:0 dr:1344 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:f oos:0
  1: cs:Connected ro:Primary/Primary ds:UpToDate/UpToDate C r-----
     ns:0 nr:0 dw:0 dr:1680 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:f oos:0

However, starting the devices via openais (crm resource start 
msDRBD_...), they go into separation:

1: cs:StandAlone ro:Primary/Unknown ds:UpToDate/DUnknown   r-----
     ns:0 nr:0 dw:0 dr:672 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:f oos:0

I'm on openSuSE 12.1. Sorry if I should have posted to the clusterlabs 
list...

Cheers, Peter.



More information about the drbd-user mailing list