# # please have a a look at the example configuration file in # /usr/share/doc/drbd/drbd.conf # resource mailman{ protocol C; incon-degr-cmd "echo '!DRBD! pri on incon-degr' | wall ; sleep 60 ; halt -f"; startup { degr-wfc-timeout 120; wfc-timeout 120; } disk { on-io-error pass_on; } net { ko-count 180; timeout 60; connect-int 10; ping-int 10; on-disconnect reconnect; } syncer { rate 20M; group 0; } on slate { device /dev/drbd0; disk /dev/Local1/mailman-mirror; address 192.168.160.3:7791; meta-disk internal; } on dragon { device /dev/drbd0; disk /dev/Local1/mailman-mirror; address 192.168.240.79:7791; meta-disk internal; } } resource db{ protocol C; incon-degr-cmd "echo '!DRBD! pri on incon-degr' | wall ; sleep 60 ; halt -f"; startup { degr-wfc-timeout 120; wfc-timeout 120; } disk { on-io-error pass_on; } net { ko-count 180; timeout 60; connect-int 10; ping-int 10; on-disconnect reconnect; } syncer { rate 20M; group 0; } on slate { device /dev/drbd1; disk /dev/Local1/mysql-mirror; address 192.168.160.3:7792; meta-disk internal; } on dragon { device /dev/drbd1; disk /dev/Local1/mysql-mirror; address 192.168.240.79:7792; meta-disk internal; } } resource ktree{ protocol C; incon-degr-cmd "echo '!DRBD! pri on incon-degr' | wall ; sleep 60 ; halt -f"; startup { degr-wfc-timeout 120; wfc-timeout 120; } disk { on-io-error pass_on; } net { ko-count 180; timeout 60; connect-int 10; ping-int 10; on-disconnect reconnect; } syncer { rate 20M; group 0; } on slate { device /dev/drbd2; disk /dev/Local1/ktree-mirror; address 192.168.160.3:7793; meta-disk internal; } on dragon { device /dev/drbd2; disk /dev/Local1/ktree-mirror; address 192.168.240.79:7793; meta-disk internal; } }