Three nodes cluster Questions

yena

Renowned Member
Nov 18, 2011
378
5
83
Hi,
i have setup a Three nodes cluster + DRBD for testing.
All works well, i have tested HA with manual fencing, great!

I have 2 nodes that can store Virtual Machines in to a shared DRBD
and a third small Proxmox Server only for quorum.

I have some questions:
With 3 nodes, i don't need a quorum disk.. is it true ?
In my third small proxmox server whitout DRBD can i stop rgmanager ?
( update-rc.d rgmanager remove ?? )

How can i notified if a node fails ?



Some info:
--------------------------------------------------------------------------
Member Status: Quorate


Member Name ID Status
------ ---- ---- ------
proxmox-1 1 Online, rgmanager
proxmox-2 2 Online, Local, rgmanager
proxmox-3 3 Online, rgmanager


Service Name Owner (Last) State
------- ---- ----- ------ -----
pvevm:100
--------------------------------------------------------------------------

proxmox-ve-2.6.32: 3.1-109 (running kernel: 2.6.32-23-pve)
pve-manager: 3.1-3 (running version: 3.1-3/dc0e9b0e)
pve-kernel-2.6.32-23-pve: 2.6.32-109
lvm2: 2.02.98-pve4
clvm: 2.02.98-pve4
corosync-pve: 1.4.5-1
openais-pve: 1.1.4-3
libqb0: 0.11.1-2
redhat-cluster-pve: 3.2.0-2
resource-agents-pve: 3.9.2-4
fence-agents-pve: 4.0.0-1
pve-cluster: 3.0-7
qemu-server: 3.1-1
pve-firmware: 1.0-23
libpve-common-perl: 3.0-6
libpve-access-control: 3.0-6
libpve-storage-perl: 3.0-10
pve-libspice-server1: 0.12.4-1
vncterm: 1.1-4
vzctl: 4.0-1pve3
vzprocps: 2.0.11-2
vzquota: 3.1-2
pve-qemu-kvm: 1.4-17
ksm-control-daemon: 1.1-1
glusterfs-client: 3.4.0-2
--------------------------------------------------------------------------

pvecm s
Version: 6.2.0
Config Version: 3
Cluster Name: testC
Cluster Id: 3423
Cluster Member: Yes
Cluster Generation: 936
Membership state: Cluster-Member
Nodes: 3
Expected votes: 2
Total votes: 3
Node votes: 1
Quorum: 2
Active subsystems: 6
Flags:
Ports Bound: 0 177
Node name: proxmox-2
Node ID: 2
Multicast addresses: 239.192.13.108
Node addresses: 192.168.0.2
--------------------------------------------------------------------------
cat /etc/pve/cluster.conf
<?xml version="1.0"?>
<cluster config_version="3" name="testC">
<cman expected_votes="2" keyfile="/var/lib/pve-cluster/corosync.authkey" two_node="0"/>
<fencedevices>
<fencedevice agent="fence_manual" name="human"/>
</fencedevices>
<clusternodes>
<clusternode name="proxmox-1" nodeid="1" votes="1">
<fence>
<method name="single">
<device name="human" nodename="proxmox-1"/>
</method>
</fence>
</clusternode>
<clusternode name="proxmox-2" nodeid="2" votes="1">
<fence>
<method name="single">
<device name="human" nodename="proxmox-2"/>
</method>
</fence>
</clusternode>
<clusternode name="proxmox-3" nodeid="3" votes="1">
<fence>
<method name="single">
<device name="human" nodename="proxmox-3"/>
</method>
</fence>
</clusternode>
</clusternodes>
<rm>
<pvevm autostart="1" vmid="100"/>
</rm>
</cluster>
------------------------------------------------------------

Thanks!
Enrico
 
- With 3 PVE nodes you don't need a quorum disk because here the Qourum of your third PVE mode is working.

- In your third small proxmox server you can stop rgmanager because you don't need the "resource group manager" for activate any VM on this node

- rgmanager don't have notifications yet, but you can add a script that see sthe syslog or message files periodically and send email notificacations

For other side may be that this help you: https://www.redhat.com/archives/linux-cluster/2013-January/msg00030.html.

I never tried this feature.
 

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!