Еще раз здравствуйте! По совету одного из пользователей этого форума, узнал о Switch на Hetzner и мой сон решил потерпеть до утра...
Включил 3 сервера в одну локальную сеть. Настроил hosts, настроил VLAN соединение между серверами.
#Cluster
10.0.0.1 node1 cluster master
10.0.0.2 node2
10.0.0.3 node3
#IPv4
111.111.111.111 pxm1hz
222.222.222.222 pxm7hz
333.333.333.333 pxm8hz
IPv4 - внешние IP адреса. В этой теме заменил реальные IP на условные. С node1 выполнил ping node2, пинг ~0.2 мс, vlan функционирует успешно.
Далее создал кластер на node1:
pvecm create cluster -bindnet0_addr 10.0.0.1 -ring0_addr cluster
Попытался подсоединить node2 к кластеру находящемуся на node1:
pvecm add pxm1hz -ring0_addr node2
Please enter superuser (root) password for 'pxm1hz':
Password for
Etablishing API connection with host 'pxm1hz'
The authenticity of host 'pxm1hz' can't be established.
X509 SHA256 key fingerprint is 78:86:95:C1:87:51:D9:B9:2F:ED:16:45:40:6C:79:AD:F6:F9:B1:6A:63:2D:BC:A8:FB:46:F6:5D:BE:E2:A7:32.
Are you sure you want to continue connecting (yes/no)? yes
Login succeeded.
Request addition of this node
Join request OK, finishing setup locally
stopping pve-cluster service
backup old database to '/var/lib/pve-cluster/backup/config-1531259811.sql.gz'
waiting for quorum...
Quorum information
------------------
Date: Wed Jul 11 00:09:16 2018
Quorum provider: corosync_votequorum
Nodes: 1
Node ID: 0x00000001
Ring ID: 1/1392
Quorate: No
Votequorum information
----------------------
Expected votes: 2
Highest expected: 2
Total votes: 1
Quorum: 2 Activity blocked
Flags:
Membership information
----------------------
Nodeid Votes Name
0x00000001 1 10.0.0.1 (local)
root@pxm8hz ~ # pvecm add pxm1hz -ring0_addr node3
Please enter superuser (root) password for 'pxm1hz':
Password for root@pxm1hz: **************
Etablishing API connection with host 'pxm1hz'
The authenticity of host 'pxm1hz' can't be established.
X509 SHA256 key fingerprint is 78:86:95:C1:87:51:D9:B9:2F:ED:16:45:40:6C:79:AD:F6:F9:B1:6A:63:2D:BC:A8:FB:46:F6:5D:BE:E2:A7:32.
Are you sure you want to continue connecting (yes/no)? yes
Login succeeded.
Request addition of this node
500 cluster not ready - no quorum?