Server Management - Remote Server Management

scripts for creating ilo usernames on mutiple servers


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






Jimmy Vance
Honored Contributor

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

HPE Lights-Out XML PERL Scripting Sample for Linux

HPE iLO 5 Scripting and Command Line Guide



<!--         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.                                -->

   <LOGIN USER_LOGIN="adminname" PASSWORD="password">
      <USER_INFO MODE="write">
            <ADMIN_PRIV value ="N"/>
            <REMOTE_CONS_PRIV value ="Y"/>
            <RESET_SERVER_PRIV value ="N"/>
            <VIRTUAL_MEDIA_PRIV value ="N"/>            
            <CONFIG_ILO_PRIV value="Yes"/>



No support by private messages. Please ask the forum!