Introduction
This document is a quick reference for Oracle Hardware Management Pack command line interface (CLI) commands. Unless otherwise specified, listed subcommands and options are specific to each command. For more information, view the man pages or refer to the Oracle Server CLI Tools User’s Guide.
To determine if a command is supported for your system, refer to the support matrices:
https://www.oracle.com/goto/ohmp
Note:
Most commands require root or administrator permissions.
Common Command Options
These options are common to most commands.
Short Option | Long Option | Description |
---|---|---|
|
|
Displays help information. |
|
|
Displays the tool version. |
|
|
Suppresses informational message output and returns only error codes. |
|
|
Automatically confirms an operation. Does not prompt user for manual confirmation during command execution. |
biosconfig Command Syntax
View and configure BIOS information for servers that only support Legacy BIOS.
Task | CLI Command |
---|---|
Get the version of this tool. |
|
Get the boot devices list. |
|
Set the boot devices list. |
|
Get setup configuration from CMOS. |
|
Set CMOS configuration. |
|
Get 256 bytes CMOS setup data from BIOS. |
|
Set 256 bytes of CMOS setup data to BIOS. |
|
fwupdate Automatic Mode Command Syntax
Utilize a metadata XML file that comes with the patch download package to update component firmware. Recommended update method.
Task | CLI Command |
---|---|
List component information based on available metadata. To list updatable targets that support metadata, use the
To find the devicename for a target, use the
|
|
Update a component or components based on available metadata and command-line directives. Note: The reboot options are only supported with metadata that includes a power cycle. |
|
Update a service processor based on available metadata and command-line directives over a network. Note: SSL certificate checking is used for network access
by default. For this feature to work, you must have installed a client-side
certificate for the target SP and you must use the Common Name for the
|
|
fwupdate Manual Mode Command Syntax
Use a component-specific image file that comes with the patch download package to update component firmware. For advanced users or when no metadata XML file is available.
Task | CLI Command |
---|---|
List component information. To list updatable image targets, use the To find the devicename for a target, use the
|
|
Update a component or components based on available metadata and command-line directives. |
|
Update a service processor based on available metadata and command-line directives over a network. Note: The Note: SSL certificate checking is used for network access
by default. For this feature to work, you must have installed a client-side
certificate for the target SP and you must use the Common Name for the
|
|
hwmgmtcli Command Syntax
View system information including event logs.
Task | CLI Command |
---|---|
List subsystem information (for subsystem, all will list all subsystems). |
|
View open problems. |
|
Export subsystem information to an XML file. |
|
ilomconfig Command Syntax
View system information and configure the Oracle Integrated Lights Out Manager (ILOM) service processor.
Task | CLI Command |
---|---|
Export the Oracle ILOM configuration to an XML file. |
|
Import an Oracle ILOM configuration from an XML configuration file. |
|
Show a system summary. |
|
List users. |
|
List SNMP communities. |
|
List IPv4 network settings. |
|
List IPv6 network settings. |
|
List service processor identification information. |
|
List DNS information. |
|
List clock information. |
|
Create users. |
|
Delete users. |
|
Create SNMP communities. |
|
Modify users. |
|
Modify IPv4 network settings. |
|
Modify IPv6 network settings. |
|
Modify system identification information. |
|
Modify DNS information. |
|
Reset Oracle ILOM settings to factory defaults. |
|
List the Host-to-ILOM interconnect settings. |
|
Enable Host-to-ILOM interconnect. |
|
Disable Host-to-ILOM interconnect. |
|
Modify Host-to-ILOM interconnect. |
|
List ILOM watchdog settings. |
|
Enable ILOM watchdog. |
|
Disable ILOM watchdog. |
|
Modify ILOM watchdog settings. |
|
Reset ILOM watchdog settings to factory defaults. |
|
List host watchdog settings. |
|
Enable host watchdog settings. |
|
Disable host watchdog settings. |
|
Modify host watchdog settings. |
|
Reset host watchdog settings to factory defaults. |
|
Show a system summary. |
|
Configure Oracle ILOM over a network. Note: SSL certificate checking is used for network
access by default. For this feature to work, you must have installed a
client-side certificate for the target SP and you must use the Common Name
for the |
|
itpconfig Command Syntax
Forward Oracle ILOM SNMP traps to a host. Only used with the Hardware Management Agent (hwmgmtd).
Task | CLI Command |
---|---|
List Host-to-ILOM Interconnect settings. |
|
Enable Host-to-ILOM Interconnect. |
|
Modify Host-to-ILOM Interconnect settings. |
|
Disable Host-to-ILOM Interconnect. |
|
List Oracle ILOM trap forwarding proxy settings. |
|
Enable Oracle ILOM trap forwarding proxy. |
|
Modify Oracle ILOM trap forwarding proxy settings. |
|
Disable trap forwarding. |
|
nvmeadm Command Syntax
View and configure NVMe storage.
Task | CLI Command |
---|---|
List controller information. |
|
List namespace information. |
|
List error information. |
|
Generate error logs. This command generates nlog and eventlog files for Intel NVMe devices, and generates crash dump and memory dump files for Samsung NVMe devices. |
|
Save vendor information to a file. |
|
List features of an NVMe controller. |
|
Format NVMe media. |
|
List supported LBA formats (block and metadata sizes). |
|
Erase NVMe media. |
|
Securely erase NVMe media. |
|
Export the NVMe SSD configuration to a file. |
|
Import the NVMe SSD configuration (block and metadata size only) from a file. |
|
raidconfig Command Syntax
View and configure RAID storage (hardware RAID controllers only). Before using raidconfig to create volumes (which will overwrite any existing data), use operating system tools to take an inventory of attached disks, their enumeration, and whether they contain data that you want to preserve.
Task | CLI Command |
---|---|
List information on controllers, RAID volumes and disks. Available targets: To find a controller, disk, or raid volume name, use the list all command. |
|
Enable or disable JBOD mode on one or more disks connected to a RAID controller. Enabling JBOD mode on a controller sets JBOD mode on all its disks by default. Disks can then have JBOD mode enabled/disabled individually. Note: Only supported on Oracle Storage 12 Gb SAS RAID PCIe HBA, Internal (7110116, 7110117). Do not enable or disable JBOD mode on disks that contain the OS. |
|
Create a RAID volume. |
|
Delete a RAID volume. |
|
Add a specified disk. |
|
Remove a specified disk. |
|
Add a specified spare. |
|
Remove a specified spare. |
|
Modify a RAID volume. |
|
Modify a RAID controller. |
|
Start a maintenance task. |
|
Stop a maintenance task. |
|
Restore the RAID configuration. |
|
Clear the RAID configuration. |
|
Export RAID inventory data to an XML file. |
|
Export a RAID configuration to an XML file. |
|
Configure RAID volumes from a configuration file. |
|
Ceate RAID volumes with partial disks. |
|
ubiosconfig Command Syntax
View and configure BIOS information on servers that support UEFI.
Task | CLI Command |
---|---|
Display status of import or export changes to UEFI BIOS settings at the next server boot. |
|
Export a server’s UEFI BIOS settings to an XML file. |
|
Import UEFI BIOS settings stored in an XML file to the server at next boot. |
|
Cancel any pending changes to UEFI BIOS settings. |
|
Reset the UEFI BIOS settings to factory default at the next server boot. |
|
Cancel the pending reset action. |
|
Configure UEFI BIOS information over a network. Note: SSL certificate checking is used for network
access by default. For this feature to work, you must have installed a
client-side certificate for the target SP and you must use the Common Name
for the |
|
zoningcli Command Syntax
zoningcli
can configure the disks in a Oracle SPARC T3-1
server with a 16-disk backplane into two separate 8-disk zones.
Task | CLI Command |
---|---|
List current zoning information. |
|
Enable zoning. |
|
Disable zoning. |
|
Set the expander to the default zoning configuration. |
|
Oracle Hardware Management Pack 2.4 Command Quick Reference
E72073-05
May 2023
Copyright © 2017, 2023, Oracle and/or its affiliates.
Primary Author: Ralph Woodley