2 Node Cluster

tylerdurden81

Member
Jan 8, 2011
124
0
16
I am not looking for HA, just a central management and to be able to live migrate VM's. I have tried to create a 2 node cluster but to no avail. I see no documentation in the forum or wiki on how to do this. Can anyone point me in the correct direction.
 
Thank you for your reply. I have read of that documentation closely. When I follow those directions I end up with 2 unusable installations. I have read that when you create a 2 node cluster that you need to create a quodisk I have not found any documentation related to this or how it relates to proxmox.
 
works here. check your network switches for support of IP multicast.
 
It is hard to help if you do not describe the problem.



You only need that if you want to use HA (high availability feature).

Ok thank you. My switches have Multicast enabled. When i try to add a node to the cluster quorum and cman stop working and will not start. My pve-ssl.pem file disappears and apache2 will not start. I lose write access to the /etc/pve also (which from what I read is expected). Sometimes the files stop showing up altogether.


# pveversion
pve-manager/2.0/4b59ea39

~# /etc/init.d/cman start
Starting cluster:
Checking if cluster has been disabled at boot... [ OK ]
Checking Network Manager... [ OK ]
Global setup... [ OK ]
Loading kernel modules... [ OK ]
Mounting configfs... [ OK ]
Starting cman... Cannot find node name in cluster.conf
Unable to get the configuration
Cannot find node name in cluster.conf
cman_tool: corosync daemon didn't start Check cluster logs for details
[FAILED]
 
Ok thank you. My switches have Multicast enabled. When i try to add a node to the cluster quorum and cman stop working and will not start. My pve-ssl.pem file disappears and apache2 will not start. I lose write access to the /etc/pve also (which from what I read is expected). Sometimes the files stop showing up altogether.

Hi,
both nodes are in the same network?
Can you post the following output from both nodes?
Code:
cat /etc/hosts
Udo
 
Hi,
both nodes are in the same network?
Can you post the following output from both nodes?
Code:
cat /etc/hosts
Udo

I have reinstalled one of the nodes but here is that command on one I have not.

root@proxmox19:~# cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
192.168.2.105 proxmox19.pritell.com proxmox19 pvelocalhost
192.168.2.9 pritell20.pritell.com pritell20
# The following lines are desirable for IPv6 capable hosts

::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
 
make sure you run the latest version and post the full output of "pveversion -v" to check.


s# pveversion -v
pve-manager: 2.0-54 (pve-manager/2.0/4b59ea39)
running kernel: 2.6.32-7-pve
pve-kernel-2.6.32-7-pve: 2.6.32-60
lvm2: 2.02.88-2pve2
clvm: 2.02.88-2pve2
corosync-pve: 1.4.1-1
openais-pve: 1.1.4-2
libqb: 0.10.1-2
redhat-cluster-pve: 3.1.8-3
resource-agents-pve: 3.9.2-3
fence-agents-pve: 3.1.7-2
pve-cluster: 1.0-26
qemu-server: 2.0-33
pve-firmware: 1.0-15
libpve-common-perl: 1.0-23
libpve-access-control: 1.0-17
libpve-storage-perl: 2.0-16
vncterm: 1.0-2
vzctl: 3.0.30.2-1
vzprocps: 2.0.11-2
vzquota: 3.0.12-3
 
"make sure you run the latest version" means that you should run "aptitude update && aptitude full-upgrade" to get the latest packages.

after this, check with pveversion -v.
 
you should have these results, here is the current list of stable packages:

Code:
pve-manager: 2.0-57 (pve-manager/2.0/ff6cd700)
running kernel: 2.6.32-11-pve
proxmox-ve-2.6.32: 2.0-65
pve-kernel-2.6.32-11-pve: 2.6.32-65
lvm2: 2.02.88-2pve2
clvm: 2.02.88-2pve2
corosync-pve: 1.4.1-1
openais-pve: 1.1.4-2
libqb: 0.10.1-2
redhat-cluster-pve: 3.1.8-3
resource-agents-pve: 3.9.2-3
fence-agents-pve: 3.1.7-2
pve-cluster: 1.0-26
qemu-server: 2.0-36
pve-firmware: 1.0-15
libpve-common-perl: 1.0-25
libpve-access-control: 1.0-17
libpve-storage-perl: 2.0-16
vncterm: 1.0-2
vzctl: 3.0.30-2pve2
vzprocps: 2.0.11-2
vzquota: 3.0.12-3
pve-qemu-kvm: 1.0-9
ksm-control-daemon: 1.1-1
 

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!