HPE BladeSystem Onboard Administrator configuration scripts
Use configuration scripts to simplify new enclosure deployment and configuration, particularly when setting up multiple enclosures, eliminating the need to configure each enclosure manually. Capturing your best practices and compliance rules, HPE OneView copies the script from the enclosure group to the logical enclosure, and then executes it on the physical enclosure. You can create, edit, or delete an enclosure configuration script from either the Enclosure Groups screen or the Logical Enclosures screen.
Extract a script from a configured Onboard Administrator.
Extract a script from a configured Onboard Administrator with the
SHOW CONFIGCLI command. See the online help for Logical Enclosures.Copy an existing configuration script from the Logical Enclosures or Enclosure Groups screen, and then paste it into a new enclosure group. Edit the script as necessary before clicking OK to apply.
Copy an existing configuration script from the Logical Enclosures or Enclosure Groups screen, and then paste it into a new enclosure group. Edit the script as necessary before clicking OK to apply. See the online help for Logical Enclosures or Enclosure Groups
By entering a configuration script on the Enclosure Groups screen, a copy of the configuration script is stored with every logical enclosure you add that is associated with that enclosure group.
You add an enclosure and the associated enclosure group contains a configuration script.
You edit the configuration script of a logical enclosure. Clicking OK to save your changes will run the script.
You
GETthe configuration script of a logical enclosure, make changes and then update (PUT) the script.You select to re-run the Onboard Administrator configuration script associated with the logical enclosure (not the enclosure group). The action also verifies that SSO, SNMP and NTP are configured correctly on the enclosure and that the Onboard Administrator firmware is up to date. The action takes place immediately and requires no other interaction unless there is lost connectivity to the enclosure, in which case you are prompted to re-enter the Onboard Administrator IP address or host name and credentials.
You select which copies the enclosure configuration script from the associated enclosure group to the logical enclosure and then runs the script.
You can initially enter passwords, SNMP community strings, and pass phrases in plain text as you create an enclosure or enclosure group script. However, all passwords, SNMP community strings, and pass phrases are masked (replaced by
*********) in any UI or REST API response and are never displayed in plain text.
If you replace the
********* password string with another string and rerun the script, the password is changed to the new string. Note that some commands cannot be run a second time. For example, if you rerun the
ADD USER
username
*********
command on the same enclosure and have changed the
********* string, the command will fail because that user already exists. In this situation, remove the newly added user before you rerun the script.
If any part of the command that is returned with
********* is changed, and you do not replace
********* with another string, the value of the password or the SNMP community string becomes *********. For example, if you submit the script with the command
SET USER PASSWORD
, the script returns
user_name1
new_password
SET USER PASSWORD
. If you change the command to SET USER PASSWORD
user_name1
*********
user_name2
*********, the password for
user_name2 is set to
*********, and not
new_password.
A subset of Onboard Administrator commands is disallowed in the enclosure configuration script to prevent conflicts with the appliance configuration and settings. There is no syntax checking or other validation of the remaining script. See Disallowed HPE BladeSystem Onboard Administrator commands for a list of the Onboard Administrator commands not allowed in a configuration script.
See View or download HPE BladeSystem Onboard Administrator command documentation for a complete reference of Onboard Administrator commands.
iLO passwords
For the LOGIN command, the LOGIN, USER_LOGIN, and PASSWORD tags must appear on the same line.
For the ADD_USER command, the ADD_USER, USER_LOGIN, and PASSWORD tags must appear on the same line.
For the MOD_USER command, the MOD_USER, USER_LOGIN, and PASSWORD tags must appear on the same line.

