Cluster Help

bhavicp

New Member
Nov 27, 2008
11
0
1
Hi,
I've just got 4 Servers all running Proxmox i managed to get them clustered and it was working fine and then i changed hostnames on the slaves and i deleted the original slaves off the servers and tried to add them again, But i keep getting local node already part of cluster
Even though in the Control Panel it doesn't show them.
Also these servers are from OVH.

Pveca -l:
Code:
root@ss1:~# pveca -l
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LANG = "en_GB.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
CID----IPADDRESS----ROLE-STATE--------UPTIME---LOAD----MEM---ROOT---DATA
 1 : 91.121.86.190   M     A           00:50   0.46    18%    13%     0%

And i also did this on the servers: (slave and master)
Code:
root@ss2:~# rm -rf /etc/pve/cluster.conf
root@ss2:~# rm -rf /root/.ssh/known_hosts
root@ss2:~# rm -rf /etc/pve/cluster.cfg

Adding the slave:
Code:
root@ss1:~# pveca -a -h ss2.DOMAIN
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LANG = "en_GB.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
local node already part of cluster

Any help would be appreciated! Thanks !!
 
I think you need to do a "pveca -d ID" to the nodes before you readd them. I can't remember if you do that from the slaves or the master, but I think it's from the master.
 
Hey,
I already did that and as you can see from
pveca -l
Code:
CID----IPADDRESS----ROLE-STATE--------UPTIME---LOAD----MEM---ROOT---DATA
 1 : 91.121.86.XXX   M     A           14:06   0.00    19%    13%     0%

It only has that in thier.
 
Hey,
I already did that and as you can see from
pveca -l
Code:
CID----IPADDRESS----ROLE-STATE--------UPTIME---LOAD----MEM---ROOT---DATA
 1 : 91.121.86.XXX   M     A           14:06   0.00    19%    13%     0%
It only has that in thier.



  1. stop the cluster sync. and cluster mirror services on all nodes.
  2. remove the old cluster config from the nodes (rm /etc/pve/cluster.cfg and rm -r /etc/pve/master/)
  3. make sure you have uniqe VMID´s on all nodes/master
  4. join all nodes to the master again
take also look here:
http://www.proxmox.com/forum/showthread.php?p=4327#poststop
 
Ok i've now re-installed proxmox and
when adding trying to add a node/slave

I still get the same error:
Code:
root@ss1:~# pveca -l
CID----IPADDRESS----ROLE-STATE--------UPTIME---LOAD----MEM---ROOT---DATA
 1 : 91.121.86.XXX   M     A           00:21   0.12    18%    13%     0%
Code:
root@ss1:~# pveca -a -h 91.121.166.XXX
local node already part of cluster

Does anyone know if im doing anything wrong - Also i have no VM's at all.
 
Ok i've now re-installed proxmox and
when adding trying to add a node/slave

I still get the same error:
Code:
root@ss1:~# pveca -l
CID----IPADDRESS----ROLE-STATE--------UPTIME---LOAD----MEM---ROOT---DATA
 1 : 91.121.86.XXX   M     A           00:21   0.12    18%    13%     0%
Code:
root@ss1:~# pveca -a -h 91.121.166.XXX
local node already part of cluster
Does anyone know if im doing anything wrong - Also i have no VM's at all.

yes, follow the instructions from my last posting. as the errors tells you that the node is already part of a cluster, a cluster.cfg is here.

did you get this (in the case you upgrade)?
http://www.proxmox.com/forum/showthread.php?t=533