Friday, November 29, 2013

HP ILO reset from OS





Configure ILO through Windows command line                                                                                                                                                                                                                 

Login to server abc

open cmd
goto location C:\Program Files\HP\hponcfg

C:\Program Files\HP\hponcfg>hponcfg.exe /w c:\temp\ilo_current.xml
Firmware Revision = 1.78  Device type = iLO 2  Driver name = CpqCiDrv
iLO configuration successfully written to file "c:\temp\ilo_current.xml"

Edit that file with notepad change the ip,gw and subnet (below lines), and apply it back to the iLo with:

<IP_ADDRESS VALUE="new ip" />

<SUBNET_MASK VALUE="subnet" />

<GATEWAY_IP_ADDRESS VALUE="gateway" />

example : -
<IP_ADDRESS VALUE="170.86.43.250" />

<SUBNET_MASK VALUE="255.255.255.0" />

<GATEWAY_IP_ADDRESS VALUE="170.86.43.1" />

Save as ilo_new.xml

Apply it back to the iLo

Supply the user name password correctly in that file.

C:\Program Files\HP\hponcfg>hponcfg.exe /f c:\temp\ilo_new.xml

After save the IP, GW and subnet follow the down for reset the ILO through OS end.

Reset the ILO through OS end                                                                                                                                                                                                                                            

Open a file ilo_reset.xml and edit through notepad and past the below lines
In below need specify the ILO user name and passwd.

<RIBCL VERSION="2.0">
   <LOGIN USER_LOGIN="IloUsername" PASSWORD="password">
      <RIB_INFO MODE="write">
         <RESET_RIB/>
      </RIB_INFO>
   </LOGIN>
</RIBCL>

Save it and run the same through hponcfg
C:\Program Files\HP\hponcfg>hponcfg.exe /f ilo_reset.xml

After that connect the ILO through IE it will open.


No comments: