Pacemaker in Proxmox cluster

JenniferRodriquez

New Member
Jul 6, 2019
1
0
1
31
Hello and thank you for making such a great product.

I need a little bit strange configuration of Proxmox cluster:

1. I need three nodes cluster;
2. node 1 and node 2 have the same hardware configuration and are not used by now (no storage/vms).
3. node 3 is running in production with multiple VMs, some VMs will be migrated to nodes 1 and 2;
4. node 1 and node 2 should implement shared DRBD8 storage, exported as iSCSI target, to be available on all nodes.

DRBD works in active/passive mode, so from DRBD point of view one of two nodes is primary and provides iSCSCI target via floating IP and other is secondary. From Proxmox point of view nodes 1 and 2 are running VM from iSCSI shared storage, with HA enabled.

I understand that it's unsupported configuration, but can not use separate storage cluster because of some technical/organizational constraints :(

Active/passive DRBD storage is implemented now on prototype setup using pacemaker (works quite well). Pacemaker uses corosync, as well as Proxmox.

So is it correct sequence to setup cluster starting with third node, that is running in production already:

1. Create cluster on node 3 (with running VMs);
2. Add another two nodes (without VMs) to cluster;
3. Install pacemaker on node 1 and node 2 and setup pacemaker resources for DRBD/IP/iSCSI using crm shell etc.

Is it safe and are there any possible problems/conflicts with corosync with it?
Is it ok to use pacemaker on proxmox cluster for functionality not implemented in Proxmox?
 

sb-jw

Active Member
Jan 23, 2018
551
49
28
28
What hardware do you have?
I would not recommend to use DRBD, because it is not nativ supported. Did you already checked CEPH? It might be an alternative for you.
 

wolfgang

Proxmox Staff Member
Staff member
Oct 1, 2014
4,987
332
83
Is it safe and are there any possible problems/conflicts with corosync with it?
The pacemaker can use corosync so this should not interfere.
But I didn't test it, so no guarantee.
Is it ok to use pacemaker on proxmox cluster for functionality not implemented in Proxmox?
Yes, but if you have tourble nobody can help you because this is not supported Setup.
I mean all ProxmoxVE components are supported.
If corosync fails because of pacemaker interfere than we will not support this part.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE 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 your own in 60 seconds.

Buy now!