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
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!