global {
        usage-count     no;
}

common {
        protocol        C;

        startup {
                wfc-timeout             30;
                degr-wfc-timeout        15;
                outdated-wfc-timeout    15;
        }

        syncer {
                rate            40M;
                verify-alg      sha1;
                csums-alg       sha1;
        }

        handlers {
                fence-peer              "/usr/lib/drbd/crm-fence-peer.sh";
                after-resync-target     "/usr/lib/drbd/crm-unfence-peer.sh";
                pri-on-incon-degr       "echo o > /proc/sysrq-trigger; halt -f";
                pri-lost-after-sb       "echo o > /proc/sysrq-trigger; halt -f";
                pri-lost                "echo o > /proc/sysrq-trigger; halt -f";
        }

        net {
                unplug-watermark        2048;
                ko-count                3;
                cram-hmac-alg           sha1;
                shared-secret           password;
                after-sb-0pri           disconnect;
                after-sb-1pri           disconnect;
                after-sb-2pri           disconnect;
                rr-conflict             call-pri-lost;

                timeout         5;
                connect-int     1;
                ping-int        1;
                ping-timeout    5;
        }

        disk {
                on-io-error     detach;
                fencing         resource-only;
        }
}

resource r0 {
        device          minor 0;
        meta-disk       internal;
        disk            /dev/cciss/c0d1p1;

        on bl460g1n13 {
                address 192.168.101.223:7790;
        }
        on bl460g1n14 {
                address 192.168.101.224:7790;
        }
}

