% Modification d'adresses IP dans un serveur Proxmox ------ ------ Comment modifier les IP de nœuds sur un cluster Proxmox: 1. Bien lire les deux ressources ci-dessous 2. Réaliser les opérations décrites dans la seconde en suivant les instructions décrites dans la première ``` on each node one by one : 1. Change IP assigned to vmbr0, add network settings for the new interface so cluster can communicate. 2. FAIRE CHAQUE OPERATION DÉCRITE CI-DESSOUS with the new ip, and increment the config_version setting 3. edit the /etc/hosts with the new ip value 4. Reboot the node 5. wait for the node to reboot and perform next node, until end of nodes. ``` ```bash # stop corosync and pmxcfs on all nodes $ systemctl stop corosync pve-cluster # start pmxcfs in local mode on all nodes $ pmxcfs -l # put correct corosync config into local pmxcfs and corosync config dir (make sure to bump the 'config_version' inside the config file) $ cp correct_corosync.conf /etc/pve/corosync.conf $ cp correct_corosync.conf /etc/corosync/corosync.conf # kill local pmxcfs $ killall pmxcfs # start corosync and pmxcfs again $ systemctl start pve-cluster corosync # check status $ journalctl --since '-5min' -u pve-cluster -u corosync $ pvecm status ``` 1. [Made mistake in corosync.conf; now cannot edit | Proxmox Support Forum](https://forum.proxmox.com/threads/made-mistake-in-corosync-conf-now-cannot-edit.77173/post-342983) 2. [Change Cluster Nodes IP Addresses](https://forum.proxmox.com/threads/change-cluster-nodes-ip-addresses.33406/post-321731)