BladeSystem Management Software

Server Hostname in Onboard Administrator question

 
chuckk281
Trusted Contributor

Server Hostname in Onboard Administrator question

Ed had a customer problem he was looking to solve:

***************************************************************

Hi everyone…

We have a customer that is having issues with the Linux PSP in RHEL5.
Specifically the iLO driver not properly updating the hostname within the OA.

We are going to have to investigate that a little further …

The question raised was … Is it possible to script the hostnames of the servers with the

HPONCFG command and have that work for them in the meantime?

And…have the OA pick up on the new hostname?

I have two scripts below but I’m not sure which one or if either one might do the trick.

If you have a moment please share your thoughts.
Thanks,
Ed

 

HPONCFG <bay number> << end_marker
<RIBCL version="2.21">
<LOGIN USER_LOGIN="Administrator" PASSWORD="password">
<RIB_INFO MODE="write">
<MOD_NETWORK_SETTINGS>
<DNS_NAME="my_new_ilo_subsystem_name"/>
</MOD_NETWORK_SETTINGS>
</RIB_INFO>
</LOGIN>
</RIBCL>
end_marker

 

OR>>>  (please ignore the spaces between some of the lines)

HPONCFG <bay number> << end_marker

<RIBCL version="2.21">

<LOGIN USER_LOGIN="Administrator" PASSWORD="password">

<SERVER_INFO MODE="write" >

<SERVER_NAME VALUE = "Exchange05" />

</SERVER_INFO>

</LOGIN>
</RIBCL>
end_marker

**************************************************************************

 

Angel was using a script and shared it with Ed:

*******************************************************************************************

Below is what I use.  But, to answer your question is the “Server_name” value that

does the trick.

 

<RIBCL VERSION="2.0">

  <LOGIN USER_LOGIN="adminname" PASSWORD="password">

    <SERVER_INFO MODE="write">

               <SERVER_NAME value ="Blade1"/>

    </SERVER_INFO>

  <RIB_INFO MODE="write">

            <MOD_NETWORK_SETTINGS>

       <DNS_NAME value="Blade1-iLO"/>

    </MOD_NETWORK_SETTINGS>

  </RIB_INFO>

  </LOGIN>

</RIBCL>

*******************************************************************************

 

I hope this provides you with good info and something to try and modify for your needs. Let us know if you use something else that would help in this situation.