diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-12-31 20:28:42 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-12-31 20:28:42 +0000 |
commit | c3a8e3d9748eb517e40179bb3b9595da71d4c0b7 (patch) | |
tree | 2a0abdd839c6b40c6a82a99a5ac1f24169403906 | |
parent | Remove retired DRBD resources (diff) | |
download | config-c3a8e3d9748eb517e40179bb3b9595da71d4c0b7.tar.bz2 config-c3a8e3d9748eb517e40179bb3b9595da71d4c0b7.tar.xz config-c3a8e3d9748eb517e40179bb3b9595da71d4c0b7.zip |
Update DRBD resources for single master
-rw-r--r-- | etc/drbd.d/backup.res | 2 | ||||
-rw-r--r-- | etc/drbd.d/downloads.res | 2 | ||||
-rw-r--r-- | etc/drbd.d/openwrt.res | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/etc/drbd.d/backup.res b/etc/drbd.d/backup.res index ff8ca00..67a0281 100644 --- a/etc/drbd.d/backup.res +++ b/etc/drbd.d/backup.res @@ -15,6 +15,8 @@ resource backup { resync-after www; } net { + allow-two-primaries no; + protocol b; verify-alg md5; after-sb-0pri discard-least-changes; after-sb-1pri discard-secondary; diff --git a/etc/drbd.d/downloads.res b/etc/drbd.d/downloads.res index 489aecc..305ba5e 100644 --- a/etc/drbd.d/downloads.res +++ b/etc/drbd.d/downloads.res @@ -15,6 +15,8 @@ resource downloads { resync-after store; } net { + allow-two-primaries no; + protocol a; verify-alg md5; after-sb-0pri discard-least-changes; after-sb-1pri discard-secondary; diff --git a/etc/drbd.d/openwrt.res b/etc/drbd.d/openwrt.res index f76dd75..72f2ad2 100644 --- a/etc/drbd.d/openwrt.res +++ b/etc/drbd.d/openwrt.res @@ -15,6 +15,8 @@ resource openwrt { #resync-after none; } net { + allow-two-primaries no; + protocol a; verify-alg md5; after-sb-0pri discard-least-changes; after-sb-1pri discard-secondary; |