I have 4 servers running PMG (debian 11.5 and last PMG stable version).
The IP is configured through DHCP from the datacenter. Everyday all VMs are losing the DHCP, and they lose at the same time (they stop to talk with each other and then they lose the external network comunication). When I use the remote console viewer from the datacenter, I can login and see that the network is down (no IP configured).
And when I try to restart the network service (/etc/init.d/networking restart, as root) I can see "RTNETLINK answers: Permission denied", but it works (however tge systemd unit networking is down). And if I reboot the VM, it will start to work again, getting the IP and syncing with node master, but in the next morning everything will happen again.
My questions:
The IP is configured through DHCP from the datacenter. Everyday all VMs are losing the DHCP, and they lose at the same time (they stop to talk with each other and then they lose the external network comunication). When I use the remote console viewer from the datacenter, I can login and see that the network is down (no IP configured).
And when I try to restart the network service (/etc/init.d/networking restart, as root) I can see "RTNETLINK answers: Permission denied", but it works (however tge systemd unit networking is down). And if I reboot the VM, it will start to work again, getting the IP and syncing with node master, but in the next morning everything will happen again.
My questions:
- In which case PMG can take control of the network and do that? or is not possible?
- When I was installing this PMG Cluster, I had to manually fix the cluster.conf because, for some reason, the PMG was configuring the Hetzner private ip gateway instead of the public IP, even if that network was not configured there (the private ip). I have no idea why PMG was doing that. Also, I had to put off the ipv6 network stack because PMG was binding ipv6 instead of ipv4, without give me any option to choose. i know that PMG will listen both, but it will try to configure the nodes to use ipv6, what I do not want.
- Do I need to change any other file than cluster.conf to fix this?
- This can cause the network ip problem? I do not see any reason to PMG touch in the network config, but, well, maybe there is a reason...