Using hponcfg on windows servers, Obtaining an entire configuration – HP Remote Insight Lights-Out Edition II Board User Manual

Page 136

Advertising
background image

Scripting, command line, and utility options 136

Using HPONCFG on Windows servers

Start the HPONCFG configuration utility from the command line. When using Microsoft® Windows®,
cmd.exe is available by selecting Start>Run>cmd. HPONCFG displays a usage page if HPONCFG is
entered with no command line parameters. HPONCFG accepts a correctly formatted XML script. Refer to
the "Remote Insight Command Language (on page

138

)" section for more information on formatting XML

scripts. HPONCFG sample scripts are included in the HPONCFG package.

The command line format is:

HPONCFG [ /help | /? | /m firmwarelevel | /reset [/m firmwarelevel]

| /f filename [/l filename][/xmlverbose or /v][/m firmwarelevel]

| /w filename [/m firmwarelevel]

| /get_hostinfo [/m firmwarelevel]

| /mouse [/dualcursor][/allusers] ]

Refer to the "HPONCFG command line parameters (on page

135

)" section for an explanation of the

usage.

Obtaining an entire configuration

HPONCFG can be used to obtain an entire configuration from an iLO management processor 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. For example:

HPONCFG /w 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:

<HPONCFG VERSION = "1.1">

<!--- Generated 04/15/04 15:20:36 --->

<MOD_DIR_CONFIG>

<DIR_AUTHENTICATION_ENABLED VALUE = "N"/>

<DIR_LOCAL_USER_ACCT VALUE = "Y"/>

<DIR_SERVER_ADDRESS VALUE = ""/>

<DIR_SERVER_PORT VALUE = "25"/>

<DIR_OBJECT_DN VALUE = " "/>

<DIR_OBJECT_PASSWORD VALUE = ""/>

<DIR_USER_CONTEXT_1 VALUE = ""/>

<DIR_USER_CONTEXT_2 VALUE = "_"/>

<DIR_USER_CONTEXT_3 VALUE = ""/>

</MOD_DIR_CONFIG>

<MOD_NETWORK_SETTINGS>

<SPEED_AUTOSELECT VALUE = "Y"/>

<NIC_SPEED VALUE = "100"/>

<FULL_DUPLEX VALUE = "Y"/>

<IP_ADDRESS VALUE = "16.100.241.229"/>

<SUBNET_MASK VALUE = "255.255.252.0"/>

<GATEWAY_IP_ADDRESS VALUE = "16.100.240.1"/>

<DNS_NAME VALUE = "ILOD234KJ44D002"/>

<PRIM_DNS_SERVER value = "16.81.3.242"/>

<DHCP_ENABLE VALUE = "Y"/>

<DOMAIN_NAME VALUE = "americas.cpqcorp.net"/>

<DHCP_GATEWAY VALUE = "Y"/>

<DHCP_DNS_SERVER VALUE = "Y"/>

<DHCP_STATIC_ROUTE VALUE = "Y"/>

<DHCP_WINS_SERVER VALUE = "Y"/>

<REG_WINS_SERVER VALUE = "Y"/>

Advertising