Remote Lights-Out Mgmt (iLO 2, iLO, RILOE II) Forum
Showing results for 
Search instead for 
Do you mean 

Using iLO get server details

Occasional Visitor

Using iLO get server details

Hi,

When we connect to the web interface of iLO, we can get details of the Server (like NIC MAC Addresses etc), in which this iLO is present. So for example:

“System Status” -> “System Information” -> NIC -> Port [1|2] NIC MAC address

This tab will show us the NIC MAC address of the server box (DL series) or blade (BL series) where this iLO is present.

I want to get this info from a CLI session. Is there any way to get this?

Can someone tell me the detailed way to get this.

Somewhere I get GET_HOST can give me these details. But I am not able to use it properly.

Would be hapy if someone can help me with this.

I am using Linux system. So windows based utilities will not work for me. I need a Linux related solution.

TIA.

--
Regards,
Shreenivas
2 REPLIES
HPE Pro

Re: Using iLO get server details

You can get this via SMASH commands in the CLI, but it's easier to use this perl script and example XML to pull the info you need.

HP Lights-Out XML PERL Scripting Sample for Linux
http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareDescription.jsp?lang=en&cc=US&swItem=MTX-9ded60bd746942e18651211f51

This version was just released and will also work with iLO3



__________________________________________________
No support by private messages. Please ask the forum!      I work for HPE

If you feel this was helpful please click the KUDOS! thumb below!   
Occasional Visitor

Re: Using iLO get server details

Thanks lot Jimmy. It worked for me. I used the locfg.pl script that is part of that tar-ball. Thanks once again.

--
Regards,
Shreenivas