XenServer manager not shown under xsconsole

By mistake if you have made changes to management IP address of XenServer while it was in pool , you will land up in weird situation where xsconsole will not show any nic to be configured for management interface as shown below

and this

Where as ifconfig will list all the NIC listed out

Restarting xe-toolstack-restart does not help either and running xe network-list will give message "The host toolstack is still initializing . Please wait "

Infcact running any xe command will throw weird error like "htto_client. Http_request_rejected"

First check the out of xe host-is-in-emergency-mode. If the output is "True" then that is the whole reason of problem. Change this from "True " to "False" by running "xe pool-emergency-transition-to-master".
Rerun " xe host-is-in-emergency-mode" and make sure out is "False". Restart xe-toolstack-restart and wallah you will see all the NIC is back

留言

這個網誌中的熱門文章

Json概述以及python對json的相關操作

Docker容器日誌查看與清理

利用 Keepalived 提供 VIP