hi !
im building a new test cluster with 5.1 to try all the new features.
im getting "corosync: using 'ring1_addr' parameter needs a configured ring 1 interface!" while adding the first node to the cluster regardless of using hostnames or ips.
what i did:
cluster and corosync seem to be ok:
i see nothing helpful or strange in the syslogs of either machine so im kinda stuck.
maybe somebody can give me a hint what im doing wrong here.
tia,tja...
im building a new test cluster with 5.1 to try all the new features.
im getting "corosync: using 'ring1_addr' parameter needs a configured ring 1 interface!" while adding the first node to the cluster regardless of using hostnames or ips.
what i did:
- installed 3 basically identical machines w. 2 NICs
- edited /etc/network/interfaces, /etc/hosts and ssh'ed each other so that all machines see & reach each other via the 2 interfaces by hostname "test<0-2>" (seperate cluster net) and "test<n>lan" (the lan/vm net and failover cluster net)
- created the cluster on node test0 with 2 rings as described in https://pve.proxmox.com/wiki/Cluster_Manager
- verified corosync.conf
Code:
root@test1:~# pvecm add test0 -ring0_addr test1 -ring1_addr test1lan
corosync: using 'ring1_addr' parameter needs a configured ring 1 interface!
unable to add node: command failed (ssh test0 -o BatchMode=yes pvecm addnode test1 --force 1 --ring0_addr test1 --ring1_addr test1lan)
root@test1:~# pvecm add 10.66.2.21 -ring0_addr 10.66.2.22 -ring1_addr 10.166.2.22
corosync: using 'ring1_addr' parameter needs a configured ring 1 interface!
unable to add node: command failed (ssh 10.66.254.21 -o BatchMode=yes pvecm addnode test1 --force 1 --ring0_addr 10.66.2.22 --ring1_addr 10.166.2.22)
Code:
root@test0:~# pvecm status
Quorum information
------------------
Date: Fri Nov 10 09:55:04 2017
Quorum provider: corosync_votequorum
Nodes: 1
Node ID: 0x00000001
Ring ID: 1/16
Quorate: Yes
Votequorum information
----------------------
Expected votes: 1
Highest expected: 1
Total votes: 1
Quorum: 1
Flags: Quorate
Membership information
----------------------
Nodeid Votes Name
0x00000001 1 10.66.2.21 (local)
Code:
root@test0:~# corosync-cfgtool -s
Printing ring status.
Local node ID 1
RING ID 0
id = 10.66.2.21
status = ring 0 active with no faults
RING ID 1
id = 10.166.2.21
status = ring 1 active with no faults
maybe somebody can give me a hint what im doing wrong here.
tia,tja...