Directory. In the temporary directory, locate “CP003732. exe.” Extract the contents


Download 46.06 Kb.
NameDirectory. In the temporary directory, locate “CP003732. exe.” Extract the contents
A typeDirectory
manual-guide.com > manual > Directory
HPONCFG User Instruction

Release 1.0 May 2004
Description

The HPONCFG utility is an online configuration tool used to setup and reconfigure ILO and RILOE II from within the Windows and Linux operating

systems without requiring a reboot of the server operating system. The utility

runs in a command line mode, and must be executed from an operating system

command line.

Requirements

The HPONCFG configuration utility is for use on ProLiant servers containing iLO

and/or RILOE II and executing one of the following operating systems:

- Windows NT Server

- Windows 2000 Server

- Windows 2003 Server

- Red Hat 7.2

- Red Hat 7.3

- Red Hat 8.0

- SLES 7

- United Linux 1.0

ILO based Server

For an iLO based servers, the server must have loaded onto it the iLO

Management Interface Driver. The Smart Start operating system install process

normally installs this driver. During execution, HPONCFG will warn if it cannot

find the driver. If the driver is not installed, it must be downloaded from the HP

website and installed on the server:

http://h18023.www1.hp.com/support/files/lights-out/us/locate/20_5867.html#0

For iLO based servers, HPONCFG requires iLO firmware version 1.41 or later.

RILOE II based Server

For a RILOE II based servers, the server must have loaded onto it the RILOE II

Management Interface Driver. During execution, HPONCFG will warn if it cannot

find the driver. If the driver is not installed, it must be downloaded from the HP

website and installed on the server:

http://h18023.www1.hp.com/support/files/lights-out/us/locate/20_5868.html

For RILOE II based servers, HPONCFG requires RILOE II firmware version 1.13

or later.

All Servers

For both iLO based servers and RILOE II based servers, the server must have

loaded onto it the “sm2user.dll.” This file is automatically loaded along with the

HP Insight Management Agents.

During execution, HPONCFG will warn if it cannot find the “sm2user.dll” file. This

file can be installed separately from the component “HP Insight Management

Agents for Windows 2000/Server 2003,” component number CP003732, that can

be downloaded as a part of the ProLiant Support Pack at:

http://h18004.www1.hp.com/support/files/server/us/download/18416.html

After downloading the ProLiant Support Pack, extract its contents to a temporary

directory. In the temporary directory, locate “CP003732.exe.” Extract the contents

of this component to a temporary directory. In the temporary directory, locate the

subdirectory “cqmgserv.” The “sm2user.dll” file can be found in this subdirectory.

Copy the “sm2user.dll” file to the following directory on the server:

Winnt\system32\

Installation

Delivered Package

The HPONCFG utility is delivered in separate packages for Windows and Linux

systems. For Windows systems, it is delivered as a softpaq. For Linux systems, it

is delivered as a tar file. This same document is delivered as a part of each

delivery package.

Windows Servers

To install HPONCFG, run the self-extracting executable delivered in this package

from within a directory of your choice on the managed server. This will be the

directory from which the HPONCFG utility is executed. This directory will also

contain the XML formatted input scripts, and will store the output files from

execution of the utility.

Make sure that the appropriate Management Interface Driver is installed. The

“sm2user.dll” file must also be installed. See the Requirements section above for

details about where to obtain this driver and file.

Linux Servers

To install HPONCFG, copy the delivered zip file “hponcfg-windows bin.tar” to a

temporary directory on the managed server. Use the tar utility to extract all of the

files. The delivery package contains the following files:

- hponcfg-1.0.rh72-0.1.i386.rpm - RPM package for Red Hat 7.2

- hponcfg-1.0.rh73-0.1.i386.rpm - RPM package for Red Hat 7.3

- hponcfg-1.0.rh8-0.1.i386.rpm - RPM package for Red Hat 8.0

- hponcfg-1.0.sles7-0.1.i386.rpm - RPM package for SLES 7

