Friday, 21 March 2014

Resetting ILO's from Command Line

Last week i got a request from Application team to reboot few HP servers.

usually we use shutdown -i -r from run to reboot i have initiated the reboot and waited for more than  30 minutes but system is not coming up machine was in hung state. I tried to restart the machine using ILO. Unfortunately ILO is also not 
helping.then I seek one of my colleges help in resolving this issue and this is very good tip.

we can restart  machine using ILO commands.

use plink utility to login to the ILO.

HP Servers

Plink to the ILO ip with ID/Password.

 Plink 1.2.3.4 ( iloipaddress)


provide username and password


it will take you to the prompt :
</>hpiLO-> cd /map1
status=0
status_tag=COMMAND COMPLETED

</map1>hpiLO-> reset
status=0
status_tag=COMMAND COMPLETED
Resetting iLO. 

CLI session stopped.
You can even shutdown/restrat the server from here.
For more commands   type "help"


thanks to my brother AZAM

Powershell function to get theremote server IP details,Subnetmask,Gateway,DHCP Enabled status,DNS Servers,Wins and Macaddress

#Powershell function to get theremote server IP details,Subnetmask,Gateway,DHCP Enabled status,DNS Servers,Wins and Macaddress # use...