Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Does the dual primary drbd start outside of the cluster?
resource r0 {
protocol C;
handlers {
fence-peer /usr/lib/drbd/crm-fence-peer.sh;
split-brain "/usr/lib/drbd/notify-split-brain.sh root";
after-resync-target /usr/lib/drbd/crm-unfence-peer.sh;
}
startup {
degr-wfc-timeout 0;
become-primary-on both;
}
net {
allow-two-primaries;
cram-hmac-alg sha1;
shared-secret p3MThab7chQZF9kyorYSdY8azHFM0GJN;
}
disk {
on-io-error detach;
}
syncer {
rate 100M;
}
on test-odp-01 {
device /dev/drbd0;
disk /dev/vg00/lvol0;
flexible-meta-disk internal;
address 2.21.15.10:7788;
}
on test-odp-02 {
device /dev/drbd0;
disk /dev/vg00/lvol0;
flexible-meta-disk internal;
address 2.21.15.20:7788;
}
}