WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: Herbert Laubner <laubner@xxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Problem getting DomU's up after power outage
From: Stefan Dannemann <sd@xxxxxxxxxxxxxxxx>
Date: Wed, 05 Mar 2008 12:38:46 +0100
Delivery-date: Wed, 05 Mar 2008 03:39:27 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C428C016-F5E2-4553-8AEC-45C927E19C79@xxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <C428C016-F5E2-4553-8AEC-45C927E19C79@xxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.6 (X11/20070728)

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

<Prev in Thread] Current Thread [Next in Thread>
  • Re: [Xen-users] Problem getting DomU's up after power outage, Stefan Dannemann <=