Add nodes to a culster

Ch@rlus

Renowned Member
Feb 14, 2013
31
3
73
Hi,

I've got 2 differents servers on proxmox.

The first (192.168.192.1) got a cluster "S3", with VPS, etc.

I want to add the second server (192.168.192.2) to that cluster. It was a debian server, so, I just reinstalled it on proxmox 2.0. I've done update, upgrade, and dist-upgrade. So, they are both on same version.

To be sure that the network support multicast, i've done "ssmpingd" on the first server, and, "asmping 224.0.2.1 192.168.192.1" on the second.

And, I get (on primary)

Code:
received request from 192.168.192.2
received request from 192.168.192.2
received request from 192.168.192.2
received request from 192.168.192.2
received request from 192.168.192.2

and that (on the secondary)

Code:
unicast from 192.168.192.1, seq=1 dist=0 time=2.682 msmulticast from 192.168.192.1, seq=1 dist=0 time=2.766 ms
  unicast from 192.168.192.1, seq=2 dist=0 time=1.110 ms
multicast from 192.168.192.1, seq=2 dist=0 time=1.178 ms
  unicast from 192.168.192.1, seq=3 dist=0 time=1.279 ms
multicast from 192.168.192.1, seq=3 dist=0 time=1.344 ms
  unicast from 192.168.192.1, seq=4 dist=0 time=0.906 ms
multicast from 192.168.192.1, seq=4 dist=0 time=1.001 ms

So, everything seems to be ok here.

Now, the problem is that i've got "cman_tool: Cannot open connection to cman, is it running ?" when I try to add the node with that "pvecm add 192.168.192.1" (on the secondary server)

I've looked at the script, and, it seems that there isn't the config file "/etc/cluster/cluster.conf".

Do I have missed something in the installation/configuration ?

-Ch@rlus
 
Hi,

On the wiki page, it is written that we need to do "pvecm add IP-ADDRESS-CLUSTER" on my secondary server. But, when I do that, i've got '"cman_tool: Cannot open connection to cman, is it running ?", caused because there isn't the config file "/etc/cluster/cluster.conf"....

-Ch@rlus
 
Hi,

On the wiki page, it is written that we need to do "pvecm add IP-ADDRESS-CLUSTER" on my secondary server. But, when I do that, i've got '"cman_tool: Cannot open connection to cman, is it running ?", caused because there isn't the config file "/etc/cluster/cluster.conf"....

-Ch@rlus

As per the docs that Tom pointed out this would be the short of it:

1) Install Proxmox 2.0 on node1 and node2
2) On node one after all updates and upgrade have been done, reboot the node.
3) Let's say Node01 is the master node, you will run this command:

Code:
pvecm create zeus

you will then see text scroll by listing that the cluster has been setup and cman is running etc...

check your cluster status by tyiping :

Code:
pvecm status

Then if you want to hook other nodes up to the master and create the cluster, you would ssh into node2 from node01

Code:
ssh root@node2

then at the command prompt type:

Code:
pvecm add node1

This will churn out some more text as it check all the needed cluster connectivity and packages. Once this is all done you can check on the whole cluster:

pvecm status

and then

pvecm nodes

You should now see both nodes hooked together in the cluster. To add more nodes, just ssh from node1 to any other nodes (ex: node2, node3, node4) and run pvecm add node1.
 
Okay, now I have "Waiting for quorum... Timed-out waiting for cluster [FAILED]"...

What's the problem now ?
 
It seems that multicalst is enabled and is working, because i get
Code:
  unicast from 192.168.192.1, seq=1 dist=0 time=0.993 ms
multicast from 192.168.192.1, seq=1 dist=0 time=1.068 ms
  unicast from 192.168.192.1, seq=2 dist=0 time=0.917 ms
multicast from 192.168.192.1, seq=2 dist=0 time=0.974 ms
  unicast from 192.168.192.1, seq=3 dist=0 time=1.007 ms
multicast from 192.168.192.1, seq=3 dist=0 time=1.075 ms
  unicast from 192.168.192.1, seq=4 dist=0 time=0.913 ms
multicast from 192.168.192.1, seq=4 dist=0 time=0.975 ms
  unicast from 192.168.192.1, seq=5 dist=0 time=1.055 ms
multicast from 192.168.192.1, seq=5 dist=0 time=1.118 ms
on the secondary server...
 
Up again ?

Sorry but I really need to have the node up :/

I understand that you want your problem fixed. But please do not post useless messages without any further content.

It looks like no-one have additional hints for you, as it works on other places without issues.

We can offer direct SSH login to your servers to find the problem (but you need to have valid subscription for this)
 

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!