If you want to change the master server incase master is down Use this command to setup a new slave server

Go to the slave server that you want to use as pool master.

Disable HA.

#xe pool-ha-disable

List UUID for all the hosts

#xe host-list

Promote slave

# xe pool-designate-new-master host-uuid=<new XenServer host uuid>

Easy right!!!

If the pool master is down , use the following commands.

#xe pool-emergency-transition-to-master

then re-establish connectio to the slaves.

# xe pool-recover-slaves