# # please have a a look at the example configuration file in # /usr/share/doc/drbd82/drbd.conf # resource r0 { protocol C; startup { wfc-timeout 120; degr-wfc-timeout 120; become-primary-on both; } net { allow-two-primaries; cram-hmac-alg "sha1"; shared-secret "123456"; after-sb-0pri discard-least-changes; after-sb-1pri discard-secondary; after-sb-2pri disconnect; rr-conflict disconnect; } disk { on-io-error detach; } syncer { rate 100M; } on node1 { device /dev/drbd0; disk /dev/sda3; address 10.10.10.251:7789; meta-disk internal; } on node2 { device /dev/drbd0; disk /dev/sda3; address 10.10.10.250:7789; meta-disk internal; } }