summaryrefslogtreecommitdiff
path: root/etc/drbd.d/global_common.conf
diff options
context:
space:
mode:
Diffstat (limited to 'etc/drbd.d/global_common.conf')
-rw-r--r--etc/drbd.d/global_common.conf48
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;
+ }
+}