HA setup

raj

Renowned Member
Sep 17, 2011
219
4
83
www.businessparksolutions.com
Hi Team,

Can anyone please assist. I read about setting up a cluster. I have 3 IBM boxes all identical and the storage will be shared external from a nas. I am trying to understand how to get all quorum traffic on 1 specific nic. Box has 4 nics, currently 2 set in a bond on each box. All 3 boxes are new clean install.

Rajbps
 
Hiya, Sorry just replying back now. I read that and still have a few questions. In the begining, it says to build up static network. This I assume is done on the 3rd nic that is not used currently.
nic 1 and nic 2 are bond together. nic 3 and noc 4 are free. Can I create a bond with nic 3 and 4 and lets say have an ip of 192.168.2.11. That network will be on a seperate vlan. The idea of the bond interface would be nic 3 would connect to switch 1 and nic 4 would connect on switch2.
The switches run in a stack.
On the second server I do the same but here the bond would be 192.168.2.12 and the third one would be 192.168.2.13

Then modify the /etc/hosts

127.0.0.1 localhost.localdomain localhost
192.168.0.11 one.proxmox.com one pvelocalhost

# corosync network hosts
192.168.2.11 one-corosync.proxmox.com one-corosync
192.168.2.12 two-corosync.proxmox.com two-corosync
192.168.2.13 three-corosync.proxmox.com three-corosync

Then to bindnetaddr
pvecm create Cluster01 -bindnet0_addr 192.168.2.11 -ring0_addr one-corosync

I am unsure if I got this right or I should not create a bond but instead another vlan ie vlan 3 then nic 3 would be 192.168.2.11 and nic 4 woul dbe 192.168.4.11

Then my /etc/hosts would look like

127.0.0.1 localhost.localdomain localhost
192.168.0.11 one.proxmox.com one pvelocalhost

# corosync network hosts
192.168.2.11 one-corosync.proxmox.com one-corosync
192.168.3.11 one-corosync.proxmox.com one-corosync
192.168.2.12 two-corosync.proxmox.com two-corosync
192.168.3.12 two-corosync.proxmox.com two-corosync
192.168.2.13 three-corosync.proxmox.com three-corosync
192.168.3.13 three-corosync.proxmox.com three-corosync

Then to bindnetaddr
pvecm create Cluster01 -bindnet0_addr 192.168.2.11 -ring1_addr one-corosync


Can anyone please advise.

This is going to be a new setup. Only thing completed till now has been hosts installed and updated. Bond interfaces created.

Rajbps
 
Yes, use the first one. I'm running it in a similar setup with one bonded interface per node with two different switches.
 
Hi Team,

Can anyone advise if the following is the command to run. For 2 networks for the cluster traffic. So it will be 192.168.2.11 and 192.168.3.11 for the first box. The vbrm0 ip address is 192.168.0.11. For the second box it will be 192.168.2.12 and 192.168.3.12 and vbr0 interface 192.168.0.12. Third box will be something similar ending with 13.
Now to create the cluster, I am unsure of the command string. Should it be

pvecm create cluster01 -bindnet0_addr 192.168.0.11 -ring0_addr 192.168.2.11 -ring1_addr 192.168.3.11 -rrp_mode passive

Can anyone please confirm this and then how do join the rest of the nodes to the cluster please.
 

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!