From 6536fdc9dd369d741c0a5dcf65f173963adf77c9 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Thu, 13 Jul 2023 20:16:47 +0100 Subject: Add all the drbd resource configs --- etc/drbd.d/global_common.conf | 48 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 etc/drbd.d/global_common.conf (limited to 'etc/drbd.d/global_common.conf') diff --git a/etc/drbd.d/global_common.conf b/etc/drbd.d/global_common.conf new file mode 100644 index 0000000..107e327 --- /dev/null +++ b/etc/drbd.d/global_common.conf @@ -0,0 +1,48 @@ +global { + usage-count no; + # minor-count dialog-refresh disable-ip-verification +} + +common { + handlers { + fence-peer "/usr/lib64/drbd/crm-fence-peer.9.sh"; + unfence-peer "/usr/lib64/drbd/crm-unfence-peer.9.sh"; + } + + startup { + # wfc-timeout degr-wfc-timeout outdated-wfc-timeout wait-after-sb + wfc-timeout 300; + degr-wfc-timeout 5; + } + + options { + # cpu-mask on-no-data-accessible + } + + disk { + # size max-bio-bvecs on-io-error fencing disk-barrier disk-flushes + # disk-drain md-flushes resync-rate resync-after al-extents + # c-plan-ahead c-delay-target c-fill-target c-max-rate + # c-min-rate disk-timeout + fencing resource-only; + resync-rate 100M; + c-min-rate 1M; + c-max-rate 50M; + c-plan-ahead 0; + } + + net { + # protocol timeout max-epoch-size max-buffers unplug-watermark + # connect-int ping-int sndbuf-size rcvbuf-size ko-count + # allow-two-primaries cram-hmac-alg shared-secret after-sb-0pri + # after-sb-1pri after-sb-2pri always-asbp rr-conflict + # ping-timeout data-integrity-alg tcp-cork on-congestion + # congestion-fill congestion-extents csums-alg verify-alg + # use-rle + allow-two-primaries yes; + timeout 120; + connect-int 60; + ping-int 15; + ping-timeout 20; + } +} -- cgit v1.2.3