[DRBD-user] OCFS2 and DRBD08pre6 questions about primary/primary ...

Sébastien CRAMATTE s.cramatte at wanadoo.fr
Tue Nov 7 00:21:47 CET 2006

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


Hi,

To avoid problem on boot/shutdown  with drbd+ocfs2 your rc.d symlink
must follow a sequence :

starting :
drbd
o2cb
ocfs2

stopping:
ocfs2
o2cb
drbd

Nevertheless  OCFS2 requires  that each drbd node to be in primary mode
and fully ready  else it can't mount the cluster

So I've added in drbd.conf

wfc-timeout  0;

amd in each  drbd  rc.d script  an

$DRBDADM primary all

just after the last line

$DRBDADM wait-con-int # User interruptible version of wait-connect all


... My  question is : do this is the right way to force primaries on
startup and  how can I be sure to have drbd0 ready before continue ?

Regards









More information about the drbd-user mailing list