User's Manual
Back to Contents Page
Command Line Interface
Dell™OpenManage™ServerAdministratorStorageManagementUser'sGuide
Storage Management has a fully-featured command line interface (CLI) that enables you to perform all of Storage Management's reporting, configuration, and
management functions from an operating system command shell. The Storage Management CLI also enables you to script command sequences.
The Storage Management CLI provides expanded options for the Dell OpenManage™ Server Administrator omreport and omconfig commands. When using the
Storage Management CLI, you should be familiar with the Dell OpenManage Server Administrator CLI options documented in the Dell OpenManage Server
Administrator Command Line Interface User's Guide. This Storage Management chapter only documents the omreport and omconfig options that apply to
Storage Management. The Dell OpenManage Server Administrator Command Line Interface User's Guide provides extensive Server Administrator CLI information
not provided in this Storage Management chapter.
CLI Command Syntax
When using the omreport and omconfig commands, you should understand how these commands are constructed. In particular you, you need to understand
the following:
l "omreport and omconfig Command Levels"
l "omconfig name=value Pairs"
l "pdisk=<PDISKID> Parameter"
l "enclosure=<ENCLOSUREID> Parameter"
l "Multiple Targets"
omreport and omconfig Command Levels
Like all of the Dell OpenManage Server Administrator commands, the omreport and omconfig command syntax consists of specifying command levels. The first
command level is the command name: omreport or omconfig. Subsequent command levels provide a greater degree of specificity regarding the type of object
on which the command will operate or the information that the command will display.
For example, the following omconfig command syntax has three levels:
omconfig storage pdisk
The following table describes these command levels.
Table 15-1.ExampleCommandLevels
omconfig name=value Pairs
Following the command levels, the omreport and omconfig command syntax may require one or more name=value pairs. The name=value pairs specify exact
objects (such as a specific physical disk) or options (such as blink or unblink) that the command will implement.
For example, the following omconfig command syntax for blinking a physical disk has three levels and three name=value pairs:
omconfig storage pdisk action=blink controller=id pdisk=<PDISKID>
where:
PDISKID=<connector:enclosureID:portID | connector:targetID>
In this example, the id in controller=id is the controller number such that controller 1 would be specified as controller=1.
CLI Command Syntax
omconfig Virtual Disk Commands
Syntax for Required, Optional, and Variable Command Elements
omconfig Physical Disk Commands
User Privileges for omreport storage and omconfig storage
omconfig Battery Commands
omreport Command
omconfig Connector Commands
omconfig Global Commands
omconfig Enclosure Commands
omconfig Controller Commands
Command level
1
Command level
2
Command level
3
omconfig
Specifies the command
storage
Indicates the Server Administrator service (in this case, Storage Management) that implements the
command
pdisk
Specifies the type of object on which the command operates