Advertisements

Tag Archives: hponcfg

Install HP Lights-Out Online Configuration Utility for Linux x86 for Suse Linux 8

HP Lights-Out Online Configuration Utility for Linux hponcfg-1.6.0-1.linux.rpm

HP Lights-Out Drivers and Agents for SUSE LINUX Enterprise Server 8 (x86) hprsm-7.5.0-169.sles8.i386.rpm

HP System Health Application and Insight Management Agents for SUSE LINUX Enterprise Server 8 (x86) hpasm-7.3.0-58.ul10.i386.rpm
Download and install the three packages shown above

root@linux:/tmp # rpm -ivh hponcfg-1.6.0-1.linux.rpm hprsm-7.5.0-169.sles8.i386.rpm hpasm-7.3.0-58.ul10.i386.rpm
hponcfg ##################################################
hpasm ##################################################
Please read the Licence Agreement for this software at

/opt/compaq/hpasm/hpasm.license

By not removing this package, you are accepting the terms
of the “License for HP Value Added Software”.
==============================================================================
NOTE: In order to activate the software contained in this package, you must
type ‘hpasm activate’ as ‘root’ user.
You may subsequently reset your agent configuration by typing
‘/etc/init.d/hpasm configure’ or ‘/etc/init.d/hpasm reconfigure’.
==============================================================================
The hpasm RPM has installed successfully.
hprsm ##################################################
cat: /opt/compaq/cpqci/driver/kernel.txt: No such file or directory
Looking for sources to build 2.4.21-278-smp
Rebuild successful.
..cpqci started.
Looking for sources to build 2.4.21-278-smp
Setting up hprsm sources for custom RPM
/opt/compaq/hprsm/etc/rebuild: line 35: /usr/src/packages/SPECS/hprsm.spec: No such file or directory
which: no rpmbuild in (/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin)
ls: /usr/src/packages/RPMS/i386/hprsm-*-custom.i386.rpm: No such file or directory
RPM build with /usr/src/packages/SPECS/hprsm.spec failed!
You must run ‘hpasm activate’ as ‘root’ user before
running the software agents contained in this package.
For proper configuration of the software agents in
this package, it is recommended that you run
‘/opt/compaq/hprsm/hprsm activate’ after you have
run ‘hpasm activate.’

The hprsm RPM has installed successfully.

===================================================================
NOTE: If you have not previously run the ‘hpasm activate’
command you must type ‘hpasm activate’ as ‘root’ user
to activate the agent software in this package.
===================================================================

Run hponcfg

root@linux:/tmp # hponcfg
Firmware Revision = 1.82 Device type = iLO Driver name = cpqci
HPONCFG RILOE II/iLO setup and configuration utility
Version 1.6 (c) Hewlett-Packard Company, 2005-2006

hponcfg -?
hponcfg -h
hponcfg -m minFw
hponcfg -r [-m minFw ]
hponcfg -w filename [-m minFw]
hponcfg -g [-m minFw]
hponcfg -f filename [-l filename] [-s namevaluepair] [-v] [-m minFw]

-h, –help Display this message
-? Display this message
-r, –reset Reset the RILOE II/iLO to factory default
-f, –file Get/Set RILOE II/iLO config from “filename”
-w, –writeconfig Write the RILOE II/iLO config to “filename”
-l, –log Log replies to “filename”
-v, –xmlverbose Display all the responses from RILOE II/iLO
-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

Advertisements

Reset the password for the user Administrator in HP iLO 2

Create an XML file with the following contents

root@linux:~ # vi passwd_reset_ilo.xml
<ribcl VERSION=”2.0″>
<login USER_LOGIN=”Administrator” PASSWORD=”boguspassword”>
<user_INFO MODE=”write”>
<mod_USER USER_LOGIN=”Administrator”>
<password value=”newpassword”/>
</mod_USER>
</user_INFO>
</login>
</ribcl>

This file will reset the user Administrator with the password newpassword

Download hponcfg going here – http://www.hp.com/support/ilo2

Select the appropriate Linux operating system.
Select Software – Lights-Out Management category.
Select the HP Lights-Out Online Configuration Utility for Linux .
Select the appropriate version of the HP Lights-Out Online Configuration Utility and click the “download” button.

After installing, run as shown below.

root@linux:~ # hponcfg -f passwd_reset_ilo.xml -l log.txt
HP Lights-Out Online Configuration utility
Version 4.0.1 Date 09/24/2012 (c) Hewlett-Packard Company, 2012
Firmware Revision = 2.01 Device type = iLO 2 Driver name = hpilo
Script succeeded

Source – http://amal.net/?p=1675

%d bloggers like this: