XenServer “no manager interface configured”

xenserver 有时候会出现“no manager interface configured” "<No interfaces present>"的提示,尤其是在更新以后,这里给出解决办法

1、把这台xenserver从POOL中剔除(如果没有加入POOL可以跳过这一步)


xe host-list

uuid ( RO)                : 328dbe1c-4b63-4843-b8b3-40ad30acf3db
          name-label ( RW): rischa-xen02
    name-description ( RW): Default install of XenServerThen I made the pool master forget the “dead” server with:

xe host-forget uuid=328dbe1c-4b63-4843-b8b3-40ad30acf3db

2、把这台xenserver的存储卸载


xe sr-list


Gave me:

..snip..
uuid ( RO)                : 28006370-23ab-9975-e33c-7f06a1b88516
          name-label ( RW): Removable storage
    name-description ( RW):
                host ( RO): <not in database>
                type ( RO): udev
        content-type ( RO): disk

uuid ( RO)                : f6bf51a8-26b7-4c82-b4f2-8be70ca7263b
          name-label ( RW): Local storage
    name-description ( RW):
                host ( RO): <not in database>
                type ( RO): lvm
        content-type ( RO): user

uuid ( RO)                : b4adcc4f-86c3-8cba-2e76-44ffe4f24805
          name-label ( RW): DVD drives
    name-description ( RW): Physical DVD drives
                host ( RO): <not in database>
                type ( RO): udev
        content-type ( RO): iso
..snip..(通常情况下SR’s 的状态会显示<not in database>”, 因此我们把它删除掉

xe sr-forget uuid=28006370-23ab-9975-e33c-7f06a1b88516
xe sr-forget uuid=f6bf51a8-26b7-4c82-b4f2-8be70ca7263b
xe sr-forget uuid=b4adcc4f-86c3-8cba-2e76-44ffe4f24805

3、现在,我们的xenserver已经从POOL中剔除,登陆这台xenserver的控制台


mv /var/xapi/state.db /var/xapi/state.db_old

xe pool-emergency-transition-to-master

xe pif-scan host-uuid=328dbe1c-4b63-4843-b8b3-40ad30acf3db

xe pif-list


应该会有如下显示


uuid ( RO)                  : 3cdafc3d-438b-0c42-e220-767f373cc0e6
                device ( RO): eth1
    currently-attached ( RO): true
                  VLAN ( RO): -1
          network-uuid ( RO): e7797467-a284-3d2c-e1b4-bb5697d2511c


uuid ( RO)                  : 6e025c8f-109c-4603-80db-0cdcc28e5219
                device ( RO): eth0
    currently-attached ( RO): false
                  VLAN ( RO): -1
          network-uuid ( RO): a662c677-2d6b-808a-666f-b5fb0a5b436b现在运行“xsconsole” 你应该能看到网络了,在把它重新加到xencenter中,OK
如果按我的方法做的解决了,麻烦评论下。

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:http://www.heiqu.com/83e3154ad5fdfff9bb5a9ddf2a090d49.html