VMware Cloud Community
ms5812
Enthusiast
Enthusiast

PowerCLI script to get HP Onboard Administrator IP

Hi All,

I'm in a difficult situation. I have 4 HP C7000 Chassis' that I have no IP information (OA and VCM). The Blades in the chassis are BL460 G7's (16 per Chassis total of 64 Hosts in 4 Farms). The ILO's do not appear to be configured. I'm using this query below, it is not connecting to get an IP. On others that are configured I get the IP. The team that was to set this up is gone and the Hosts are in Production, never a good thing with Murphy around. If I'm not able to get to the Chassis, is there a script I can use the set the IP, Gateway, Subnet, Unsername and Password? Yes this is a BIG mess and I need to find a way to clean it up if possible. Any help would be greatly appreciated.

Re: Hardware sensors

0 Kudos
3 Replies
BenLiebowitz
Expert
Expert

So, I'm not sure exactly how they did it, but check out the vDocumentation scripts from arielsanchezmora​ and Edgar Sanchez.  They list this as the RAC IP and it works for HP iLO and Dell iDRAC.

GitHub - arielsanchezmora/vDocumentation: vDocumentation provides a community-created set of PowerCL...

Just grab it from the Powershell gallery, run the get-esxinventory script against your host(s) and you'll get the iLO IP (if configured). 

I haven't touched HP in years so I can't help you with setting the IP remotely.

Ben Liebowitz, VCP vExpert 2015, 2016, & 2017 If you found my post helpful, please mark it as helpful or answered to award points.
0 Kudos
arielsanchezmo1
Enthusiast
Enthusiast

Thanks Ben! Really appreciate you helping promote vDocumentation sir Smiley Happy

To the OP - yes, you can use our script and it will get the ILO IP if you are using vsphere 5.5 or 6.0 - 6.5 has an issue that PowerCLI team may fix.

I think that in order for the chassis to administer the blades, they should have an ILO IP, so you shouldn't be in too bad a situation. However, you do need to determine the chassis IP and credentials, and our script won't help you there. To be honest, I would gather the serial numbers and open up a ticket with HP support if you don't know what to do.

To actually setup ilo IP details is not hard, but in a blade environment, the chassis tends to overrule the blades, so it's best to go the chassis route.

let me know if I can help in any other way through twitter, @arielsanchezmor , as I'm not terribly active in these forums Smiley Happy

0 Kudos
DZ1
Hot Shot
Hot Shot

I'm not sure if you're familiar with "Scripting Tools for Windows PowerShell" from HPE.  They have cmdlets to interact with the OA and iLO.  There is also a cmdlet to find an OA "Find-HPOA", you can select an IP range.  I'm somewhat familiar with the cmdlets, and the below link will let you download the module.

Scripting Tools for Windows PowerShell OID5440657 | HPE™

0 Kudos