# # please have a a look at the example configuration file in # /usr/share/doc/drbd-0.7.24/drbd.conf # resource r0 { protocol C; # incon-degr-cmd "echo '!DRBD! pri on incon-degr' | wall ; echo 'DRBD' | mail 8195708305@txt.bell.ca -s 'DRBD pri on incon-dgr' ; sleep 60 ; halt -f"; # incon-degr-cmd "echo '!DRBD! pri on incon-degr' | wall ; sleep 60 ; halt -f"; incon-degr-cmd "/etc/ha.d/resource.d/msg '!DRBD! Degraded startup. Inconsistant state'"; startup { wfc-timeout 60; # 1 minutes degr-wfc-timeout 120; # 2 minutes. } net { # timeout 60; # connect-int 10; # ping-int 10; # max-buffers 2048; # max-epoch-size 2048; } disk { on-io-error panic; } syncer { rate 500M; group 1; al-extents 257; } on host-1.awale.qc.ca { device /dev/drbd0; disk /dev/sdb1; address 10.0.0.56:7788; meta-disk internal; } on host-2.awale.qc.ca { device /dev/drbd0; disk /dev/sdb1; address 10.0.0.57:7788; meta-disk internal; } }