This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
решение_drbd [2022/03/18 09:52] val [Решение ситуации Split-Brain при использовании Pacemaker] |
решение_drbd [2022/03/20 05:42] val [Конфигурация с двумя primaries] |
||
---|---|---|---|
Line 233: | Line 233: | ||
<code> | <code> | ||
- | root@nodeN:~# cat /etc/drbd.d/global_common.conf | + | root@nodeN:~# cat /etc/drbd.d/r0.res |
</code><code> | </code><code> | ||
+ | resource r0 { | ||
... | ... | ||
- | startup { | + | startup { |
- | ... | + | become-primary-on both; |
wfc-timeout 1; | wfc-timeout 1; | ||
} | } | ||
- | ... | ||
- | </code><code> | ||
- | root@nodeN:~# cat /etc/drbd.d/r0.res | ||
- | </code><code> | ||
- | resource r0 { | ||
- | ... | ||
- | startup { become-primary-on both; } | ||
net { | net { | ||
allow-two-primaries; | allow-two-primaries; |