- Community Home
- >
- Servers and Operating Systems
- >
- HPE BladeSystem
- >
- BladeSystem - General
- >
- ILO Scripting - Change ILO Name
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2014 06:45 AM
09-26-2014 06:45 AM
ILO Scripting - Change ILO Name
Patrick had an iLO question:
*************
All,
Anyone knows how to change the ILO Name (not server name) via RIBCL Script or any other language?
Thanks,
***********
Reply from Doug:
From the ProLiant PowerShell team
I think what they are talking about is the DNS name of the iLO. If that is the case it can be done with RIBCL and here is how to do it with PowerShell.
$a = Get-HPiLONetworkSetting -Server 16.84.217.92 -Username admin -Password admin123
$a.DNS_NAME
Set-HPiLONetworkSetting -Server 1.4.17.2 -Username admin -Password admin123 -DNSName "NewILOName"
Reset-HPiLORIB -Server 6.4.17.2 -Username admin -Password admin123
sleep -Seconds 60
The first two lines display the current DNS name the 3rd sets a new one. It then does an iLO reset and waits for the reset to complete. What I don’t know is how long it will take for their DNS servers to update the new device name in the DNS tables. I have tried this and it does set the new name, but didn’t wait for it to appear in the DNS tables.
And from David:
For ilo in Bay3:
HPONCFG 3 << end_marker
<RIBCL VERSION="2.0">
<LOGIN USER_LOGIN="Dontcare" PASSWORD="UsingAutologin">
<RIB_INFO MODE="write">
<MOD_NETWORK_SETTINGS>
<ENABLE_NIC value="Yes" />
<REG_DDNS_SERVER value="Yes" />
<DHCP_DOMAIN_NAME value="Yes" />
<DNS_NAME value=" NewILOName " />
<DOMAIN_NAME value="mydomain.mydomain" />
<PRIM_DNS_SERVER value="x.x.x.x" />
</MOD_NETWORK_SETTINGS>
</RIB_INFO>
</LOGIN>
</RIBCL>
end_marker
***********
Other comments?
- Tags:
- iLO
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2014 07:02 AM
09-26-2014 07:02 AM
Re: ILO Scripting - Change ILO Name
More PoweShell input from Arnout:
*************
Mark,
You can put different sections in the same xml. Here is a sample I use in my environment in conjunction with ICsp, but you can just use it with hponcfg also if you change the variables.
You can configure one iLO by hand and dump the complete config with “hponcfg –a –w ilodump.txt” and afterwards use it as input for the rest of the iLOs (after modification)
Note however that you should put the MOD_NETWORK_SETTINGS at the end or even in a separate xml script, since these network changes trigger a reset of the iLO.
I got the impression that everything in the xml after the network settings does not get executed, but still need to verify that.
Also note that there is a very good powershell library available to configure OA and iLO’s on this page:
I use this one more and more configure and check everything.
We now e.g. have a PS script that reads every iLO and parses the output in an xls format so we can verify that all settings are applied correctly.
************