Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- global {
- usage-count yes;
- # minor-count dialog-refresh disable-ip-verification
- }
- common {
- protocol C;
- }
- resource res0 {
- handlers {
- #pri-on-incon-degr "/usr/lib/drbd/notify-pri-on-incon-degr.sh; /usr/lib/drbd/notify-e
- mergency-reboot.sh; echo b > /proc/sysrq-trigger ; reboot -f";
- #pri-lost-after-sb "/usr/lib/drbd/notify-pri-lost-after-sb.sh; /usr/lib/drbd/notify-e
- mergency-reboot.sh; echo b > /proc/sysrq-trigger ; reboot -f";
- #local-io-error "/usr/lib/drbd/notify-io-error.sh; /usr/lib/drbd/notify-emergency-shu
- tdown.sh; echo o > /proc/sysrq-trigger ; halt -f";
- #fence-peer "/usr/lib/drbd/crm-fence-peer.sh";
- #split-brain "/usr/lib/drbd/notify-split-brain.sh root";
- # out-of-sync "/usr/lib/drbd/notify-out-of-sync.sh root";
- # before-resync-target "/usr/lib/drbd/snapshot-resync-target-lvm.sh -p 15 -- -c 16k";
- #after-resync-target /usr/lib/drbd/unsnapshot-resync-target-lvm.sh;
- }
- startup {
- # wfc-timeout degr-wfc-timeout outdated-wfc-timeout wait-after-sb
- wfc-timeout 30;
- degr-wfc-timeout 15;
- }
- disk {
- # on-io-error fencing use-bmbv no-disk-barrier no-disk-flushes
- # no-disk-drain no-md-flushes max-bio-bvecs
- #fencing resource-only;
- }
- net {
- # sndbuf-size rcvbuf-size timeout connect-int ping-int ping-timeout max-buffers
- # max-epoch-size ko-count allow-two-primaries cram-hmac-alg shared-secret
- # after-sb-0pri after-sb-1pri after-sb-2pri data-integrity-alg no-tcp-cork
- #after-sb-0pri disconnect;
- #after-sb-1pri discard-secondary;
- }
- syncer {
- # rate after al-extents use-rle cpu-mask verify-alg csums-alg
- rate 200M;
- verify-alg md5;
- csums-alg md5;
- }
- on cc-ipsec1 {
- device /dev/drbd0;
- disk /dev/cciss/c0d0p4;
- address 172.17.0.5:7789;
- meta-disk internal;
- }
- on cc-ipsec2 {
- device /dev/drbd0;
- disk /dev/cciss/c0d0p4;
- address 172.17.0.3:7789;
- meta-disk internal;
- }
- }
Add Comment
Please, Sign In to add comment