Change IPs on nodes

I hope this will be last question...
Regarding "pvecm expected 1" When both server are UP, I should execute: # pvecm expected 2 ?

Thanks for you help
Regards, Jose
 
Regarding "pvecm expected 1" When both server are UP, I should execute: # pvecm expected 2 ?
Better to do it before you start the second server, you will shortly lose quorum but it is safer this way. After the second server started you will have quroum again.
 
Hello,

Finally I'm going to change IPs next Wednesday, 8th.
Finally allow me stop both nodes (remember I just have two nodes)

Really I will migrate Proxmox Cluster of datacenter.
Right now I have two nodes with a specific IPs. I need to change them to connect them to new datacenter (different building).

I should change IP and then move them.
To change IP:
1. Edit files:
  • /etc/network/interfaces
  • /etc/hosts
  • /etc/pve/corosync.conf
1675172993553.png

1675173042065.png

1675173133620.png
2. Restart nodes
  • # ifdown vmbr0; ifup vmbr0
  • # systemctl restart corosync
3. Stop server
  • shutdown

Then, I will start then in the new location with new IPs.
Could you check my procedure, please?

Regards, Jose