resource r0 { protocol C; incon-degr-cmd "echo '!DRBD! pri on incon-degr' | wall ; sleep 60 ; halt -f"; startup { wfc-timeout 0; ## Infinite! degr-wfc-timeout 120; ## 2 minutes. } disk { on-io-error detach; } net { # timeout 60; # connect-int 10; # ping-int 10; # max-buffers 2048; # max-epoch-size 2048; } syncer { rate 4M; group 1; } on NodeA { device /dev/drbd0; disk /dev/sdb1; address 192.168.5.1:7788; meta-disk internal; } on NodeB { device /dev/drbd0; disk /dev/sdb1; address 192.168.5.2:7788; meta-disk internal; } }