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] UUID info and VIF info

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] UUID info and VIF info
From: Bartosz Lis <bartoszl@xxxxxxxxxxxxx>
Date: Wed, 4 Jun 2008 09:11:04 +0200
Delivery-date: Wed, 04 Jun 2008 00:11:35 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <m3r6berog7.fsf@xxxxxxxxxxxxxxxxxx>
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>
Organization: Politechnika Łódzka
References: <4845EA59.3070107@xxxxxxxxxxxxxxx> <m3r6berog7.fsf@xxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: PLD Linux KMail/1.9.9
Wednesday 04 of June 2008 03:14:32 Luke S Crawford napisał(a):
> Erin Hughes <eredicatorx@xxxxxxxxxxxxxxx> writes:
> > A mistake in sys admining on my part has caused a major malfunction.
> >
> > I created a domain called max01 and some where along the line I
> > noticed that I deleted the host configuration file in /etc/xen/
> > YES a backup of /etc would be nice right now but, I do not have one.
> >
> > vif = [ "mac=00:16:3e:5d:04:1c,bridge=xenbr0,type=ioemu" ]
> >
> >
> > It does not seem so difficult but where would I get the UUID info and
> > VIF info?
>
> First, if the box is still up, you can
>
> xm list -l domainname
>
> that will give you the old values.
>
>
> You can leave out the UUID completely.
>
> You can also leave out the  mac='...' value from the vif and it will
> generate a mac address for you (every time you reboot, so you might want to
> pick a non-conflicting mac address)
>
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users

Hi,

I have ubuntu in one of my domUs. It's crucial to specify MAC when defining 
vifs. If the MAC is autoregenerated, ubuntu udev scripts recognize the vif as 
a different NIC and the NIC is named eth1. After subsequent reboots it is 
renamed to eth2, eth3, ... This way your vif does not use IP settings, you've 
defined for eth0, and your domU get inaccessible from the network. 

Similar things happen if your domU looks for vif's IP settings in DHCP.

So, if you have ubuntu, look into /etc/udev/rules.d/70-persistent-net.rules on 
it. If its down, you can safely mount its root partition (remember to 
unmount).

Kind regards,

-- 
Bartosz Lis @ Institute of Comp. Science, Technical University of Lodz, Poland
   bartoszl @ ics.p.lodz.pl

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

<Prev in Thread] Current Thread [Next in Thread>