How did you setup the startup of DRBD on boot?
I am getting trouble, because the “replication-bond” is not up, when DRBD starts.
That results in a split-brain situation, because node 2 comes up without beeing connected to node 1.
As a workaround, I modified the start-script of drbd:
$DRBDADM wait-con-int # User interruptible version of wait-connect all
$DRBDADM connect drbd-sr1
$DRBDADM wait-connect drbd-sr1
$DRBDADM primary drbd-sr1
xe pbd-plug uuid=a351c2f7-937b-6d56-8cc5-207f645ca359
#$DRBDADM sh-b-pri all # Become primary if configured
Do you need such a workaround, too?
Quick workaround for split-brain when using Xenserver + DRBD