XenServer cannot connect in XenCenter or XCP-ng Center
XenServer Cannot Connect Overview
Having problems and your XenServer cannot connect to XenCenter? Did you have high availability enabled? If you answered yes to both these questions here is how you get your XenServer back online and functioning properly.
Step-by-Step Guide
- PuTTy into the XenServer
- run the following commands:
xe host-emergency-ha-disable force=true
xe pool-emergency-transition-to-master --force
Note: --force is only needed if the XenServer IS the pool master
- wait one minute for a reboot, however, if a reboot doesn't happen then run
xe-toolstack-restart
- Go into your XenCenter and re-connect
Conclusion
This will get your server back up and accessible, however, this disables high availability and will need to be set back up. It's important to note the cause of an event like this. In my case, the SR I was using to host my VMs was not sufficient and caused the outage. If this happens to you make sure you have a good SAN/NAS for hosting on a Gigabit or above connection. I'd highly recommend a 10Gbs connection or a multipath gigabit connection at the very least.Leave any Questions and Comments below and I will get back to you. I regularly publish on YouTube, Steemit, and christitus.com so if you’d like to see more videos and articles click the subscribe button in the top right.
Posted from my blog with SteemPress : https://www.christitus.com/2018/10/01/xenserver-cannot-connect/