In July of 2012 I wrote a “part 2” regarding XenServer Hosts in halted mode — however I seem to have misplaced part 1 – which I’ve rewritten after having to need to reference these steps again recently.
There are several events which can cause a XenServer Pool to become corrupt. In a recent instance of mine, the pool master was unable to communicate with the HA storage repository (SR) and fenced. I also had another instance where several shutdown unexpectedly, and the pool master was among them. Here are the steps I performed to recover the Pool Master.
- Work on recovering the pool, elect the server you want to become the master, and on that box run “xe pool-emergency-transition-to-master”
- Once that is completed, on the newly elected/transitioned master, run “xe pool-recover-slaves”
- Once that is complete, you should be able to run “xe host-list” and see all of your hosts listed
Based in part on information from: XenServer System Recovery Guide