When a host is in maintenance mode, it cannot run VMs. When you put a clustered host into maintenance mode, the action it takes is to move all it's VMs to another host in the cluster (assuming there are sufficient resources on other hosts to take those VMs. I don't know what happens if those resources aren't available on other hosts).
Since you need to re-IP both the hosts and vCenter, you cannot put the hosts into maintenance mode for this, unless you are okay with scheduling the downtime to shutdown all your VMs. Also, because you have a standalone host, you don't have the option of putting it into maintenance mode unless you are okay with the VMs that are running on it being shut down first. The host cannot be in maintenance mode and also be running VMs. See reference below.
https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.resmgmt.doc/GUID-8F705E83-6788-42D4...
Here is VMware's KB on how to change the management IP address. But, the catch is that you also want to change your vCenter IP address, which is not part of the scenario that they describe in the KB. Technically, it does say that you should disable HA on the cluster before proceeding, to prevent any potential failover events. So I will stand corrected on that point from my original comment.
https://kb.vmware.com/s/article/2084629
If the new IP addresses that you want are on the same subnet as the current IPs, then I would just change the vCenter IP first. I believe vCenter reaches out to the hosts, so no disconnect should happen since vCenter will just reach back out to the hosts again, once it's done applying the change to itself. After that, disable HA and then run through the steps I listed above. Or follow the steps in the article I just linked to above.
However, if the new IP addresses that you want are on a new subnet, then I believe you will need to disable HA, remove the hosts from the cluster, re-IP vCenter, re-IP the hosts, and then re-add the hosts to vCenter.
But no maintenance mode unless you want to shut down all your VMs. Hosts that are in maintenance mode cannot run VMs.
Was this post helpful?
thumb_up
thumb_down