resource r0 { protocol C; #incon-degr-cmd "echo '!DRBD! pri on incon-degr' | wall ; sleep 60 ; halt -f"; incon-degr-cmd "echo '!DRBD! pri on incon-degr' | wall ; sleep 60 ; echo lala"; startup { # wfc-timeout 0; degr-wfc-timeout 120; # 2 minutes. } disk { on-io-error detach; } net { # timeout 60; # 6 seconds (unit = 0.1 seconds) # connect-int 10; # 10 seconds (unit = 1 second) # ping-int 10; # 10 seconds (unit = 1 second) # max-buffers 2048; # on-disconnect reconnect; } syncer { rate 80M; group 1; } on inst1 { device /dev/drbd0; disk /dev/sda3; address 192.168.0.1:7788; meta-disk internal; } on inst2 { device /dev/drbd0; disk /dev/sda3; address 192.168.0.2:7788; meta-disk internal; } }