Projet

Général

Profil

Tâche #13121

Mis à jour par Fabrice Barconnière il y a plus de 8 ans

Entre autre, déclarer les 2 nœuds du cluster sous cette forme :
<pre>
nodelist {
node {
ring0_addr: 10.0.254.11
name: sphynx
}
node {
ring0_addr: 10.0.254.11
name: sphynxb
}
}
</pre>

Définir le quorum :
<pre>
quorum {
# Quorum for the Pacemaker Cluster Resource Manager
provider: corosync_votequorum
# Number of bare metal hosts, VM are managed by pacemaker and
# “expected_votes” will increase when they get started
expected_votes: 2

# Two node mode
two_node: 1

# Pacemaker resources (so VMs) will not be started until
# number of nodes is equal to “expected_votes”
wait_for_all: 1
last_man_standing: 1
}
</pre>

Retour