Hello
I would like to create a 3 node cluster but all nodes need to be independent.
I don't need always all 3 nodes and the important VMs run on node1.
Node2 and node3 are only running if I need them.
I don't need HA but I want to move VMs from node1 to node2 or node3 and vice versa.
I've already a two-node-cluster wich works fine. Now I'm lookin for a way to add a third node.
My Corosync looks like this at the moment:
Can anybody tell me what corosync need to look like when I'm going to add node3 to the cluster?
I'm thinking of something like this:
Or is there any better solution?
Thanks and Greetings
I would like to create a 3 node cluster but all nodes need to be independent.
I don't need always all 3 nodes and the important VMs run on node1.
Node2 and node3 are only running if I need them.
I don't need HA but I want to move VMs from node1 to node2 or node3 and vice versa.
I've already a two-node-cluster wich works fine. Now I'm lookin for a way to add a third node.
My Corosync looks like this at the moment:
Code:
root@node1:~# cat /etc/pve/corosync.conf
logging {
debug: off
to_syslog: yes
}
nodelist {
node {
name: node2
nodeid: 2
quorum_votes: 1
ring0_addr: 10.10.1.11
}
node {
name: node1
nodeid: 1
quorum_votes: 1
ring0_addr: 10.10.1.10
}
}
quorum {
provider: corosync_votequorum
two_node: 1
wait_for_all: 0
}
totem {
cluster_name: Cluster
config_version: 2
interface {
linknumber: 0
}
ip_version: ipv4-6
secauth: on
version: 2
}
Can anybody tell me what corosync need to look like when I'm going to add node3 to the cluster?
I'm thinking of something like this:
Code:
root@node1:~# cat /etc/pve/corosync.conf
logging {
debug: off
to_syslog: yes
}
nodelist {
node {
name: node3
nodeid: 3
quorum_votes: 1
ring0_addr: 10.10.1.12
}
node {
name: node2
nodeid: 2
quorum_votes: 1
ring0_addr: 10.10.1.11
}
node {
name: node1
nodeid: 1
quorum_votes: 1
ring0_addr: 10.10.1.10
}
}
quorum {
provider: corosync_votequorum
expected_votes: 1
wait_for_all: 0
}
totem {
cluster_name: Cluster
config_version: 2
interface {
linknumber: 0
}
ip_version: ipv4-6
secauth: on
version: 2
}
Or is there any better solution?
Thanks and Greetings