BladeSystem - General
1827855 Members
1509 Online
109969 Solutions
New Discussion

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 at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
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