Install HPONCFG on ESXI for configuring hp server ILO

Hi , ..

ssh to ESXI,

#cd /tmp

Download this file

#wget http://hanasavi.ir/download/hpe-HPUtil-esxi6.5-bundle-2.6a-1.zip

#esxcli software vib install -d /tmp/hpe-HPUtil-esxi6.5-bundle-2.6a-1.zip

reload the esxi with this command : #reload

# cd /opt/hp/tools

reset ilo to factory

#./hponcfg -r

Get a txt file from config file

#./hponcfg -w /tmp/iloconfig.txt

Edit the ilo config file with vi editor

#vi /tmp/iloconfig.txt

<IP_ADDRESS VALUE = “192.168.1.20”/>
<SUBNET_MASK VALUE = “255.255.255.0”/>
<GATEWAY_IP_ADDRESS VALUE = “192.168.1.1”/>
<DNS_NAME VALUE = “ILO-Name”/>
<PRIM_DNS_SERVER value = “8.8.8.8”/>
<DHCP_ENABLE VALUE = “N”/>

 

upload new file to server ,

# ./hponcfg -f /tmp/iloconfig.txt

 

Reset Administrator password,

create a xml file like this

#vi psw_reset.xml

<ribcl VERSION=”2.0″>
<login USER_LOGIN=”Administrator” PASSWORD=”newpass“>
<user_INFO MODE=”write”>
<mod_USER USER_LOGIN=”Administrator”>
<password value=”newpass“/>
</mod_USER>
</user_INFO>
</login>
</ribcl>

Save the file and ,

#./hponcfg -f resetpass.xml

 

Now you can see ILO web panel with the new ip and new administrator password

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *