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 http://downloads.linux.hpe.com/SDR/repo/mcp 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="192.168.1.150">
<subnet_mask value="255.255.255.0">
<gateway_ip_address value="192.168.1.1">

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

Подписаться на IT Blog (RU) по Email
Subscribe to IT Blog (EN) by Email

Did my article help you? How about buying me a cup of coffee as an encouragement? Buy me a coffe.

Leave a Reply