Trouble making cluster

alessio

New Member
Sep 22, 2012
6
0
1
Hi all,

I've one server proxmox1 in production e a new one (proxmox2) just installed.
I'd like to create a cluster, but something gone wrong.

1) When I created the cluster all conf files about vm machines were lost.
2) I was able to recreate vm config files but now if i try to change some parameter i recive error:
"unable to open file '/etc/pve/nodes/proxmox1/qemu-server/100.conf.tmp.422047' - Device or resource busy (500)"
3) Now I'd like to remove cluster but how? Why do I receive stranges messages if I try to remove one node? (if it's up or down there is no difference)

root@proxmox1:/etc/init.d# pvecm delnode proxmox2
I/O error : Resource busy
I/O error : Resource busy
ccs_tool: Error writing new config file /etc/pve/cluster.conf


root@proxmox1:/etc/init.d# pvecm status
Version: 6.2.0
Config Version: 2
Cluster Name: CLUSTER1
Cluster Id: 18649
Cluster Member: Yes
Cluster Generation: 40
Membership state: Cluster-Member
Nodes: 1
Expected votes: 2
Total votes: 1
Node votes: 1
Quorum: 2 Activity blocked
Active subsystems: 5
Flags:
Ports Bound: 0
Node name: proxmox1
Node ID: 2
Multicast addresses: 239.192.72.34
Node addresses: 192.168.1.21
root@proxmox1:/etc/init.d# pvecm n
Node Sts Inc Joined Name
1 X 36 proxmox2
2 M 32 2012-09-22 08:57:38 proxmox1

root@proxmox1:/etc/init.d# clustat
Cluster Status for CLUSTER1 @ Sat Sep 22 09:26:29 2012
Member Status: Inquorate

Member Name ID Status
------ ---- ---- ------
proxmox2 1 Offline
proxmox1 2 Online, Local

root@proxmox1:/etc/init.d# clustat
Cluster Status for CLUSTER1 @ Sat Sep 22 09:26:41 2012
Member Status: Inquorate

Member Name ID Status
------ ---- ---- ------
proxmox2 1 Offline
proxmox1 2 Online, Local


Please help me!

"proxmox1" server is in production and now I fear that if I restart it may be that no vm will reboot

Alessio
 
...
Membership state: Cluster-Member
Nodes: 1
Expected votes: 2
Total votes: 1
Node votes: 1
Quorum: 2 Activity blocked

Active subsystems: 5
Flags:
Ports Bound: 0
Node name: proxmox1
Node ID: 2
Multicast addresses: 239.192.72.34
Node addresses: 192.168.1.21
root@proxmox1:/etc/init.d# pvecm n
Node Sts Inc Joined Name
1 X 36 proxmox2
2 M 32 2012-09-22 08:57:38 proxmox1

root@proxmox1:/etc/init.d# clustat
Cluster Status for CLUSTER1 @ Sat Sep 22 09:26:29 2012
Member Status: Inquorate

Member Name ID Status
------ ---- ---- ------
proxmox2 1 Offline
proxmox1 2 Online, Local

root@proxmox1:/etc/init.d# clustat
Cluster Status for CLUSTER1 @ Sat Sep 22 09:26:41 2012
Member Status: Inquorate

Member Name ID Status
------ ---- ---- ------
proxmox2 1 Offline
proxmox1 2 Online, Local


Please help me!

"proxmox1" server is in production and now I fear that if I restart it may be that no vm will reboot

Alessio
Hi,
you lost the quorum in your cluster und than /etc/pve is read only.

To get the quorum back set the expected votes to one: "pvecm expected 1". After that you can remove the cluster-stuff - but if you wan't to use an cluster you should build/fixed the cluster...

Udo
 
@alessio: Please stop posting multiple times - this is a waste of (our) time. Posts from new members are moderated, so it take some time until we approve them.
 
Thanks!
With your help and restarting PVECluster I was able to change configuration

Alessio