Hi all, We are trying XCP and want to use it in our production environment, It’s really a perfect project!! But we have a strange problem now. When we try to move a XCP Hypervisor from Pool A to Pool B, Then it lost the network connection, and we use console to check XCP Hypervisor, The XCP Hypervisor console shows it cannot find any Host NIC, We try to use xe-reset-networking, and after reboot, the first NIC is on but xsconsole still not show the NIC I paste the /etc/firstboot.d/log/30-prepare-networking.log, and find some log : + unset MODE IP NETMASK GATEWAY DOMAIN PIF LABEL + for iface in '${INTERFACES}' + '[' '!' -e /etc/firstboot.d/data/interface-68:b5:99:79:f6:18.conf ']' + source /etc/firstboot.d/data/interface-68:b5:99:79:f6:18.conf ++ LABEL=eth0 ++ MODE=static ++ IP=10.144.138.3 ++ NETMASK=255.255.255.0 ++ GATEWAY=10.144.138.254 ++ DNS=10.160.1.9,10.160.128.9 ++ /opt/xensource/bin/xe pif-introduce mac=68:b5:99:79:f6:18 host-uuid=ff1e31f4-4937-43e1-92df-cf189d68b3bb device=eth0 Error: Connection refused (calling connect ) + PIF+ logger 'Warning: PIF introduce failed with mac 68:b5:99:79:f6:18' ++ /opt/xensource/bin/xe pif-list host-uuid=ff1e31f4-4937-43e1-92df-cf189d68b3bb MAC=68:b5:99:79:f6:18 params=uuid --minimal Error: Connection refused (calling connect ) + PIF+ logger 'Warning: cannot configure IP settings for PIF with mac 68:b5:99:79:f6:18' + unset MODE IP NETMASK GATEWAY DOMAIN PIF LABEL + '[' x68:b5:99:79:f6:18 '!=' x ']' ++ /opt/xensource/bin/xe pif-list params=uuid MAC=68:b5:99:79:f6:18 --minimal Error: Connection refused (calling connect ) Is there anyone have the same problem? Or can give some poing to figure out what happen? Thanks a lot!!!! Klein, _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Denis Cardon
2011-Jun-09 07:59 UTC
Re: [Xen-users] RE: XCP - Cannot find host NIC with XCP
HI Xianhui,> We are trying XCP and want to use it in our production environment, > > It’s really a perfect project!! > > But we have a strange problem now. > > When we try to move a XCP Hypervisor from Pool A to Pool B,You could tried to pif-forget and pif-introduce the network interface as per the following doc : http://support.citrix.com/article/CTX121615 However the easiest thing to do when moving a server from one pool to another, I think, is to get the host out of the pool, re-install it and join it to the new pool. It should take 5-10 minutes. If the servers is on the other side of the island and you don''t have advanced ipmi/ilo card for re-install, then it is another story. Cheers, Denis> > Then it lost the network connection, and we use console to check XCP > Hypervisor, > > The XCP Hypervisor console shows it cannot find any Host NIC, > > We try to use xe-reset-networking, and after reboot, the first NIC is on > but xsconsole still not show the NIC > > I paste the /etc/firstboot.d/log/30-prepare-networking.log, and find > some log : > > + unset MODE IP NETMASK GATEWAY DOMAIN PIF LABEL > > + for iface in ''${INTERFACES}'' > > + ''['' ''!'' -e /etc/firstboot.d/data/interface-68:b5:99:79:f6:18.conf '']'' > > + source /etc/firstboot.d/data/interface-68:b5:99:79:f6:18.conf > > ++ LABEL=eth0 > > ++ MODE=static > > ++ IP=10.144.138.3 > > ++ NETMASK=255.255.255.0 > > ++ GATEWAY=10.144.138.254 > > ++ DNS=10.160.1.9,10.160.128.9 > > ++ /opt/xensource/bin/xe pif-introduce mac=68:b5:99:79:f6:18 > host-uuid=ff1e31f4-4937-43e1-92df-cf189d68b3bb device=eth0 > > Error: Connection refused (calling connect ) > > + PIF> > + logger ''Warning: PIF introduce failed with mac 68:b5:99:79:f6:18'' > > ++ /opt/xensource/bin/xe pif-list > host-uuid=ff1e31f4-4937-43e1-92df-cf189d68b3bb MAC=68:b5:99:79:f6:18 > params=uuid --minimal > > Error: Connection refused (calling connect ) > > + PIF> > + logger ''Warning: cannot configure IP settings for PIF with mac > 68:b5:99:79:f6:18'' > > + unset MODE IP NETMASK GATEWAY DOMAIN PIF LABEL > > + ''['' x68:b5:99:79:f6:18 ''!='' x '']'' > > ++ /opt/xensource/bin/xe pif-list params=uuid MAC=68:b5:99:79:f6:18 > --minimal > > Error: Connection refused (calling connect ) > > Is there anyone have the same problem? > > Or can give some poing to figure out what happen? > > Thanks a lot!!!! > > Klein, > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users-- Denis Cardon Tranquil IT Systems 44 bvd des pas enchantés 44230 Saint Sébastien sur Loire tel : +33 (0) 2.40.97.57.57 http://www.tranquil-it-systems.fr _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users