Cluster network issue

hidalgo

Renowned Member
Nov 11, 2016
62
0
71
58
I got a cluster with 2 nodes (Proxmox 4.3). Each of these nodes has 2 NIC, one with a public IP (vmbr0), one with a private IP (cluster network) on vmbr1. I can ping each other, on pvecm status it shows the private IPs and I can ssh without password, i. e. with keys.
But I cannot migrate a VM from one node to the other. The error says node 2 with [public IP] is not reachable. After a little bit confusing I found out /etc/pve/.members contains nodes with their public IPs. How to correct this? I cannot change this file.
 
I got a cluster with 2 nodes (Proxmox 4.3). Each of these nodes has 2 NIC, one with a public IP (vmbr0), one with a private IP (cluster network) on vmbr1. I can ping each other, on pvecm status it shows the private IPs and I can ssh without password, i. e. with keys.
But I cannot migrate a VM from one node to the other. The error says node 2 with [public IP] is not reachable. After a little bit confusing I found out /etc/pve/.members contains nodes with their public IPs. How to correct this? I cannot change this file.

I am not 100% positive but I am going to guess it gets those IP's from what is set in the hosts file. Do you have the hosts file setup using your cluster IP's and not the public IP's?
 
I got all of the IPs in my hosts file. I don’t think I can delete my public IPs there. I think I could not reach my nodes from my LAN then, because my private net is only between the two nodes (point to point).
 
I got all of the IPs in my hosts file. I don’t think I can delete my public IPs there. I think I could not reach my nodes from my LAN then, because my private net is only between the two nodes (point to point).

Can you post up your hosts file and what IP's should be your cluster network?
 
Sorry for my delay. Here are the files:
Code:
127.0.0.1 localhost.localdomain localhost
130.xx.xx.xx server1.example com server1 pvelocalhost

192.168.100.10 server1_cluster
192.168.100.11 server2_cluster

# The following lines are desirable for IPv6 capable hosts
Code:
127.0.0.1 localhost.localdomain localhost
130.xx.xx.xy server2.example com server2 pvelocalhost

192.168.100.10 server1_cluster
192.168.100.11 server2_cluster

# The following lines are desirable for IPv6 capable hosts
 
Sorry for my delay. Here are the files:
Code:
127.0.0.1 localhost.localdomain localhost
130.xx.xx.xx server1.example com server1 pvelocalhost

192.168.100.10 server1_cluster
192.168.100.11 server2_cluster

# The following lines are desirable for IPv6 capable hosts
Code:
127.0.0.1 localhost.localdomain localhost
130.xx.xx.xy server2.example com server2 pvelocalhost

192.168.100.10 server1_cluster
192.168.100.11 server2_cluster

# The following lines are desirable for IPv6 capable hosts

That looks like your issue. Your cluster IP's need to go in place of the public IP's. I don't think there is anyway around that.

192.168.100.10 server1.example com server1 pvelocalhost
 
  • Like
Reactions: hidalgo
That looks like your issue. Your cluster IP's need to go in place of the public IP's. I don't think there is anyway around that.

192.168.100.10 server1.example com server1 pvelocalhost

Thanks a lot, it works now.