[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Problem getting DomU's up after power outage




Hi Herbert,

what shows ifconfig. Does your eth0/peth0 show the right MAC address. Or is your device renamed to eth1.

Xen plus udev confuses device nameing and MAC addresses after reset or powerfail. See etc/udev/rules.d/70-persistent-net.rules (I have ubuntu)

This helped for me.
* Get rid of all network devices:
  ifconfig vif*/xenbr* down
  brctl delbr xenbr*
* Assign MAC address again to device eth0:
  ifconfig eth0 down hw ether 00:11:22:33:44:55

* Unload and load network module
  modprobe -r r8169 ; modprobe r8169 # (or whatever you have)

* check device name and mac address:
  ifconfig.

After the next reboot the DomU should go up.

For me (only one NIC) helped the workaround in /etc/init.d/xend in the "stop" section.
After "xend stop" I do a
 ifconfig eth0 down hw ether 00:11:22:33:44:55 >/var/log/setNICmac.log  2>&1
 ifconfig eth1 down hw ether 00:11:22:33:44:55 >>/var/log/setNICmac.log 2>>&1

I would be happy to have a real solution, not this workaround.

Stefan

Herbert Laubner wrote:
Hi list,

I had a power outage this morning and past that only the Dom0 starts with it's services (DNS, DHCP).

with the  DomU's I have no clue were to look for. Here the log-files:


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.