SRV networking -reload error in Proxmox

While updating the network settings in a node, you may encounter the following error:
eth0 : error: eth0: cmd ‘/sbin/dhclient -pf /run/dhclient.eth0.pid -lf /var/lib/dhcp/dhclient.eth0.leases eth0’ failed: returned 1
TASK ERROR: command ‘ifreload -a’ failed: exit code 1
To fix it, go to /etc/network/interfaces.d, edit the file “setup”, comment out the following two lines:
auto eth0
iface eth0 inet dhcp

Continue ReadingSRV networking -reload error in Proxmox

How to remove cluster from proxmox?

Execute the following commands via proxmox shell or ssh terminal(recommened). In this way you don’t have to empty all VMs from a node before removing a cluster from it.

# sudo systemctl restart pve-cluster
# sudo pmxcfs -l
[main] notice: forcing local mode (although corosync.conf exists)
# sudo rm -f /etc/pve/cluster.conf /etc/pve/corosync.conf
# sudo rm -f /var/lib/pve-cluster/corosync.authkey
# sudo systemctl stop pve-cluster
# sudo rm /var/lib/pve-cluster/.pmxcfs.lockfile
# sudo systemctl restart pve-cluster
# sudo systemctl restart pvedaemon
# sudo systemctl restart pveproxy
# sudo systemctl restart pvestatd

Continue ReadingHow to remove cluster from proxmox?