Good evening,
I'm trying to build a 3 node cluster; I've installed proxmox 4.1 in each node and every node has a valid subscription key (so packets are updated). To understand the problem, I want to keep my configuration simple; so
On node1 I initialize the cluster:
On node2 and node3 I want to add this machine to to cluster:
Where could be the problem for this error?
Thanks. Cheis.
I'm trying to build a 3 node cluster; I've installed proxmox 4.1 in each node and every node has a valid subscription key (so packets are updated). To understand the problem, I want to keep my configuration simple; so
root@vs1:/etc/pve# cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
192.168.89.1 vs1.mydomain.bl vs1 pvelocalhost
root@vs1:/etc/pve# cat /etc/network/interfaces
auto lo
iface lo inet loopback
auto vmbr0
iface vmbr0 inet static
address 192.168.89.1
netmask 255.255.255.0
gateway 192.168.89.254
bridge_ports eth0
bridge_stp off
bridge_fd 0
root@vs2:/etc/pve# cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
192.168.89.2 vs2.mydomain.bl vs2 pvelocalhost
root@vs2:/etc/pve# cat /etc/network/interfaces
auto lo
iface lo inet loopback
auto vmbr0
iface vmbr0 inet static
address 192.168.89.2
netmask 255.255.255.0
gateway 192.168.89.254
bridge_ports eth0
bridge_stp off
bridge_fd 0
root@vs3:~# cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
192.168.89.3 vs3.mydomain.bl vs3 pvelocalhost
root@vs3:~# cat /etc/network/interfaces
auto lo
iface lo inet loopback
auto vmbr0
iface vmbr0 inet static
address 192.168.89.3
netmask 255.255.255.0
gateway 192.168.89.254
bridge_ports eth0
bridge_stp off
bridge_fd 0
root@vs1:~# pvecm create clusterbl
Corosync Cluster Engine Authentication key generator.
Gathering 1024 bits for key from /dev/urandom.
Writing corosync key to /etc/corosync/authkey.
root@vs1:~# pvecm status
Quorum information
------------------
Date: Thu Mar 3 15:50:53 2016
Quorum provider: corosync_votequorum
Nodes: 1
Node ID: 0x00000001
Ring ID: 4
Quorate: Yes
Votequorum information
----------------------
Expected votes: 1
Highest expected: 1
Total votes: 1
Quorum: 1
Flags: Quorate
Membership information
----------------------
Nodeid Votes Name
0x00000001 1 192.168.89.1 (local)
On node2 and node3 I want to add this machine to to cluster:
root@vs2:~# pvecm add 192.168.89.2
The authenticity of host '192.168.89.2 (192.168.89.2)' can't be established.
ECDSA key fingerprint is 47:95:8e:f0:cc:00:21:8c:4d:4a:67:8e:60:2e:2a:97.
Are you sure you want to continue connecting (yes/no)? yes
invalid corosync config - unable to read version
unable to add node: command failed (ssh 192.168.89.2 -o BatchMode=yes pvecm addnode vs2 --force 1)
Where could be the problem for this error?
Thanks. Cheis.