- Community Home
- >
- Servers and Operating Systems
- >
- HPE BladeSystem
- >
- BladeSystem - General
- >
- Looking for a script/command that allows me to cre...
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
Forums
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
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
02-18-2010 06:22 AM
02-18-2010 06:22 AM
Looking for a script/command that allows me to create an iLO userid and a password on all of the blades in an enclosure
Ron had an iLO scripting question:
Looking for a script/command that allows me to create an iLO userid and a password on all of the blades in an enclosure. Is this possible? Thanks.
Steve and Ken responded:
Yes, this very easy. Simply telnet to the OA and paste these commands in to the session.
Edit each command accordingly to add or change the appropriate user.
The first one changes the default administrator password
The second adds an account
The third applies the iLO advanced license.
Also, check the website for iLO scripts, there is a zip file with several example.
HPONCFG all << end_marker
<RIBCL VERSION="2.0">
<LOGIN USER_LOGIN="adminname" PASSWORD="password">
<USER_INFO MODE="write">
<MOD_USER USER_LOGIN="Administrator">
<PASSWORD value="Compaq123"/>
</MOD_USER>
</USER_INFO>
</LOGIN>
</RIBCL>
end_marker
HPONCFG all << end_marker
<RIBCL VERSION="2.0">
<LOGIN USER_LOGIN="adminname" PASSWORD="password">
<USER_INFO MODE="write">
<ADD_USER
USER_NAME="stevem"
USER_LOGIN="stevem"
PASSWORD="Compaq123">
<ADMIN_PRIV value ="Yes"/>
<REMOTE_CONS_PRIV value ="Yes"/>
<RESET_SERVER_PRIV value ="Yes"/>
<VIRTUAL_MEDIA_PRIV value ="Yes"/>
<CONFIG_ILO_PRIV value="Yes"/>
</ADD_USER>
</USER_INFO>
</LOGIN>
</RIBCL>
end_marker
#Note: you will need to change the Activate Key below to the one for your POD
HPONCFG all << end_marker
<RIBCL VERSION="2.0">
<LOGIN USER_LOGIN="adminname" PASSWORD="password">
<RIB_INFO MODE="write">
<LICENSE>
<ACTIVATE KEY=" XXXX add key here"/>
</LICENSE>
</RIB_INFO>
</LOGIN>
</RIBCL>
end_marker
Regards, Steve....
*****************************************************************************************
Also the ILO license key needs to be entered into the script with the hyphens removed.
(That took a little head scratching to figure out.)
Ken
**************************************************************************************************
Good info and if you have any additions to the scripting let us know.