Pages

Monday, October 7, 2013

Resetting HP ILO password.

Resetting the Password of ILO from Command Line.

There are two command line utilities from HP for managing ILO from Command Line.
HPoncfg and CPQlocfg.

Mulitple things can be achieved through them.

1.Dumping the ILO Configuration to a xml file.
2.Resetting the ILO Credentails
3.Resetting the ILO to factory Defaults
4.Resetting the Server  etc..

For Using HPconfg you need to be logging into the box for which the ILO has been configured.
CPQlocfg can be used remotely. The two have different advantages.

*Using hponcfg locally you do not need a valid username/password, but the syntax needs to be in the XML file your feeding to iLO

HPoncfg:

Usually you will find this exe under c:\HP....  [depends on you env]
Open the cmd promp. Browse to the location of HPoncfg. Run the below commands for what you want to achieve.

1.Dumping the ILO Configuration to a xml file.
hponcfg /w ilo.xml

2.Resetting  the ILO to factory Defaults
 hponcfg reset

3. Resetting the Server
hponcfg server reset

4. Resetting the ILO Password

usage : copy the below text and save it as an xml file. say adminreset.xml

<RIBCL VERSION=”2.0″>
<LOGIN USER_LOGIN=”user” PASSWORD=”password”>
<USER_INFO_MODE="Write">
<MOD_USER_USER_LOGIN="Administrator">
<PASSWORD value="NewPassword"/>
</MOD_USER>
</USER_INFO>
</LOGIN>
</RIBCL>

hponcfg /f adminreset.xml

You will find xml examples from the below.
http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareDescription.jsp?lang=en&cc=us&prodTypeId=18964&prodSeriesId=1146658&swItem=MTX-84d9a19b43b84516ac2d26d01f&prodNameId=1135772&swEnvOID=181&swLang=8&taskId=135&mode=4&idx=1

 

No comments:

Post a Comment