HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
ProLiant Servers (ML,DL,SL)
cancel
Showing results for 
Search instead for 
Did you mean: 

ILO ADMINISTRATOR PASSWORD RESET FROM CMD

 
SOLVED
Go to solution
vikasgaur
Occasional Contributor

ILO ADMINISTRATOR PASSWORD RESET FROM CMD

How can i reset the ILO password for ProLiant DL380 G7 linux without downtime from commandline.Can you share the steps to reset the ILO administrator password and also steps to configure the ILO as well.

5 REPLIES
PiterParker
Valued Contributor
Solution

Re: ILO ADMINISTRATOR PASSWORD RESET FROM CMD

Hi m8, 

Could you check if you have hponcfg application installed on your system?

 

 
Please find guide below:
 
Regards, 
Piotr
vikasgaur
Occasional Contributor

Re: ILO ADMINISTRATOR PASSWORD RESET FROM CMD

Thanks it worked for me.
Just want on help if hponcfg was not installed how can i install it and configure my new ilo.
Thanks for your the responce.
PiterParker
Valued Contributor

Re: ILO ADMINISTRATOR PASSWORD RESET FROM CMD

Hi,

 

If you will not have it below is the link to download it.

http://h20564.www2.hpe.com/hpsc/swd/public/detail?swItemId=MTX_5ab6295f49964f16a699064f29

 

Thanks,

Piotr

Zakour
Occasional Advisor

Re: ILO ADMINISTRATOR PASSWORD RESET FROM CMD

Thank you for sharing.

I noticed that procedure is for ESXi , How about if we have RHEL 7.3 on Bare Metal  (HP Proliant DL380p Gen8) ?

Here below the iLo config file, I want to put a password = "Passwd123!" 

Can you pleaase assist with the new xml file ?

<!-- HPONCFG VERSION = "5.3.0" -->
<!-- Generated 11/7/2018 11:4:22 -->
<RIBCL VERSION="2.1">
<LOGIN USER_LOGIN="Administrator" PASSWORD="password">
<DIR_INFO MODE="write">
<MOD_DIR_CONFIG>
<DIR_AUTHENTICATION_ENABLED VALUE = "N"/>
<DIR_LOCAL_USER_ACCT VALUE = "Y"/>
<DIR_SERVER_ADDRESS VALUE = ""/>
<DIR_SERVER_PORT VALUE = "636"/>
<DIR_OBJECT_DN VALUE = ""/>
<DIR_OBJECT_PASSWORD VALUE = ""/>
<DIR_USER_CONTEXT_1 VALUE = ""/>
<DIR_USER_CONTEXT_2 VALUE = ""/>
<DIR_USER_CONTEXT_3 VALUE = ""/>
</MOD_DIR_CONFIG>
</DIR_INFO>
<RIB_INFO MODE="write">
<MOD_NETWORK_SETTINGS>
<SPEED_AUTOSELECT VALUE = "Y"/>
<NIC_SPEED VALUE = "10"/>
<FULL_DUPLEX VALUE = "N"/>
<IP_ADDRESS VALUE = "xxx.xxx.xxx.xxx"/>
<SUBNET_MASK VALUE = "255.255.255.0"/>
<GATEWAY_IP_ADDRESS VALUE = "xxx.xxx.xxx.xxx"/>
<DNS_NAME VALUE = "ILOCZJ809082Y"/>
<PRIM_DNS_SERVER value = "xxx.xxx.xxx.xxx"/>
<DHCP_ENABLE VALUE = "N"/>
<DOMAIN_NAME VALUE = ""/>
<DHCP_GATEWAY VALUE = "N"/>
<DHCP_DNS_SERVER VALUE = "N"/>
<DHCP_STATIC_ROUTE VALUE = "N"/>
<DHCP_WINS_SERVER VALUE = "N"/>
<REG_WINS_SERVER VALUE = "Y"/>
<PRIM_WINS_SERVER value = "0.0.0.0"/>
<STATIC_ROUTE_1 DEST = "0.0.0.0" GATEWAY = "0.0.0.0"/>
<STATIC_ROUTE_2 DEST = "0.0.0.0" GATEWAY = "0.0.0.0"/>
<STATIC_ROUTE_3 DEST = "0.0.0.0" GATEWAY = "0.0.0.0"/>
</MOD_NETWORK_SETTINGS>
</RIB_INFO>
<USER_INFO MODE="write">
</USER_INFO>
</LOGIN>
</RIBCL>

Mohamed ZAKOUR
https://www.linkedin.com/in/mzakour/
Jimmy Vance
HPE Pro

Re: ILO ADMINISTRATOR PASSWORD RESET FROM CMD


@Zakour wrote:

Thank you for sharing.

I noticed that procedure is for ESXi , How about if we have RHEL 7.3 on Bare Metal  (HP Proliant DL380p Gen8) ?

Here below the iLo config file, I want to put a password = "Passwd123!" 

Can you pleaase assist with the new xml file ?

 


Download the current HPE Lights-Out XML PERL Scripting Sample for Linux and use the 'change_password.xml'  file https://support.hpe.com/hpsc/swd/public/detail?swItemId=MTX_76bfa460792d4f7cbc0aac234e  This file contains a large XML library of iLO settings 

If you use the included perl script to remotely (over the network) to change the password you will need to provide a valid username / password in the LOGIN USER_LOGIN field to access iLO. 

To use locally from the host OS you need to download 'hponcfg' which is a tool from the scripting toolkit.  The standalone version of the 'hponcfg' can be found here https://support.hpe.com/hpsc/swd/public/detail?swItemId=MTX_4fe891d8669c4c4fbfba2a06f4

 




__________________________________________________
No support by private messages. Please ask the forum!      I work for HPE

If you feel this was helpful please click the KUDOS! thumb below!