Tuesday, January 5, 2010

Citrix Xen Server: Changing the pool master

Currently, these changes can not be performed from XenCenter so you will have to use the command line.

First, you have a pool of Citrix Xen servers and you want to change the pool master.To control a pool of servers, you would need to connect to the pool master server. Citrix Xen Server populates the management database among all the servers, however only one is the master 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=

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

Enjoy it ...

1 comment:

  1. Brilliant! I have been looking for a fix like this for days now. Thanks! Buy Backlink

    ReplyDelete