This article describes how to change the management IP address of all hosts in the pool.
High Availability (HA) is disabled
Cluster network is disabled
Disconnected from the WLB server
Avoids loss of communication or WLB misconfiguration during IP change.
Detach any SRs that rely on the management IP
If the SR (e.g., iSCSI or NFS) is connected using the current management IP, update or detach it to avoid SR mount failure after the IP change.
To change the management IP address of all hosts in a pool, it requires host-by-host changes, and there's no way to change all management IPs simultaneously from the pool. Also, changing the management IP can disconnect the host from the pool, so be sure you plan this with minimal workload and console access.
You can change the management IP address from either xsconsole
or XenCenter but you must not change the IP address of the pool master first.
xsconsole
(direct console access)Log into the host's console.
Select Network and Management Interface
.
Choose the correct interface (e.g., eth0).
Modify the IP address, subnet, and gateway.
Save and exit.
Select the host (not the master).
Go to the Networking tab.
Right-click the management interface.
Click Properties > change the IP configuration.
Click OK to apply changes.
Finally, change the IP address of the pool master.
If the changed IP on a pool member causes it to lose communication with the pool coordinator, once all hosts have completed the IP change, you can run the following command on the pool coordinator.
xe pool-recover-slaves
If the above command doesn't work, we can manually specify a host as the pool coordinator using the following command.
xe pool-emergency-reset-master master-address=<management ip of master>