Cluster and some Problems

shim_

New Member
Jan 16, 2014
8
0
1
Hello,
I created a cluster but I didn't work as I expect, none from both nodes is a master and the webinterface does not work on both.

Node 1
Code:
root@ns3312040:~# pvecm status
Version: 6.2.0
Config Version: 3
Cluster Name: build-hive
Cluster Id: 40453
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: ns3312040
Node ID: 1
Multicast addresses: 239.192.xx.xx
Node addresses: 5.135.xx.xx
root@ns3312040:~# pvecm nodes
Node  Sts   Inc   Joined               Name
   1   M     16   2014-01-16 16:00:52  ns3312040
   2   X      0                        ns3312040

Node 2:

Code:
root@ns3003269:~# pvecm status
Version: 6.2.0
Config Version: 2
Cluster Name: build-hive
Cluster Id: 40453
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: ns3003269
Node ID: 1
Multicast addresses: 239.192.xx.xx
Node addresses: 37.59.xx.xx
root@ns3003269:~# pvecm nodes
Node  Sts   Inc   Joined               Name
   1   M      4   2014-01-16 13:51:52  ns3003269
   2   X      0                        ns3312040

Did anyone has Ideas how to fix my problem ?
 
hi,
do you remember which specific commands were used to create your cluster?

from what I see te nodes ip are from really different networks... is that right? can they reach each other? /etc/hosts reflects the real ip?

and, now pve is multi master (so no spof), so there will be no "master" node...

it shoud be more like this, (on both nodes)

Code:
# pvecm nodes
Node  Sts   Inc   Joined               Name
   1   M    316   2013-11-27 18:16:37  pve2
   2   M    320   2013-11-27 18:17:06  pve1
Code:
# pvecm status
Version: 6.2.0
Config Version: 2
Cluster Name: pvecluster
Cluster Id: 48308
Cluster Member: Yes
Cluster Generation: 320
Membership state: Cluster-Member
Nodes: 2
Expected votes: 2
Total votes: 2
Node votes: 1
Quorum: 2
Active subsystems: 5
Flags:
Ports Bound: 0
Node name: pve2
Node ID: 1
Multicast addresses: 239.192.xx.xx
Node addresses: xx.xx.xx.xx
 
Thanks for your answer!
from what I see te nodes ip are from really different networks... is that right? can they reach each other? /etc/hosts reflects the real ip?
Yes, they can reach each other .
Hosts (The same on both servers):

Code:
127.0.0.1	localhost.localdomain localhost
37.59.xx.xx      ns3003269.ip-37-59-xx.eu ns3003269
5.135.xx.xx	ns3312040.ip-5-135-xxx.eu	ns3312040
# The following lines are desirable for IPv6 capable hosts
#(added automatically by netbase upgrade)
::1     ip6-localhost ip6-loopback
feo0::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
 

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!