network corosync

rickygm

Renowned Member
Sep 16, 2015
138
6
83
Hi, I'm building a cluster with the latest version of proxmox, and I want to put corosync with different networks, but I'm not sure how to add a node to the created cluster

pvecm create netlab --link0 192.168.15.1,priority=15 --link1 192.168.40.1,priority=20

add the following in primary node, in the other nodes as you could add them?

pvecm add --link0 192.168.15.2, priority=15 --link1 192.168.40.2,priority=20

Each node has the following interfaces

node1-corosync1 = 192.168.40,1
node1-corosync2= 192.168.15.1

node2-corosync1=192.168.40.2
node2-corosync2=192.168.15.2

node3-corosync1=192.168.40.3
node3-corosync1=192.168.15.3

regards..
 
Hi,
in order to create the cluster, you run as you correctly stated:
Code:
pvecm create netlab --link0 192.168.15.1,priority=15 --link1 192.168.40.1,priority=20
To add a node to the cluster, on the node you want to add run the following:
Code:
pvecm add 192.168.15.1 --link0 192.168.15.2,priority=15 --link1 192.168.40.2,priority=20
and on the next one
Code:
pvecm add 192.168.15.1 --link0 192.168.15.3,priority=15 --link1 192.168.40.3,priority=20