This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
пакет_corosync [2022/01/29 20:47] val [Corosync 3 (Debian 10/11)] |
пакет_corosync [2023/07/20 12:52] 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 29: | Line 35: | ||
name: node1 | name: node1 | ||
nodeid: 1 | nodeid: 1 | ||
- | ring0_addr: 10.M.N.100+X | + | #ring1_addr: 10.M.N.100+X |
- | #ring0_addr: node1 | + | ring0_addr: node1 |
} | } | ||
node { | node { | ||
name: node2 | name: node2 | ||
nodeid: 2 | nodeid: 2 | ||
- | ring0_addr: 10.M.N.200+X | + | #ring1_addr: 10.M.N.200+X |
- | #ring0_addr: node2 | + | ring0_addr: node2 |
} | } | ||
} | } |