i have setup two server in cluster successfully with unicast mode.
today i want to add a third server to the cluster but no success.
i have added all the nodes in /etc/hosts (bothin 3 servers) , the cluster is online for the two servers only
in the third node the qorum won't start
root@ks3:~# pvecm status
Version: 6.2.0
Config Version: 9
Cluster Name: clustervps
Cluster Id: 42187
Cluster Member: Yes
Cluster Generation: 10712
Membership state: Cluster-Member
Nodes: 1
Expected votes: 1
Total votes: 1
Node votes: 1
Quorum: 2 Activity blocked
Active subsystems: 1
Flags:
Ports Bound: 0
Node name: ks312315
Node ID: 3
Multicast addresses: 255.255.255.255
Node addresses: xx.165.xx.xx
root@ks3:~# pvecm expected 1
in the master node i want to delete the node 3but i get this error
i HAVE REBOOTED ALL NODES .
any idea to work with it ?
today i want to add a third server to the cluster but no success.
i have added all the nodes in /etc/hosts (bothin 3 servers) , the cluster is online for the two servers only
Code:
root@ns1:~# clustat
Cluster Status for clustervps @ Wed Mar 20 05:26:06 2013
Member Status: Quorate
Member Name ID Status
------ ---- ---- ------
ns1 1 Online, Local
ks2 2 Online
ks3 3 Offline
root@ns1:~# pvecm status
Version: 6.2.0
Config Version: 9
Cluster Name: clustervps
Cluster Id: 42187
Cluster Member: Yes
Cluster Generation: 10712
Membership state: Cluster-Member
Nodes: 3
Expected votes: 1
Total votes: 2
Node votes: 1
Quorum: 2
Active subsystems: 5
Flags:
Ports Bound: 0
Node name: ns206240
Node ID: 1
Multicast addresses: 255.255.255.255
Node addresses: xx.23.x.1xx
in the third node the qorum won't start
root@ks3:~# pvecm status
Version: 6.2.0
Config Version: 9
Cluster Name: clustervps
Cluster Id: 42187
Cluster Member: Yes
Cluster Generation: 10712
Membership state: Cluster-Member
Nodes: 1
Expected votes: 1
Total votes: 1
Node votes: 1
Quorum: 2 Activity blocked
Active subsystems: 1
Flags:
Ports Bound: 0
Node name: ks312315
Node ID: 3
Multicast addresses: 255.255.255.255
Node addresses: xx.165.xx.xx
root@ks3:~# pvecm expected 1
Code:
root@ks3:~# service cman start
Starting cluster:
Checking if cluster has been disabled at boot... [ OK ]
Checking Network Manager... [ OK ]
Global setup... [ OK ]
Loading kernel modules... [ OK ]
Mounting configfs... [ OK ]
Starting cman... [ OK ]
Waiting for quorum... Timed-out waiting for cluster
[FAILED]
root@ks3:~# service cman stop
Stopping cluster:
Stopping dlm_controld... [ OK ]
Stopping fenced... [ OK ]
Stopping cman...
Timed-out waiting for cluster
[FAILED]
root@ks3:~# service apache2 restart
Syntax error on line 13 of /etc/apache2/sites-enabled/pve-redirect.conf:
SSLCertificateFile: file '/etc/pve/local/pve-ssl.pem' does not exist or is empty
Action 'configtest' failed.
The Apache error log may have more information.
failed!
root@ks3:~# pvecm updatecerts
can't create shared ssh key database '/etc/pve/priv/authorized_keys'
no quorum - unable to update files
root@ks3:~# pvecm expected 1
root@ks3:~# /etc/init.d/pve-cluster start
Starting pve cluster filesystem : pve-clustercan't create shared ssh key database '/etc/pve/priv/authorized_keys'
.
root@ks3:~# clustat
Cluster Status for clustervps @ Wed Mar 20 05:31:30 2013
Member Status: Inquorate
Member Name ID Status
------ ---- ---- ------
ns1 1 Offline
ks2 2 Offline
ks3 3 Online, Local
root@ks3:~# pvecm add xx.23.xx.1xx -force
can't create shared ssh key database '/etc/pve/priv/authorized_keys'
unable to copy ssh ID
in the master node i want to delete the node 3but i get this error
Code:
root@ns1:~# pvecm delnode ks3
cluster not ready - no quorum?
i HAVE REBOOTED ALL NODES .
any idea to work with it ?
Last edited: