resource r0 { protocol C; incon-degr-cmd "echo '!DRBD! pri on incon-degr' | wall ; sleep 60 ; halt -f"; startup { wfc-timeout 0; degr-wfc-timeout 120; } disk { on-io-error detach; } syncer { rate 60M; group 1; # sync when r2 is finished syncing. } on db1 { device /dev/drbd0; disk /dev/md7; address 192.168.101.26:7791; meta-disk internal; } on db2 { device /dev/drbd0; disk /dev/md7; address 192.168.101.27:7791; meta-disk internal; } }