Cum resetezi parola de Administrator de ILO pe un ESXI Server

Configurare noua (How To)

Situatie

Ai un server cu ESXI si nu cunosti parola de Administrator de ILO.

In acest caz nu ai acces fizic la server si nu o poti reseta.

Solutia de mai jos functioneaza numai pe servere HP cu ESXI custom pentru HP.

Solutie

Pasi de urmat

Te conectezi prin SSH cu putty pe serverul de ESXI.

 

Navighezi catre /opt/hp/tools/ si dai comanda “ls”

 

~ # ls -l /opt/hp/tools/
total 5432
-r-xr-xr-x 1 root root 5129574 Oct 28 2014 conrep
-r–r–r– 1 root root 108802 Oct 28 2014 conrep.xml
-r-xr-xr-x 1 root root 59849 Jan 16 2015 hpbootcfg
-r-xr-xr-x 1 root root 251 Jan 16 2015 hpbootcfg_esxcli
-r-xr-xr-x 1 root root 232418 Jul 14 2014 hponcfg
-r-xr-xr-x 1 root root 12529 Oct 31 2013 hptestevent
-r-xr-xr-x 1 root root 250 Oct 31 2013 hptestevent_esxcli

Acum trebuie sa creezi un fisier XML cu setarile dorite de tine.

Comanda este : vi pwreset.xml

 

Se apasa tasta “i” pentru a putea scrie in el.

<RIBCL VERSION=”2.0″>
<LOGIN USER_LOGIN=”Administrator” PASSWORD=”unknown”>
<USER_INFO MODE=”write”>
<MOD_USER USER_LOGIN=”Administrator”>
<PASSWORD value=”password”/>
</MOD_USER>
</USER_INFO>
</LOGIN>
</RIBCL>
Apesi tasta ESC si scrii :wq

Acum ne vom folosi de HPONCFG si de XML-ul creat.

~ # /opt/hp/tools/hponcfg -f pwreset.xml
HP Lights-Out Online Configuration utility
Version 4.4-0 (c) Hewlett-Packard Company, 2014
Firmware Revision = 1.85 Device type = iLO 3 Driver name = hpilo
iLO IP Address: 172.16.1.52
Script succeeded

Tip solutie

Permanent

Voteaza

(14 din 35 persoane apreciaza acest articol)

Despre Autor

Leave A Comment?