Today our company did some disaster recovery testing. I have two xen servers (sles10sp1) that use storage space on a SAN. I''m told the xen servers were shutdown correctly, but at this point I''m not really sure. I have a few domU''s that came up correctly and I have a couple that came up without networking. If I try to restart the network it says: "No configuration found for eth6" If I look at /etc/sysconfig/network the configuration file is there. Even if I delete the card and re-add it, it still says the configuration cannot be found. Anyone know what I should do here? Thanks, James _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Sat, 2008-11-22 at 20:51 -0500, James Pifer wrote:> Today our company did some disaster recovery testing. I have two xen > servers (sles10sp1) that use storage space on a SAN. I''m told the xen > servers were shutdown correctly, but at this point I''m not really sure. > I have a few domU''s that came up correctly and I have a couple that came > up without networking. > > If I try to restart the network it says: > "No configuration found for eth6" > > If I look at /etc/sysconfig/network the configuration file is there. > > Even if I delete the card and re-add it, it still says the configuration > cannot be found. > > Anyone know what I should do here?I have 5 linux domU''s (all sles10). Only one of them came up with the network. The other four all have the same problem. One thing I noticed is on the working domU running the command "hwinfo --netcard" contains this line: HW Address: 00:16:3e:21:24:a7 On the domU''s that are broken the command gives almost the same output, but they are all missing the HW address line. Does that help? Thanks, James _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Javier Guerra Giraldez
2008-Nov-23 02:24 UTC
Re: [Xen-users] Lost Network on domU''s - Please Help
On Saturday 22 November 2008, James Pifer wrote:> On the domU''s that are broken the command gives almost the same output, > but they are all missing the HW address line.Suse net scripts tie the card definitions to the MAC address. if it changes, it will think it''s a new card and not configure it by default. it''s best to always specify the MAC address. (also because some other machines might not like if a server changes a MAC address) -- Javier _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Sat, 2008-11-22 at 21:24 -0500, Javier Guerra Giraldez wrote:> On Saturday 22 November 2008, James Pifer wrote: > > On the domU''s that are broken the command gives almost the same output, > > but they are all missing the HW address line. > > Suse net scripts tie the card definitions to the MAC address. if it changes, > it will think it''s a new card and not configure it by default. > > it''s best to always specify the MAC address. (also because some other > machines might not like if a server changes a MAC address) > >Any suggestions on a fix? I''ve even tried deleting them in yast and resetting them up, but they still don''t come up. Thanks, James _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Thomas Goirand
2008-Nov-23 04:06 UTC
Re: [Xen-users] Lost Network on domU''s - Please Help
James Pifer wrote:> On Sat, 2008-11-22 at 21:24 -0500, Javier Guerra Giraldez wrote: >> On Saturday 22 November 2008, James Pifer wrote: >>> On the domU''s that are broken the command gives almost the same output, >>> but they are all missing the HW address line. >> Suse net scripts tie the card definitions to the MAC address. if it changes, >> it will think it''s a new card and not configure it by default. >> >> it''s best to always specify the MAC address. (also because some other >> machines might not like if a server changes a MAC address) >> >> > > Any suggestions on a fix? I''ve even tried deleting them in yast and > resetting them up, but they still don''t come up. > > Thanks, > JamesMy suggestion is that you make the start of xend BEFORE doing a configuration using the ethX:Y. If you don''t, then you might have serious issues with the bridging. I''m not sure if that helps... Thomas _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> My suggestion is that you make the start of xend BEFORE doing a > configuration using the ethX:Y. If you don''t, then you might have > serious issues with the bridging. I''m not sure if that helps... > > ThomasThanks. I was able to get all the systems back on the network. For whatever reason, "hwinfo --netcard" started showing a mac address. I deleted the nic in yast, and reconfigured it matching the mac address and this worked. This is ok for all the systems but one. One of them uses software that licenses based on the mac address, so I need to figure out how to make it use the old mac address. Not sure how to force that at the moment. James _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
James Pifer wrote:>so I need to figure out how to make >it use the old mac address. Not sure how to force that at the moment.Add a "mac=00:16:3e:xx:xx:xx" statement to the vif declaration in the guest config file. -- Simon Hobson Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed author Gladys Hobson. Novels - poetry - short stories - ideal as Christmas stocking fillers. Some available as e-books. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Alexander Hoßdorf
2008-Nov-23 11:13 UTC
Re: [Xen-users] Lost Network on domU''s - Please Help
Simon Hobson schrieb:> James Pifer wrote: > >> so I need to figure out how to make >> it use the old mac address. Not sure how to force that at the moment. > > Add a "mac=00:16:3e:xx:xx:xx" statement to the vif declaration in the > guest config file. >Hi, probably you should do this for all your VMs to avoid networking errors after rebooting Dom0. Cheers, Alex _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Alexander Schreiber
2008-Nov-23 13:08 UTC
Re: [Xen-users] Lost Network on domU''s - Please Help
On Sat, Nov 22, 2008 at 08:51:31PM -0500, James Pifer wrote:> Today our company did some disaster recovery testing. I have two xen > servers (sles10sp1) that use storage space on a SAN. I''m told the xen > servers were shutdown correctly, but at this point I''m not really sure. > I have a few domU''s that came up correctly and I have a couple that came > up without networking. > > If I try to restart the network it says: > "No configuration found for eth6" > > If I look at /etc/sysconfig/network the configuration file is there. > > Even if I delete the card and re-add it, it still says the configuration > cannot be found. > > Anyone know what I should do here?Did you configure a fixed MAC[0] address for your domUs? SLES has the annoying habit of tying the network configuration to the MAC address of the interface. If your domUs came up with different MAC addresses, they won''t be configured. Regards, Alex. [0] In the Xen config file for the domU -- "Opportunity is missed by most people because it is dressed in overalls and looks like work." -- Thomas A. Edison _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Alexander Hoßdorf wrote:>>Add a "mac=00:16:3e:xx:xx:xx" statement to the >>vif declaration in the guest config file.>probably you should do this for all your VMs to >avoid networking errors after rebooting Dom0.I do, I also have monitoring in place that checks the arp response to every address on the public network - to detect those ''unfortunate'' occasions when someone plugs in a device (mis)configured on an important IP address :-/ Damn those ''designers'' who make equipment default to not doing Pings ! -- Simon Hobson Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed author Gladys Hobson. Novels - poetry - short stories - ideal as Christmas stocking fillers. Some available as e-books. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Sun, 2008-11-23 at 10:22 +0000, Simon Hobson wrote:> James Pifer wrote: > > >so I need to figure out how to make > >it use the old mac address. Not sure how to force that at the moment. > > Add a "mac=00:16:3e:xx:xx:xx" statement to the vif declaration in the > guest config file. >I tried modifying my config file. It now has this line: vif=[ ''mac=00:16:3e:7e:b4:73'', ] I rebooted and hwinfo --netcard still shows the other mac address. Should it reflect the one above? Thanks, James _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
James Pifer wrote:>I rebooted and hwinfo --netcard still shows the other mac address. >Should it reflect the one above?It does on mine. -- Simon Hobson Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed author Gladys Hobson. Novels - poetry - short stories - ideal as Christmas stocking fillers. Some available as e-books. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users