Configuring iLO through hponcfg on HP servers

On the test, I installed the hponcfg utility in Ubuntu Server 14.04.4 LTS trusty.

The Ubuntu version can be viewed by the command:

lsb_release -a

Open the file in the text editor:

sudo nano /etc/apt/sources.list

And add to its end the official source where the utility is located:

deb trusty current/non-free

Update the source list and install hponcfg:

sudo apt-get update
sudo apt-get install hponcfg

Now we import the current iLO settings into a file:

sudo hponcfg -a -w iloconfig.cfg

Make a copy of the file just in case:

sudo cp iloconfig.cfg iloconfig_new.cfg

And we can edit a new file for our own needs, for example, via the nano editor (Ctrl+X for exit, y/n for saving or canceling changes):

sudo nano iloconfig_new.cfg

For example, to manually specify the IP, we change the following lines:

dhcp_enable value="N">
<ip_address value="">
<subnet_mask value="">
<gateway_ip_address value="">

Then export the file with the new settings back:

sudo hponcfg -f iloconfig_new.cfg -l log.txt

Done, the iLO settings will be changed.

See also:
Resetting the iLO password via hponcfg on HP servers

Leave a Reply