Change Administrator’s Password for All HPE C7000 Device Bays
HPE C7000 Blade System using Onboard Administrator (OA) KVM module to manage devices and interconnects in chassis. To manage devices directly, OA will redirect to iLO of each device. OA use single sign-on to logon to iLO administration web page.
But each server has own administrator user and the user has default password, so if iLO addresses are reachable via network, it’s better to change default password.
Think about two or more C7000 chassis with half high blade servers, changing password on 64 servers would be difficult!
Onboard Administrator has builtin tool to configure device bays iLO. HPONCFG can change almost all iLO configuration. HPONCFG is also available for different systems and operating systems. Configuration should be as XML format.
Example 1: Change Administrator’s Password
The below code will change administrator’s password to what you want, just replace “Y0ur Passw0rd” with your password. I’ve tested it on iLO5 and BL460c G10. If you have empty bays, you should run it again after installing new bade server.
Also to run on single bay, just replace “all” with bay number.
The code must be run via OA, so you should open SSH session to OA module of each C7000 chassis.
HPONCFG all << EOF <RIBCL VERSION="2.0"> <LOGIN USER_LOGIN="adminname" PASSWORD="password"> <USER_INFO MODE="write"> <MOD_USER USER_LOGIN="Administrator"> <PASSWORD value="Y0ur Passw0rd"/> </MOD_USER> </USER_INFO> </LOGIN> </RIBCL> EOF
Example 2: Create Another Administrator User on All Device Bays
The below code will create another administrator user on all device bays in C7000 chassis via Onboard Administrator shell.
Change USER_NAME, USER_LOGIN and PASSWORD values.
HPONCFG all << EOF <RIBCL VERSION="2.0"> <LOGIN USER_LOGIN="adminname" PASSWORD="password"> <USER_INFO MODE="write"> <ADD_USER USER_NAME="Davoud Teimouri" USER_LOGIN="davoud" PASSWORD="Y0ur Passw0rd"> <reset_SERVER_PRIV value = "Y" /> <admin_PRIV value = "Y" /> <REMOTE_CONS_PRIV value="Y" /> <RESET_SERVER_PRIV value="Y" /> <VIRTUAL_MEDIA_PRIV value="Y" /> <CONFIG_ILO_PRIV value="Y" /> </ADD_USER> </USER_INFO> </LOGIN> </RIBCL> EOF
Further Reading
Why Device Bay IP Doesn’t Change in HPE BladeSystem?