Proxmox 3.0 Cluster setup help

iononline

New Member
Jun 27, 2013
2
0
1
Hi all,

Hopefully you can help me out as my Google search has come to an end :(

Essentially I have the following setup:

Proxmox1
Proxmox2

I would like to have these servers in a cluster. I followed the guides in the wiki (http://pve.proxmox.com/wiki/Proxmox_VE_2.0_Cluster#Create_the_Cluster) but it seems I am getting nowhere.

The cluster has been created and called proxmox.

When I do a pvecm nodes on proxmox1:

root@proxmox1:~# pvecm nodes
Node Sts Inc Joined Name
1 M 4 2013-06-17 21:38:28 proxmox1

When I do the same on proxmox2:

root@proxmox2:~# pvecm nodes
Node Sts Inc Joined Name
2 M 16 2013-06-17 22:13:37 proxmox2

When I run pvecm status on proxmox1:

root@vzctlr1:~# pvecm status
Version: 6.2.0
Config Version: 13
Cluster Name: proxmox
Cluster Id: 7314
Cluster Member: Yes
Cluster Generation: 4
Membership state: Cluster-Member
Nodes: 1
Expected votes: 1
Total votes: 1
Node votes: 1
Quorum: 1
Active subsystems: 5
Flags:
Ports Bound: 0
Node name: proxmox1
Node ID: 1
Multicast addresses: 239.192.28.174
Node addresses: 127.0.0.1

Run the same on proxmox2:

root@proxmox2:~# pvecm status
Version: 6.2.0
Config Version: 13
Cluster Name: proxmox
Cluster Id: 7314
Cluster Member: Yes
Cluster Generation: 16
Membership state: Cluster-Member
Nodes: 1
Expected votes: 1
Total votes: 1
Node votes: 1
Quorum: 1
Active subsystems: 5
Flags:
Ports Bound: 0
Node name: proxmox2
Node ID: 2
Multicast addresses: 239.192.28.174
Node addresses: 127.0.0.1

When I go to the web interface the 2 servers are not clustered. When I try to delete a node I get this:

node proxmox2 does not exist in /etc/pve/cluster.conf

I'm not sure if I'm being thick or not but I just can't get this cluster up and running.

My next step is to re-install both servers but I need to have it up and running ASAP.

Can anyone offer me any advice?

Thanks, Matt
 
root@proxmox1:~# pvecm nodes
1 M 4 2013-06-17 21:38:28 proxmox1

root@proxmox2:~# pvecm nodes
2 M 16 2013-06-17 22:13:37 proxmox2

afaik the time on nodes can't be that different to be able to cluster... try to sync times (ntp), and keep it sync'd

[edit] stuipd comment by me. that was join time :-D but check the local time as it matters, anyway. and, as jleg says, give nodes non local ip address, resolvable...[/edit]

Marco
 
Last edited:
Hi all,

...
Node addresses: 127.0.0.1

i don't think that this would work - there should be an IP of network where both nodes are connected. Maybe your /etc/hosts is not correct - your hostnames should resolve...
 
i don't think that this would work - there should be an IP of network where both nodes are connected. Maybe your /etc/hosts is not correct - your hostnames should resolve...

Good spot that :) I had set the 2 nodes to an internal IP address to test in the office. I have updated my hosts file on both nodes.

Proxmox1 - cluster not ready - no quorum found
I have tried starting cman but to no avail

Proxmox2 - it has taken up the new IP address

root@proxmox2:~# pvecm status
Version: 6.2.0
Config Version: 15
Cluster Name: proxmox
Cluster Id: 7314
Cluster Member: Yes
Cluster Generation: 4
Membership state: Cluster-Member
Nodes: 1
Expected votes: 1
Total votes: 1
Node votes: 1
Quorum: 1
Active subsystems: 5
Flags:
Ports Bound: 0
Node name: proxmox2
Node ID: 1
Multicast addresses: 239.192.28.174
Node addresses: 172.10.10.66

Do I need to re-install Proxmox 1 as I changed the host IP address?

Matt
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!