Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
Server Management - Remote Server Management
cancel
Showing results for 
Search instead for 
Did you mean: 

Scripting ILO Inventory

Darrin Henshaw
Occasional Visitor

Scripting ILO Inventory

Hello,

I've been tasked by my boss to inventory our ILO setup, which isn't totally organized. We've limited the IP for ilo to a range, so it's slightly limited, however, I need to match the IP's with the hostname of the OS running on the server. I started doing it manually by throwing the IP inter IE. However, that got old real quick. Particularly since we'll be making changes later on.

I then found CPQLOCFG.EXE, and started playing with it, I threw the GET_SERVER_NAME.xml at it with the right password specified in the xml file. However, I get an error, I threw a few others at it like GET_HOST_DATA.xml however, it doesn't return server name.

Here is the xml file I'm using, pw has been changed:









Here is the error I get:

START_OPEN_TAG
GET_SERVER_NAME
CLOSE_OPEN_TAG
CPQLOCFG.EXE: Response received from the RIB: (185):


STATUS="0x0001"
MESSAGE='Syntax error: Line #3: syntax error near "" in the line: " GET_SERVER_NAME />"'
/>


This is only part of the entire output. Any ideas? I've looked around but found no help. ILO firmware version 1.89, and ProLiant DL385 G1. Thanks.
1 REPLY
acartes
Honored Contributor

Re: Scripting ILO Inventory

Unfortunately, the get_server_name script you show is only supported by iLO 2, and not by iLO.
You can use cpqlocfg to identify the iLO generations, but for the iLO systems, you may have to resort to the manual process.

Are you using HP SIM? This can associate the management processors with the host system- this is one of the tasks that a SIM report would help.
www.hp.com/go/hpsim