Cluster trouble

dns173

Active Member
Dec 12, 2011
65
0
26
version: proxmox 2.1


i have 7 server create Cluster . one day 6 nodes is over . only left server is no master.


i link this server is ok. but i can't modify this server .
Example:


add ip address ,
prompt: ovz: command 'vzctl --skiplock set 105 --ipadd 1.1.1.11 --save' failed: exit code 139 (500)
or kvm:
unable to open file '/etc/pve/nodes/vps007/qemu-server/104.conf.tmp.85272' - Permission denied (500)


What should I do.help me thanks.


For example there any way to make this separate server from the cluster. Allow it to work independently?
 
I am not sure what the issue is:
1. Do you have a 7 node cluster but all but 1 are broken ?
2. Did you have a 7 node cluster, but now you have only 1 Node left ?


whats the output of

pvecm nodes

Displays the local view of the cluster nodes.


pvecm status

Displays the local view of the cluster status.
 
root@vps007:~# pvecm nodes
Node Sts Inc Joined Name
1 X 0 vps01
2 X 0 vps02
3 X 0 vps03
4 M 8 2015-11-25 16:31:04 vps007
5 X 0 vps05
6 X 0 vps06
7 X 0 vps04

root@vps007:~# pvecm status
Version: 6.2.0
Config Version: 11
Cluster Name: vps
Cluster Id: 3331
Cluster Member: Yes
Cluster Generation: 8
Membership state: Cluster-Member
Nodes: 1
Expected votes: 7
Total votes: 1
Node votes: 1
Quorum: 4 Activity blocked
Active subsystems: 1
Flags:
Ports Bound: 0
Node name: vps007
Node ID: 4
Multicast addresses: 239.192.13.16
Node addresses: 127.0.0.1
 
set
pvecm expected 1


then delete the nodes no longer in your cluster:
pvecm delnode <Name of Node>


e.g.
pvecm delnode vps01
pvecm delnode vps02
...
..
 
root@vps007:~# pvecm delnode vps01
cluster not ready - no quorum?

what to do? thanks.
 
yes. Node 1 2 3 5 6 7 is broken.

thanks. is ok

pvecm expected 1 command
 
Last edited:
okay, once more.
On the server THAT is still working do the following steps

pvecm expected 1
pvecm status

which will now look like this:
pvecm status
Version: 6.2.0
Config Version: 11
Cluster Name: vps
Cluster Id: 3331
Cluster Member: Yes
Cluster Generation: 8
Membership state: Cluster-Member
Nodes: 1
Expected votes: 1
[...]

now you list all nodes with
pvecm nodes
then you delete every broken node with
pvecm delnode <Name of Node>