BladeSystem - General
1827896 Members
1525 Online
109969 Solutions
New Discussion

Looking for a script/command that allows me to create an iLO userid and a password on all of the blades in an enclosure

 
chuckk281
Trusted Contributor

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.