After instllation, /etc/hosts is,
127.0.0.1 node01.localdomain node01 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6

I changed the first line to
127.0.0.1  localhost.localdomain localhost
10.0.18.19 node01.localdomain node01
it solved.

Thanks.

----- Original Message ----- 
From: "jdow" <[log in to unmask]>
To: <[log in to unmask]>
Sent: Friday, May 20, 2011 8:38 AM
Subject: Re: SL 5.6 beta 2 bug? All machines return the same HOSTID


> On 2011/05/19 09:08, Brett Viren wrote:
>> "Toshiaki Shingu"<[log in to unmask]>  writes:
>>
>>> I installed SL 5.6 beta 2 to three nodes using PXE boot.
>>> ip addresses were obtained by dhcp, so all nodes have diferent ips.
>>> After the successful installation hostid command returns the same
>>> value '007f0100' on all machines.
>>
>> This happens when you have the host name in /etc/hosts bound to
>> 127.0.0.1.  Edit that file so it has the FQDN attached to the IP number
>> for your NIC.  For eg, here is mine:
>>
>> head -2 /etc/hosts
>> 127.0.0.1 localhost
>> 130.199.36.67 lycastus.phy.bnl.gov lycastus
>>
>> -Brett.
> 
> Incidentally the file /etc/sysconfig/network sets the host name with
> this line:
> HOSTNAME=scientific.wizardess.wiz
> 
> {^_^}  Joanne