Cluster with proxmox from nat and real IP

ToWorldMe

New Member
Dec 1, 2022
1
0
1
Hi,

I have a question where I can't a find a solution.

I have a server with in local network. It has local ip with port forwarding on router and configured NoIP. So, configuration set for local server with local IP. It use 6 VMs. In theory, I can temporary stop VMs by technical reason, but it should not be broken

I open ports:
  1. 8006
  2. 5900 - 5999
  3. 3128
  4. 22
  5. 111
  6. 5404-5412
And now I have an another server with white IP in the datacenter. I want to join it as Cluster.

Previously I tried to update connection string (base64 decode, update to NoIP address, base64 decode) and join second server (with real ip) to cluster, but it failed and stop working. Now I reinstall on second server proxmox, but I am stopped with question: how to join as Cluster these 2 servers.

Do you have an idea?

/etc/hosts 1 server is

Code:
127.0.0.1       localhost
192.168.0.164 access.my-server.com access pvelocalhost
#127.0.1.1      access.my-server.com access

# The following lines are desirable for IPv6 capable hosts
::1     localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

/etc/hosts 2 server is

Code:
127.0.0.1 localhost.localdomain localhost
<real-ip-here> Debian
::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