- hponcfg-1.0.ul10-0.1.i386.rpm - RPM package for United Linux 1.0

Install the appropriate package using the “rpm” installation utility. An example

command line is shown below.

NOTE: The "hprsm" RPM package must be installed before installing the "hponcfg" RPM

package.

As an example, "hponcfg" RPM on Red Hat 8.0 can be installed by:

rpm -ivh hponcfg-1.0.rh8-0.1.i386.rpm

After installation, the "hponcfg" executable can be found in the "/sbin" directory.

Make sure that the appropriate Management Interface Driver is installed. See the

Requirements section above for details about where to obtain this driver.

Execution

General

The HPONCFG configuration utility reads an XML input file, formatted according

to the rules of the HP RIBCL language, and produces a log file containing the

requested output. A few sample scripts are included in the HPONCFG delivery

package. A package containing various and comprehensive sample scripts is

available for download at:

http://h18004.www1.hp.com/support/files/lights-out/us/download/20110.html

Typical usage is to select a script that is similar to the desired functionality and

modify it for the exact desired functionality.
Note that, although no authentication to the iLO or the RILOE II is required, the

XML syntax requires that the USER_LOGIN and PASSWORD tags be present in

the LOGIN tag, and that these fields contain data. Any data will be accepted in

these fields.

In order to successfully execute HPONCFG, the utility must be invoked as

“Administrator” on Windows servers and as “root” on Linux servers. An error

message will be returned by HPONCFG if the user does not possess sufficient

privileges.

Windows Servers


Invoke the HPONCFG configuration utility from the command line, using the

Windows “cmd.exe” (available from START->Run->cmd). HPONCFG will display

a usage page if it is entered with no command line parameters. HPONCFG

accepts as input an XML script formatted according to the rules of RIBCL

(documented in the iLO User Guide and RILOE II User Guide in the section

describing the use of CPQLOCFG).

The command line format is:

HPONCFG [/help][/?][/reset][/f filename][/l filename][/w

filename][/get_hostinfo][/m firmwarelevel][/mouse | /mouse /dualcursor

| /mouse /allusers]

See the “Command Line Parameters” section below for an explanation of the

usage.

Linux Servers

Invoke the HPONCFG configuration utility from the command line. HPONCFG

will display a usage page if it is entered with no command line parameters.

HPONCFG accepts as input an XML script formatted according to the rules of

RIBCL (documented in the iLO User Guide and RILOE II User Guide in the

section describing the use of CPQLOCFG).

The command line format is:

HPONCFG [/help][/?][/reset][/f filename][/l filename][/w

filename][/get_hostinfo][/m firmwarelevel][/mouse | /mouse /dualcursor

| /mouse /allusers]

See the “Command Line Parameters” section below for an explanation of the

usage.

Command Line Parameters
HPONCFG accepts the following command line parameters:

/help or /?: Display the help page.

/reset: Reset the RILOE II / iLO to factory default values.

/f filename: Set the RILOE II / iLO configuration from the information

given in the XML input file that has name "filename."

/w filename: Write the RILOE II / iLO configuration obtained from the

device to the XML output file that has name "filename."

/l filename: Log replies to the text log file that has name "filename."

/get_hostinfo: Get the host’s information. Returns the Server name and

Server serial number.

/m: Indicate to HPONCFG the minimum firmware level that should

be present in the management device in order to execute the RIBCL script. If at least this level of firmware is not present, HPONCFG will return an error without performing any additional action.

/mouse: Cause HPONCFG to configure the server for optimized mouse

handling.

For example:

HPONCFG /f add_user.xml /l log.txt > output.txt
Obtaining an Entire Configuration
HPONCFG can be used to obtain an entire configuration from an iLO or a RILOE

II. In this case, the utility executes from the command line without specification of an input file.

The name of the output file is given on the command line.

HPONCFG /w config.xml ( This will export all info about ILO or RILOE to a file. In this case we named the file config.xml. )



