From time to time, you might need to change the pool master in your XenServer farm.
Here is a quick guide on how to do it from the CLI of the XenServer. (I do this from the current pool master, just to be sure.)
First you have to disable HA on the pool, if you are using it:
Then we need to list the hosts in the pool, to find all the uuids of the xenservers in the pool
Let’s Promote a new pool master
# xe pool-designate-new-master host-uuid=<type the uuid of the new master>
You should now have a new pool master, if not run the following commands:
Please Note: If the pool master is not available, then a switch has to be enforced to succeed.
re-establish connectio to the slave hosts
You should now have a new pool master for your XenServer farm.