- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- Server Management - Remote Server Management
- >
- scripts for creating ilo usernames on mutiple serv...
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
07-04-2019 06:41 AM
07-04-2019 06:41 AM
scripts for creating ilo usernames on mutiple servers
Hi all.
I have a project to do which requires creating a read only ilo user account on +- 300 ProLiant rack and blade server. They cover the whole range of ilo from 2 to 5 but the bulk are gen 7- Gen 9 servers.
Are there any ilo powershell or similar scripts I could use to automate this process so that I don't have to log onto each ilo to do this?
Thanks for the help
Andrew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2019 07:00 AM
07-04-2019 07:00 AM
Re: scripts for creating ilo usernames on mutiple servers
There may be something for powershell, but I've always used the RIBCL scripts for Linux (and Windows)
HPE Lights-Out XML Scripting Sample for Windows
https://support.hpe.com/hpsc/swd/public/detail?swItemId=MTX_98ea081cc4bf42c08044b65f39#tab-history
HPE Lights-Out XML PERL Scripting Sample for Linux
https://support.hpe.com/hpsc/swd/public/detail?swItemId=MTX_76bfa460792d4f7cbc0aac234e
HPE iLO 5 Scripting and Command Line Guide
https://support.hpe.com/hpsc/doc/public/display?docId=a00018323en_us
Add_User.xml
<!-- RIBCL Sample Script for HP Lights-Out Products -->
<!--Copyright (c) 2015 Hewlett-Packard Development Company, L.P. -->
<!-- Description: This is a sample XML script to add a user to the -->
<!-- database of local user on following devices: -->
<!-- Integrated Lights-Out 4 (iLO 4) -->
<!-- Integrated Lights-Out 3 (iLO 3) -->
<!-- Integrated Lights-Out 2 (iLO 2) -->
<!-- NOTE: You will need to replace the USER_LOGIN and PASSWORD -->
<!-- and other values inside the quotation marks with values -->
<!-- that are appropriate for your environment. -->
<!-- You might need to tailor this script for the firmware -->
<!-- running on your Lights-Out device according to the -->
<!-- information in "Firmware support information" comment(s).-->
<!-- Use CPQLOCFG.EXE ver 4.20 or greater for iLO2 and -->
<!-- HPQLOCFG.EXE ver 1.00 or greater for iLO 3 and iLO 4 -->
<!-- with this script. -->
<!-- This script was written for iLO 4 firmware version 1.01 -->
<!-- release. -->
<!-- See "HP Integrated Lights-Out Management Processor -->
<!-- Scripting and Command Line Resource Guide" for more -->
<!-- information on scripting and the syntax of the RIBCL -->
<!-- XML. -->
<!-- Firmware support information for this script: -->
<!-- iLO 4 - All versions. -->
<!-- iLO 3 - All versions. -->
<!-- iLO 2 - All versions. -->
<RIBCL VERSION="2.0">
<LOGIN USER_LOGIN="adminname" PASSWORD="password">
<USER_INFO MODE="write">
<ADD_USER
USER_NAME="User"
USER_LOGIN="username"
PASSWORD="password">
<ADMIN_PRIV value ="N"/>
<REMOTE_CONS_PRIV value ="Y"/>
<RESET_SERVER_PRIV value ="N"/>
<VIRTUAL_MEDIA_PRIV value ="N"/>
<CONFIG_ILO_PRIV value="Yes"/>
</ADD_USER>
</USER_INFO>
</LOGIN>
</RIBCL>