diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-07-13 20:16:47 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-07-13 20:16:47 +0100 |
commit | 6536fdc9dd369d741c0a5dcf65f173963adf77c9 (patch) | |
tree | f1027e7ad5f83e0e9a1bd1c67ffdbdb4533ec6e8 /etc/drbd.d/global_common.conf | |
parent | Add layer7 haproxy checks for imaps, smtp and submissions (diff) | |
download | config-6536fdc9dd369d741c0a5dcf65f173963adf77c9.tar.bz2 config-6536fdc9dd369d741c0a5dcf65f173963adf77c9.tar.xz config-6536fdc9dd369d741c0a5dcf65f173963adf77c9.zip |
Add all the drbd resource configs
Diffstat (limited to 'etc/drbd.d/global_common.conf')
-rw-r--r-- | etc/drbd.d/global_common.conf | 48 |
1 files changed, 48 insertions, 0 deletions
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; + } +} |