Cli client command usage, Overview – Dell Emulex Family of Adapters User Manual

Page 312

Advertising
background image

OneCommand Manager Command Line Interface Version 10.2 User Manual

P010067-01A Rev. A

4. CLI Client Command Usage

Overview

312

4. CLI Client Command Usage

Overview

The CLI Client component of the OneCommand Manager application provides access

to the capabilities of the Remote Management library or the CIM interface from a

console command prompt to get the management information. The CLI Client is

intended for use in scripted operations from within shell scripts or batch files. The CLI

Client is a console application named HbaCmd. A single operation is performed by

entering “hbacmd”, followed by a CLI client command and its possible parameters, at

the command line. For example:

hbacmd <command> [parameters]

Note: To run the HbaCmd application when Secure Management is enabled, you

must include your user name and password each time you type a command.

For example:

Secure Management disabled:

hbacmd <command>

Secure Management enabled:

hbacmd <m=sec> <userid><password><command>

User names and passwords are used to authenticate the commands. Once the

credentials are authenticated, the OCM will determine which one of the four

user groups you belong to and will allow command usage as appropriate. See

“OneCommand Manager Secure Management” on page 296 for more

information.

When the specified operation is completed, the command prompt is displayed. For a

majority of commands, the first parameter following the command is the WWPN or

MAC address of the port that the command is to act upon.

CLI in Read-Only Mode May Cause Error Message

Note: The CLI does not allow the execution of certain commands when it is

configured for read-only mode. The following error message is returned if such

a command is attempted:

Error: Read-only management mode is currently set on this host.

The requested command is not permitted in this mode.

Advertising