Change cluster node IP in Proxmox Rumi, March 4, 2020 To update the present cluster host proxmox following files need to be updated: /etc/network/interfaces /etc/hosts /etc/pve/corosync.conf (only on one node necessary) However, corosync.conf needs special way to edit the file! Edit corosync.conf Editing the corosync.conf file is not always very straightforward. There are two on each cluster node, one in /etc/pve/corosync.conf and the other in /etc/corosync/corosync.conf. Editing the one in our cluster file system will propagate the changes to the local one, but not vice versa. The configuration will get updated automatically as soon as the file changes. This means changes which can be integrated in a running corosync will take effect immediately. So you should always make a copy and edit that instead, to avoid triggering some unwanted changes by an in-between safe. cp /etc/pve/corosync.conf /etc/pve/corosync.conf.new Then open the config file with your favorite editor, nano and vim.tiny are preinstalled on any Proxmox VE node for example. Always increment the config_version number on configuration changes, omitting this can lead to problems. After making the necessary changes create another copy of the current working configuration file. This serves as a backup if the new configuration fails to apply or makes problems in other ways. cp /etc/pve/corosync.conf /etc/pve/corosync.conf.bak Then move the new configuration file over the old one: mv /etc/pve/corosync.conf.new /etc/pve/corosync.conf You may check with the commands systemctl status corosync journalctl -b -u corosync If the change could be applied automatically. If not you may have to restart the corosync service via: systemctl restart corosync Src: https://forum.proxmox.com/threads/change-cluster-nodes-ip-addresses.33406/ https://pve.proxmox.com/wiki/Cluster_Manager#_corosync_configuration Related Administrations Configurations (Linux) Proxmox Proxmox
Ubuntu repo upgrade from an old unsupported release October 23, 2018 If you want to continue using an outdated release then edit /etc/apt/sources.list and change archive.ubuntu.com and security.ubuntu.com to old-releases.ubuntu.com. You can do this with sed: sudo sed -i -re ‘s/([a-z]{2}\.)?archive.ubuntu.com|security.ubuntu.com/old-releases.ubuntu.com/g’ /etc/apt/sources.list then update with: sudo apt-get update && sudo apt-get dist-upgrade Sometimes, it might be faster to create backups of… Read More
Install Openmediavault on Debian Wheezy/7 October 3, 2015April 27, 2018 First Install Debian minimal Configure your Debian repositories Update the repository sources and add the contrib and non-free repositories. nano /etc/apt/sources.list It should look something like this: deb http://ftp.us.debian.org/debian/ wheezy main contrib non-free deb-src http://ftp.us.debian.org/debian/ wheezy main contrib non-free deb http://security.debian.org/ wheezy/updates main contrib non-free deb-src http://security.debian.org/ wheezy/updates main contrib… Read More
Two Default Gateways on One System May 21, 2015 Problem Description You have built two or more network cards into one Linux system and each of these cards has its own default gateway. By default, you can only have one default gateway on a system. The case described would lead to asynchronous routing, whereby the router would reject the… Read More
This was so helpful! I unfortunately tried to change a nodes IP, but probably didn’t do it in the right order. Ended up having to change the file on the other nodes config file that were still working, and then on the one that wasn’t shut down the corosync service, change the local service file(the one under the corosync folder). I also matched the version ids after the change not sure if that helped. Then I restarted the corosync service, which seemed to make it compare the local one with the one on the cluster since the pve file didn’t match. Reply