This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
пакет_corosync [2021/12/09 17:19] val [Corosync 3 (Debian 10)] |
пакет_corosync [2022/03/17 14:55] val [Corosync 3 (Debian/Ubuntu)] |
||
---|---|---|---|
Line 14: | Line 14: | ||
- | ==== Corosync 3 (Debian 10/11) ==== | + | ==== Corosync 3 (Debian/Ubuntu) ==== |
<code> | <code> | ||
nodeN# cat /etc/corosync/corosync.conf | nodeN# cat /etc/corosync/corosync.conf | ||
</code><code> | </code><code> | ||
- | ... | + | totem { |
+ | version: 2 | ||
+ | cluster_name: debian | ||
+ | crypto_cipher: none | ||
+ | crypto_hash: none | ||
+ | } | ||
quorum { | quorum { | ||
provider: corosync_votequorum | provider: corosync_votequorum | ||
Line 30: | Line 36: | ||
nodeid: 1 | nodeid: 1 | ||
ring0_addr: 10.M.N.100+X | ring0_addr: 10.M.N.100+X | ||
+ | #ring0_addr: node1 | ||
} | } | ||
node { | node { | ||
Line 35: | Line 42: | ||
nodeid: 2 | nodeid: 2 | ||
ring0_addr: 10.M.N.200+X | ring0_addr: 10.M.N.200+X | ||
+ | #ring0_addr: node2 | ||
} | } | ||
} | } |