BladeSystem Management Software

Automatically update blade ilo with hostname if it changes

 
jody_mckinzie
Occasional Advisor

Automatically update blade ilo with hostname if it changes

Okay, we have a changing environment.

 

We could have a windows server on a blade today, and reload it with RHEL tonight and give it a new hostname.

 

If this happens, is there a way to automate the update of the blade ilo and the OA to reflect the new name?

 

It appears that the HP-UX, VMware, and Windows operating systems already do this but, the RHEL OS doesn't.

 

Thanks in advance.

3 REPLIES 3
DanRobinson
HPE Pro

Re: Automatically update blade ilo with hostname if it changes

The Server name is populated down into the iLO via the SNMP Agents or CIM Providers depending on the OS.

If you are not running the HP Mgmt Agents in RHEL, the name will not auto populate.

 

You can however use the HPONCFG binary we offer along with an XML script to set the "Hostname" field manually.

This only requires the iLO driver be running and its been included in RHEL since somewhere around 5.4 or 5.5 I think.

Then you could automate this by having a script grab the hostname, build the XML file using said hostname, and run the hponcfg binary against the newly generated XML script to effectively automate the name update.  Have this script run slightly after each boot and you would never need to manually set the name again.

 

http://www.hp.com/go/ilo

Towards the bottom of the links on the right side of the page is "HP iLO Sample Scripts"

Set_Server_Name.xml is the script you need.


I work for HPE

Accept or Kudo

jody_mckinzie
Occasional Advisor

Re: Automatically update blade ilo with hostname if it changes

What about the HP-Ux 11.31 servers.

 

Any ideas there?

 

Also, how on this site do i assign points?

Dennis Handly
Acclaimed Contributor

Re: Automatically update blade IlO with hostname if it changes

>how do I assign points?

 

Click on the white Kudos star next to each post.

http://h30499.www3.hp.com/t5/help/faqpage/faq-category-id/kudos#kudos