Cluster networking question
invalid@exam
·
2026-03-30
·
via Proxmox Support Forum
Hi,
Currently we have 2 virtual PMG 9.0.6 nodes in a cluster, each node has 2 nic's, one with a local (192.168.*.*) ip, and one with a public IP. Currently the cluster is configured over the private subnet.
We now want to add a third node to the cluster, but this node is in a different location and has no access to the private ip space.
- Is it possible to just join this node to the cluster using the public IP of the master node, and will this function correctly?
- And if not, is there a way to change the current cluster to use the public network interfaces instead of the private ones?
We eventually created a test cluster to just test the different questions and solutions. What we ended up doing that worked perfectly:
- Made sure all nodes were able to communicate over port 22 and 8006 on the public IP
- updated /etc/hosts and changed the private ip for the node hostname to the public IP
- Changed the private ip to the public ip in /etc/pmg/cluster.conf on both nodes
- Rebooted node 1, and then rebooted node 2 when 1 was back online
- Validated the cluster worked as expected
- add the new node with the public ip
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。