In this example, the utility indicated that it obtained the data successfully and

wrote it to the output file as requested. The following is a typical example of the

contents of the output file:





























































USER_NAME = "Administrator"

USER_LOGIN = "Administrator"

PASSWORD = "">




USER_NAME = "Landy9"

USER_LOGIN = "mandy9"

PASSWORD = "">







Note that user passwords are not returned (for security reasons).

Obtaining a Specific Configuration

A specific configuration can be obtained using the appropriate XML input file. For

example, here are the contents of a typical XML input file, “get_global.xml”:















The XML commands are read from the input file “get_global.xml” and are

processed by the device:

HPONCFG /f get_global.xml /l log.txt > output.txt

The requested information is returned in the log file, which, in this example, is

named “log.txt.” The contents of the log file are shown below.






STATUS="0x0000"

MESSAGE='No error'

/>






STATUS="0x0000"

MESSAGE='No error'

/>






STATUS="0x0000"

MESSAGE='No error'

/>






STATUS="0x0000"

MESSAGE='No error'

/>






STATUS="0x0000"

MESSAGE='No error'

/>































STATUS="0x0000"

MESSAGE='No error'

/>






STATUS="0x0000"

MESSAGE='No error'

/>






STATUS="0x0000"

MESSAGE='No error'

/>



Contents of Log File

Setting a Configuration
A specific configuration can be sent to the iLO or RILOE II by using the command

format:

HPONCFG /f add_user.xml /l log.txt ( We can import a xml file that will add new user)



In this example, the input file has contents:

assigned privileges to 'N' -->








PASSWORD="floppyshoes">













The specified user will be added to the device.

Share in:

Related:

Directory. In the temporary directory, locate “CP003732. exe.” Extract the contents iconDirectory as zblist. Exe

Directory. In the temporary directory, locate “CP003732. exe.” Extract the contents iconEXe exe A simple tool for creating sequences of interactive learning activities for WebLearn

Directory. In the temporary directory, locate “CP003732. exe.” Extract the contents iconDirectory cd to

Directory. In the temporary directory, locate “CP003732. exe.” Extract the contents iconDirectory Contains

Directory. In the temporary directory, locate “CP003732. exe.” Extract the contents iconDirectory used

Directory. In the temporary directory, locate “CP003732. exe.” Extract the contents iconDirectory on Installation 21

Directory. In the temporary directory, locate “CP003732. exe.” Extract the contents iconDirectory on Installation 22

Directory. In the temporary directory, locate “CP003732. exe.” Extract the contents iconDirectory on Installation 28

Directory. In the temporary directory, locate “CP003732. exe.” Extract the contents iconDirectory on Installation 27

Directory. In the temporary directory, locate “CP003732. exe.” Extract the contents iconDirectory on Installation 19

Directory. In the temporary directory, locate “CP003732. exe.” Extract the contents iconDirectory on Installation 22

Directory. In the temporary directory, locate “CP003732. exe.” Extract the contents iconDirectory Status 28

Directory. In the temporary directory, locate “CP003732. exe.” Extract the contents iconDirectory on Installation 21

Directory. In the temporary directory, locate “CP003732. exe.” Extract the contents iconDirectory on Installation 14

Directory. In the temporary directory, locate “CP003732. exe.” Extract the contents iconDirectory on Installation 29

Directory. In the temporary directory, locate “CP003732. exe.” Extract the contents iconDirectory on Installation 19

Directory. In the temporary directory, locate “CP003732. exe.” Extract the contents iconDirectory on Installation 16

Directory. In the temporary directory, locate “CP003732. exe.” Extract the contents iconDirectory on Installation 19

Directory. In the temporary directory, locate “CP003732. exe.” Extract the contents iconDirectory on Installation 22

Directory. In the temporary directory, locate “CP003732. exe.” Extract the contents iconDirectory on Installation 19




manual


When copying material provide a link © 2017
contacts
manual-guide.com
search