cluster on unicast

khaledkhazaee

New Member
Jun 26, 2018
4
0
1
33
hi
i need to configure a cluster on unicast Infrastructure (hetzner datacenter).
i use this:
----------------------------------------------------------------------------------------------
Start by creating the cluster on one of the nodes

pve1# pvecm create YOUR-CLUSTER-NAME

If you’re using unicast instead of multicast, I found it easier to edit the file /etc/pve/corosync.conf and add each cluster node, plus add transport: udpu inside the totem block. Once that was done I rebooted the server. When it came back online, set the expected vote count to 1 using the command

pve1# pvecm e 1

Then on each additional node, you need to add it to the cluster

pve2# pvecm add IP-ADDRESS-CLUSTER
----------------------------------------------------------------------------------------------------
but after doing this the corosync has stoped and client wasnt add to the cluster.
do anyone knows a way for doing this?
and another question, can you guide me about this part:

add each cluster node, plus add transport: udpu inside the totem block.

maybe im doing this in a wrong way!can you tell me with an example?
 
you should simply add
transport: udpu in totem block

(and increase config_version +1).

don't change expected vote # pvecm e 1, don't add other nodes manually in corosync.conf.

reboot (or restart corosync && pve-cluster services)

and then simply add

pve2# pvecm add IP-ADDRESS-CLUSTER
 
thanks for reply.
but i did this and and when i try pvecm add IP-ADDRESS-CLUSTER an error occurred and the second server didnt add to cluster.
do you have any Experience in using Vswitch in hetzner?
 
thanks for reply.
but i did this and and when i try pvecm add IP-ADDRESS-CLUSTER an error occurred and the second server didnt add to cluster.
do you have any Experience in using Vswitch in hetzner?

do you have the error message ?
is the /etc/hosts ok ? (with correct ip address of the management ip of the node)

Never used vswitch from hetzner, but unicast should work out of the box.
 

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!