VMware Cloud Community
Akopylov
Commander
Commander

hponcfg administrator password

Hello there. Don`t know if I will get some answers here, but there is no harm in trying I guess.

I got BL680G7 (blade server) and ESXi 5.5u3 (HP custom) onboard. I am currently testing HPONCFG utility and it seems to be pretty useful, but I got few questions, may be someone will help me.

1. I was trying to export iLO cfg with "hponcfg -w" and "hponcfg -a -w" switches and it seems that "a" xml contains not only more information than "w" file (its ok according to man) but it contains other information than "w" file. Here is an example: there is a field IP_ADDRESS VALUE in "w" file where IP-address of iLO is specified but there is no such field in "a" file. And conversely there is a field WEB_AGENT_IP_ADDRESS VALUE in "w" file where ESXi hostname is specified but there is no such field in "w" file.

So I need to collect 2 files with "-a -w" and "-w" options separately to get full information or what?

2. Tried to config iLO with modified xml file (I get it with -w switch). Got a confusion: what about <LOGIN USER_LOGIN="Administrator" PASSWORD="password"> line (the second line)? I cannot login to iLO with this credentials, I guess this line is ignored during "hponcfg -f" operation. New user should be added with <ADD USER> section and its permissions are controlled by other sections like <ADMIN PRIV>.

So what the second line is needed for?

Reply
0 Kudos
2 Replies
peetz
Leadership
Leadership

Hello,

I'm confused about your command line options question. According to the documentation available e.g. here:

http://h10032.www1.hp.com/ctg/Manual/c03334058

the meaning of the parameters is the following:

-a : export all available information

-w <filename> : write export to file named <filename>

So you should use both parameters like this

hponcfg -a -w export.xml

Regarding your second question: You must modify the input xml file to include correct iLO admin credentials. In the line

<LOGIN USER_LOGIN="Administrator" PASSWORD="password">

replace "Administrator" with the username and "password" with the password of an account that has access to the iLO board. The hponcfg tool will then use these credentials to connect to iLO and perform the commands.


- Andreas

Twitter: @VFrontDe, @ESXiPatches | https://esxi-patches.v-front.de | https://vibsdepot.v-front.de
Reply
0 Kudos
Akopylov
Commander
Commander

Hello. Thnaks for reply.

I'm confused about your command line options question. According to the documentation available e.g. here:

http://h10032.www1.hp.com/ctg/Manual/c03334058http://h10032.www1.hp.com/ctg/Manual/c03334058

the meaning of the parameters is the following:

-a : export all available information

-w <filename> : write export to file named <filename>

So you should use both parameters like this

hponcfg -a -w export.xml

Look at this:

hponcfg.png

As you can see there are two different files (the size is different too). I can attach these files if you want.

I guess you`ve interpreted wrong that part of the manual.

Regarding your second question: You must modify the input xml file to include correct iLO admin credentials. In the line

<LOGIN USER_LOGIN="Administrator" PASSWORD="password">

replace "Administrator" with the username and "password" with the password of an account that has access to the iLO board. The hponcfg tool will then use these credentials to connect to iLO and perform the commands.

Hm, its strange. I got no local iLO user, I`m using sso from OA, so I`ve provided wrong credentials, but the configuration of iLO was succesfull (new user was added, network configuration was applied too). Don`t know how it comes.

Reply
0 Kudos