Confidential computer software. Valid license from HP required for possession, use or copying. Consistent with FAR 12.211 and 12.212, Commercial
Computer Software, Computer Software Documentation, and Technical Data for Commercial Items are licensed to the U.S. Government under
vendor's standard commercial license. The information contained herein is subject to change without notice. The only warranties for HP products
and services are set forth in the express warranty statements accompanying such products and services. Nothing herein should be construed as
constituting an additional warranty. HP shall not be liable for technical or editorial errors or omissions contained herein. UNIX is a registered
trademark of The Open Group.
Acknowledgments
Microsoft Windows is U.S. registered trademarks of Microsoft Corporation.
This section provides information about the utilities supported on VMware ESXi 5.0 and updates.
The following utilities are supported on VMware ESXi 5.0 and updates host:
•HPONCFG — Command line utility used for obtaining and setting ProLiant iLO configurations.
•HPBOOTCFG — Command line utility used for configuring ProLiant server boot order.
•HPACUCLI – Command line utility used for configuration and diagnostics of ProLiant server
SmartArrays.
Installing offline bundles on an ESXi 5.0 and updates host using vSphere
CLI 5.0 esxcli utility
This section provides information about installing the VMware ESXi 5.0 and updates offline bundles
on the ESXi host. You can use the esxcli utility in conjunction with offline bundles or with a depot.
Prerequisites
Install VMware vSphere Command-Line Interface 5.0(vSphere CLI) on Microsoft
Windows or Linux system. For information about importing or installing the vSphere CLI 5.0,
see the VMware vSphere Command-Line Interface Installation and Reference Guide available at:
•Install from ESXi host, with offline bundle available on ESXi host
~# esxcli software vib install -d <ESXi local path><bundle.zip>
4.After the bundle is installed, reboot the ESXi host to initialize the utilities.
Installing offline bundles on an ESXi 5.0 and updates host using VMware
vCenter Update Manager
The offline bundle can also be installed from VMware vCenter Update Manager as a patch. For
more information and detailed instructions, see the VMware vCenter Update Manager AdministrationGuide available at:
The HPONFCG utility only supports HP ProLiant 300/500/700/900 Server series, 100 Series
Gen8 servers, and HP ProLiant BL Servers that are listed in the ESXi Server Support Matrix. To visit
4Introduction
the ESXi Server Matrix page, go to www.hp.com/go/vmware and select Certified ProLiants underTools/Resource section.
HP offers support for the iLO 2, iLO 3 and iLO 4 features available on ProLiant servers with the
HPONCFG utility.
HPONCFG is an online configuration tool used to set up and reconfigure iLO 2, iLO3 and iLO 4
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.
Observe the following requirements before using HPONCFG:
•The iLO 2, iLO 3 or iLO 4 Management Interface Driver must be loaded on the server. HPONCFG
displays a warning if the driver is not installed.
•HPONCFG requires minimum iLO 2, iLO 3 and iLO 4 firmware versions. To determine the
minimum firmware version required, see the HP SmartStart Scripting Toolkit Linux and WindowsEditions Support Matrix.
For more information, see the Remote Management website:http://www.hp.com/servers/lights-out
The HPONCFG utility can be accessed from the location: /opt/hp/tools.
IMPORTANT:Because the-w argument does not capture certain types of information, such as
the administrator password, data files created with HPONCFG using the-w argument cannot then
be used as input files for HPONCFG, unless they are modified first.
Table 1 hponcfg Command Line Arguments
FunctionArgument
-a, --all
-i --input
-s,--substitute
-f, - -file=filename
-m, - -minfwlevel
This argument captures complete Management Processor configuration to the
file. This option should be used along with the "-w" option.
This argument Get/Set Management Processor Configuration from the XML
input received through the standard input stream.
This argument substitutes variables present in the input configuration file with
the values specified in "namevaluepairs".
This argument sets the iLO 2, iLO 3 or iLO 4 configuration based on the
information in the XML input file named filename.
This argument logs replies to the text log file named filename.-l, - -log=filename
Writes all the responses from iLO 2, iLO 3 or iLO 4.-v, - -xmlverbose
This argument returns the host server name and serial number.-g, - -get_hostinfo
This argument indicates to HPONCFG the minimum firmware level that must be
present in the management device to execute the RIBCL script. If the minimum
level is not met, HPONCFG returns an error without performing any additional
actions.
-w, - -writeconfig=filename
This argument writes the iLO 2, iLO 3 or iLO 4 configuration obtained from the
device to the XML output file named filename.
This argument resets the iLO 2, iLO 3 or iLO 4 to factory defaults.-r, - -reset
These arguments display simple help messages.-h, - -help, - -?
HPONCFG utility5
HPONCFG return codes
This section provides description about the return code after running the command.
Table 2 hponcfg return codes
MeaningValue
ERROR: A general system error detected while running HPONCFG-1
Script succeeded.0
Script failed1
ERROR : Unable to shutdown the iLo Channel Interface2
Firmware flash is in progress. Please wait for a while.3
General error detected while checking firmware flash.4
iLO Lights-Out functionality is Disabled.5
Please enable Lights-Out functionality before using this software.
To Enable Lights-Out functionality:
Set iLO Security Override Switch to ON and
Use iLO ROM-based Setup Utility or iLO Browser interface to enable lights-out
functionality.
You are not a root/superuser. Only root/superuser can access the utility.7
ERROR: Please specify firmware level as numeric input9
Could not get status of the Lights-Out Functionality10
ERROR: Failed to capture the configuration13 - 20
If the script itself fails, errors are reported in the log file created by HPONCFG.
HPONCFG command file contents
The hponcfg command can be used to perform the following tasks:
•Obtain an entire configuration
•Obtain a specific configuration
•Set a configuration
Obtaining an entire configuration
The hponcfg command can be used to obtain an entire configuration from an iLO 2, iLO 3 or
iLO 4. 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:
/opt/hp/tools # ./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:
For security reasons, the user passwords are not returned.
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:
<!-- Sample file for Get Global command -->
<RIBCL VERSION="2.0">
<LOGIN USER_LOGIN="x" PASSWORD="x">
<RIB_INFO MODE="read">
<GET_GLOBAL_SETTINGS />
</RIB_INFO>
</LOGIN>
</RIBCL>
The XML commands are read from the input file get_global.xml and are processed by the
device:
<!–Add user with minimal privileges to test default setting of assigned privileges to 'N'—>
<RIBCL version="1.2"/>
<LOGIN USER_LOGIN="x" PASSWORD="x">
<USER_INFO MODE="write">
<ADD_USER USER_NAME="Landy9" USER_LOGIN="mandy9"
PASSWORD="floppyshoes">
<RESET_SERVER_PRIV value="Y" />
<ADMIN_PRIV value="Y" />
</ADD_USER>
</USER_INFO>
</LOGIN>
</RIBCL>
The specified user will be added to the device.
HPONCFG command-line examples
This section provides sample examples to run the utility.
Table 3 hponcfg command-line examples
To view the command usage options, run the following command:
/opt/hp/tools # ./hponcfg —h
All options supported by the command are listed in the output.
To get the host server name and serial number, run the following command:
/opt/hp/tools # ./hponcfg —g
The following output is displayed:
Firmware Revision = 2.05 Device type = iLO 2 Driver name = hpilo
Host Information:
Server Name: localhost.americas.hpqcorp.net
Server Number: 000000000
To set the minimum firmware level, run the following command:
/opt/hp/tools # ./hponcfg —m 2
The following output is displayed:
DescriptionCommand-line argument
This argument displays help information.hponcfg -h
This argument returns the host server name and serial number.hponcfg -g
Firmware Revision = 2.05 Device type = iLO 2 Driver name = hpilo
8Introduction
HPBOOTCFG utility
The hpbootcfg utility only supports HP ProLiant 300/500/700/900 Server series, 100 Series
Gen8 servers, and HP ProLiant BL Servers that are listed in the ESXi Server Support Matrix. To visit
the ESXi Server Matrix page, go to www.hp.com/go/vmware and select Certified ProLiants underTools/Resource section.
This utility allows an application to set the device for the next subsequent boot of the system.
Sets Floppy Drive as the first boot device for the system boot-F
Sets CD-ROM Drive as the first boot device for the system boot-C
Sets Hard Drive as the first boot device for the system boot-H
Sets Tape Drive as the first boot device for the system boot-T
Sets system configuration utility as the boot device for the current boot-S
Sets quick configuration utility as the boot device for the current boot-Q
Sets ROM-Based Setup Utility (RBSU) as the boot device for the current boot-R
Sets PXE client as the boot device for the current boot-P
Sets remote configuration as the boot device for the current boot-r
Sets remote dial out as the boot device for the current boot-d
Sets remote network as the boot device for the current boot-n
Bypasses F1 / F2 prompts-b
HPBOOTCFG ESXCLI syntax
The hpbootcfg utility is supported by the ESXCLI utility.
To view the command usage options, run the following command:
# esxcli hpbootcfg
The following output is displayed:
Usage: esxcli hpbootcfg {cmd} [cmd options]
Available Commands:
execute execute — hpbootcfg command with options parameter
help — show hpbootcfg help
show — show current hpbootcfg settings
To view the current boot settings, run the following command:
# esxcli hpbootcfg show
The following output is displayed:
00 00: Normal Device first, normal boot process
To set the command parameter values, use the "execute" cmd and one of the options listed in
Table 4. The following is an example of the command to set the defaults:
HPBOOTCFG utility9
# esxcli hpbootcfg execute -D
The following output is displayed:
00 00: Normal Device first, normal boot process
HPBOOTCFG return codes
This section provides description about the return code after running the command.
Table 5 hpbootcfg return codes
MeaningValue
Indicates success0
Indicates failureNon zero
HPBOOTCFG command-line examples
This section provides sample examples to run the utility.
Table 6 hpbootcfg command-line examples
DescriptionCommand-line argument
This argument displays help information./opt/hp/tools/hpbootcfg -h
HPACUCLI utility
The HPACUCLI utility supports HP ProLiant 300/500/700 and Blade servers with integrated
SmartArray controllers and option controllers. The utility supports reporting and configuration of
the SmartArray. Configuration includes the ability to create arrays; create, expand, and delete
logical drives and many other advanced operations. The information provided in the guide is
introductory and example focused . For more information, see HP Array Configuration Utility UserGuide available at:http://h20000.www2.hp.com/bc/docs/support/SupportManual/c00294139/
c00294139.pdf .
Additional references to HP Array Configuration guides and white papers are available at:
Using VMware esxcli requires knowledge about the CLI usage. The VMware vSphere command
line documentation is available at: http://www.vmware.com/support/developer/vcli/.
The following is an overview of the ESXCLI command-line format:
Additional switches associated with the command itself (if necessary).cmd options
This is the string which dictates the operation that should be executed by the target application itself.“command-string”
The current namespace and command names are: hpacucli and cmd respectively. The {cmdoptions} parameter can be cmdopts or -q. There is no need for an {object} type for ACUCLI
since the application operates on internal commands supplied in the command-string.
HPACUCLI ESXCLI syntax
The HPACUCLI utility is supported by the ESXCLI utility.
Use the following command syntax for all commands:
The command-string parameter supports same commands that are specified at the HPACUCLI
interactive command-line interface.
Example 1 This example shows the information about all the SmartArray controller on the server.
esxcli –server=”servername or IP” –user=”username” –password=”root
password” hpacucli cmd -q “controller all show status ”
The following output is displayed:
Smart Array P212 in Slot 9
Controller Status: OK
Smart Array P410i in Slot 0 (Embedded)
Controller Status: OK
Cache Status: OK
Battery/Capacitor Status: OK
Example 2 This example shows the detailed configuration information for the SmartArray controller
in slot 0.
# esxcli –server=”servername or IP” –user=”username” –password”root
password” hpacucli cmd -q “controller slot=0 show config detail”
The following output is displayed:
Smart Array P410i in Slot 0 (Embedded)
Bus Interface: PCI
Slot: 0
Serial Number: 5001438013A25C90
Cache Serial Number: PBCDF0CRH0J7SD
RAID 6 (ADG) Status: Disabled
Controller Status: OK
Hardware Revision: C
Firmware Version: 3.70
Rebuild Priority: Medium
Expand Priority: Medium
Surface Scan Delay: 15 secs
Surface Scan Mode: Idle
Queue Depth: Automatic
Monitor and Performance Delay: 60 min
Elevator Sort: Enabled
HPACUCLI utility11
Degraded Performance Optimization: Disabled
Inconsistency Repair Policy: Disabled
Wait for Cache Room: Disabled
Surface Analysis Inconsistency Notification: Disabled
Post Prompt Timeout: 0 secs
Cache Board Present: True
Cache Status: OK
Accelerator Ratio: 25% Read / 75% Write
Drive Write Cache: Disabled
Total Cache Size: 1024 MB
Total Cache Memory Available: 912 MB
No-Battery Write Cache: Disabled
Cache Backup Power Source: Capacitors
Battery/Capacitor Count: 1
Battery/Capacitor Status: OK
SATA NCQ Supported: True
Array: A
Interface Type: SAS
Unused Space: 0 MB
Status: OK
Logical Drive: 1
Size: 136.7 GB
Fault Tolerance: RAID 1
Heads: 255
Sectors Per Track: 32
Cylinders: 35132
Strip Size: 256 KB
Full Stripe Size: 256 KB
Status: OK
Array Accelerator: Enabled
Unique Identifier: 600508B1001CB65083D63C5E781ABF65
Disk Name: vmhba2:C0:T0:L1
Mount Points: None
Logical Drive Label: A00D1AF35001438013A25C90F0BA
Mirror Group 0:
physicaldrive 1I:1:1 (port 1I:box 1:bay 1, SAS, 146 GB, OK)
Mirror Group 1:
physicaldrive 1I:1:2 (port 1I:box 1:bay 2, SAS, 146 GB, OK)
physicaldrive 1I:1:1
Port: 1I
Box: 1
Bay: 1
Status: OK
Drive Type: Data Drive
Interface Type: SAS
Size: 146 GB
Rotational Speed: 10000
Firmware Revision: HPDE
Serial Number: 6SD3FJVL0000B145MFXB
Model: HP EG0146FAWHU
Current Temperature (C): 36
Maximum Temperature (C): 46
PHY Count: 2
PHY Transfer Rate: 6.0GBPS, Unknown
physicaldrive 1I:1:2
Port: 1I
Box: 1
Bay: 2
Status: OK
Drive Type: Data Drive
Interface Type: SAS
12Introduction
Size: 146 GB
Rotational Speed: 10000
Firmware Revision: HPDE
Serial Number: 6SD3EVBH0000B144Q7RD
Model: HP EG0146FAWHU
Current Temperature (C): 37
Maximum Temperature (C): 49
PHY Count: 2
PHY Transfer Rate: 6.0GBPS, Unknown
unassigned
physicaldrive 1I:1:3
Port: 1I
Box: 1
Bay: 3
Status: OK
Drive Type: Unassigned Drive
Interface Type: SAS
Size: 146 GB
Rotational Speed: 10000
Firmware Revision: HPDE
Serial Number: 6SD3FK4A0000B145J6JK
Model: HP EG0146FAWHU
Current Temperature (C): 37
Maximum Temperature (C): 48
PHY Count: 2
PHY Transfer Rate: 6.0GBPS, Unknown
...
These examples are not inclusive of all the capabilities of the HPACUCLI command. Commands
and options for additional operations using the HPACUCLI, such as creating a logical drive, are
documented in the HP Array Configuration Utility User Guide.
Generating an ADU report (diagnostics) from within HPACUCLI for ESXi
5.0 and updates
The ACUCLI application contains the ability to generate a diagnostic report of the system and its
Smart Array storage configuration. The following steps are required in order to obtain an ADU
report from a remote machine running ESXi 5.0 and updates.
1.Obtain and install the HP Array Diagnostics and SmartSSD Wear Gauge Utility:
1.Browse to http://www.hp.com
2.Click on Support & Drivers
3.Select Drivers & Software
4.In the search box, type HP Array Configuration Utility
5.Select the operating system of the client machine that will be used to remotely access the
machine running ESXi 5.0 and updates.
6.Under the Software – System Management menu, proceed to download the HP ProLiant
Array Diagnostics and SmartSSD Wear Gauge Utility by clicking on the link.
NOTE:The desired version is 9.x or newer.
7.Install the Windows component or Linux RPM package onto the client machine.
2.The location where the package has installed the included applications and then update your
system path to include this location.
3.The client machine used to access the remote ESXi 5.0 and updates machine must also have
the vSphere CLI esxcli command line tool installed and must be accessible through the
system path. Ensure that the client machine location is included in the path.
Generating an ADU report (diagnostics) from within HPACUCLI for ESXi 5.0 and updates13
4.Use the following tool and associated command-line parameters to perform the creation and
retrieval of the report:
The hpaduesxi application uses the supplied parameters to remotely obtain the report from your
target ESXi 5.0 and updates machine and saves the data into the target zip file. The zip file can
then be opened with any third-party zip application or with the unzip command under Linux.
The hpaduesxi application also contains onboard help which can be obtained by typing hpaduesxi
with no parameters.
14Introduction
2 Support and other resources
This chapter provides information about the contact details and reference documents.
Contacting HP
This section provides information about the prerequisites to be verified before contacting HP and
mechanism supported by the organization for sharing the feedback.
Before you contact HP
Be sure to have the following information available before you call contact HP:
•Technical support registration number (if applicable)
•Product serial number
•Product model name and number
•Product identification number
•Applicable error message
•Add-on boards or hardware
•Third-party hardware or software
•Operating system type and revision level
HP contact information
For the name of the nearest HP authorized reseller:
•See the Contact HP worldwide (in English) webpage (http://welcome.hp.com/country/us/
en/wwcontact.html).
For HP technical support:
•In the United States, for contact options see the Contact HP United States webpage (http://
welcome.hp.com/country/us/en/contact_us.html). To contact HP by phone:
◦Call 1-800-HP-INVENT (1-800-474-6836). This service is available 24 hours a day, 7
days a week. For continuous quality improvement, calls may be recorded or monitored.
◦If you have purchased a Care Pack (service upgrade), call 1-800-633-3600. For more
information about Care Packs, refer to the HP website (http://www.hp.com/hps).
◦In other locations, see the Contact HP worldwide (in English) webpage (http://
welcome.hp.com/country/us/en/wwcontact.html).
Subscription service
HP recommends that you register your product at the Subscriber's Choice for Business website:
http://www.hp.com/country/us/en/contact_us.html After registering, you will receive email
notification of product enhancements, new driver versions, firmware updates, and other product
resources.
Documentation feedback
HP welcomes your feedback. To make comments and suggestions about product documentation,
send a message to docsfeedback@hp.com. Include the document title and manufacturing part
number. All submissions become the property of HP.
Contacting HP15
New and changed information in this edition
•Wording added for hponcfg and hpbootcfg to identify both tools support execution on
ProLiant Series 100 Gen 8.
•Additional arguments for hponcfg command line.
Related information
Following documents and websites provide related information:
Documents
Following documents are supported for the product:
•HP VMware ESXi 5.0 Release Notes
•HP VMware ESXi 5.0 and Updates Getting Started Guide
Websites
HP documents regarding VMware are available at the following location:
This document uses the following typographical conventions:
%, $, or #A percent sign represents the C shell system prompt. A dollar sign
represents the system prompt for the Bourne, Korn, and POSIX
shells. A number sign represents the superuser prompt.
audit(5)A manpage. The manpage name is audit, and it is located in
Section 5.
CommandA command name or qualified command phrase.
Computer outputText displayed by the computer.
Ctrl+xA key sequence. A sequence such as Ctrl+x indicates that you
must hold down the key labeled Ctrl while you press another key
or mouse button.
ENVIRONMENT VARIABLEThe name of an environment variable, for example, PATH.
ERROR NAMEThe name of an error, usually returned in the errno variable.
KeyThe name of a keyboard key. Return and Enter both refer to the
same key.
TermThe defined use of an important word or phrase.
User inputCommands and other text that you type.
VariableThe name of a placeholder in a command, function, or other
syntax display that you replace with an actual value.
[]The contents are optional in syntax. If the contents are a list
separated by |, you must choose one of the items.
{}The contents are required in syntax. If the contents are a list
separated by |, you must choose one of the items.
...The preceding element can be repeated an arbitrary number of
times.
Indicates the continuation of a code example.
|Separates items in a list of choices.
16Support and other resources
WARNINGA warning calls attention to important information that if not
understood or followed will result in personal injury or
nonrecoverable system problems.
CAUTIONA caution calls attention to important information that if not
understood or followed will result in data loss, data corruption,
or damage to hardware or software.
IMPORTANTThis alert provides essential information to explain a concept or
to complete a task
NOTEA note contains additional information to emphasize or supplement
important points of the main text.
Typographic conventions17
Index
D
document
related documentation, 16
R
related documentation, 16
18Index
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.