Die HPE iLO Management Systeme können offline via F8 beim POST oder auch online konfiguriert werden. Hat man den vmWare Host mit dem HPE Custom Image installiert, sind die nötigen Utilities schon vorinstalliert.
Je nach Version liegen die Utilies unter /opt/hp/tools, /opt/tools oder eventuell auch noch anderen Pfaden, sollten aber nicht schwierig zu finden sein. Hier benötigt das „HPE Lights-Out Online Configuration Utility“.
[root@vm01:~] /opt/hp/tools/hponcfg
HPE Lights-Out Online Configuration utility
Version 4.4-2 (c) Copyright 2011-2015 Hewlett Packard Enterprise Development LP
Firmware Revision = 2.50 Device type = iLO 4 Driver name = hpilo
iLO IP Address: 192.168.99.1
USAGE:
hponcfg -?
hponcfg -h
hponcfg -m minFw
hponcfg -r [-m minFw ]
hponcfg [-a] -w filename [-m minFw]
hponcfg -g [-m minFw]
hponcfg -f filename [-l filename] [-s namevaluepair] [-v] [-m minFw]
hponcfg -i [-l filename] [-s namevaluepair] [-v] [-m minFw]
-h, --help Display this message
-? Display this message
-r, --reset Reset the Management Processor to factory defaults
-f, --file Get/Set Management Processor configuration from "filename"
-i, --input Get/Set Management Processor configuration from the XML input
received through the standard input stream.
-w, --writeconfig Write the Management Processor configuration to "filename"
-a, --all Capture complete Management Processor configuration to the file.
This should be used along with '-w' option
-l, --log Log replies to "filename"
-v, --xmlverbose Display all the responses from Management Processor
-s, --substitute Substitute variables present in input config file
with values specified in "namevaluepairs"
-g, --get_hostinfo Get the Host information
-m, --minfwlevel Minimum firmware level
Auslesen der aktuell Konfiguration funktioniert wie folgt:
/opt/hp/tools/hponcfg -w /tmp/iloconfig.xml
Will man z.B. die Netzwerkeinstellungen ändern, kann man diese nun im File /tmp/iloconfig.xml anpassen und die Konfiguration wieder einspielen:
/opt/hp/tools/hponcfg -f /tmp/iloconfig.xml
(Beim bereits konfigurierten System wird man die „<ADD_USER>“ Sektion entfernen müssen, bevor das funktioniert, weil sonst ein „Benutzer schon vorhanden“ Fehler ausgelöst wird)
Im Anschluss das Konfigurationsfile noch aus dem /tmp Ordner entfernen …
rm /tmp/iloconfig.xml