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-api

RE: [Xen-API] after pool-eject, ip address of ejected host is corrupted

To: 'Anthony Xu' <anthony@xxxxxxxxx>, "xen-api@xxxxxxxxxxxxxxxxxxx" <xen-api@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-API] after pool-eject, ip address of ejected host is corrupted
From: Dave Scott <Dave.Scott@xxxxxxxxxxxxx>
Date: Wed, 7 Jul 2010 11:14:28 +0100
Accept-language: en-US
Acceptlanguage: en-US
Cc: Rob Hoes <Rob.Hoes@xxxxxxxxxx>
Delivery-date: Wed, 07 Jul 2010 03:15:11 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1278472610.3208.70.camel@localhost>
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
References: <1278472610.3208.70.camel@localhost>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcsdtyPdOZTh8zvAS5yC9VZKKzR61AABeK4w
Thread-topic: [Xen-API] after pool-eject, ip address of ejected host is corrupted
Hi,
 
> Hi all,
> 
> I have two host:
> H1: 192.168.1.111  ( pif ip address is 192.168.1.111)
> H2: 192.168.1.112  (pif ip address is 192.168.1.112)
> 
> they are in a pool, H1 is master, after I pool-eject H2, H2 reboots.
> after reboot, there is not ip address for nic/bridge if I execute
> ifconfig. And I found out pif ip address of H2 is 192.168.1.111(which
> is
> H1's ip address).
> 
> That means I need go to lab to reconfigure H2 ip address every time I
> pool-eject it. It's not convenient.
> 
> Is there any way the host ip address is preserved after it is
> pool-ejected?
> 
> Thanks in advance!

I think what happens is that the "firstboot" init.d script is run on the host 
after eject. This uses configuration written by the host installer in 
/etc/firstboot.d/data/... which might be slightly out-of-date.

I think Rob [cc:d] has some thoughts on how to make this more sensible :-)

Cheers,
Dave

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api