Setup Guide
Broadcom OCM-CLI-LPE-UG124-100
25
Emulex OneCommand Manager Command Line Interface User Guide
4.4 CIM Client Interface
NOTE: In Linux and Solaris, you cannot use HbaCmd as a CIM client.
4.4.1 Device Management Using the CIM Interface
VMware on the hypervisor-based ESXi platforms uses the CIM as the only standard management mechanism for device
management.
For VMware ESXi hosts, you can manage adapters using the OneCommand Manager CLI on Windows, but you must install
and use the appropriate Broadcom Emulex CIM Provider on the VMware ESXi host. For installation, refer to the CIM Provider
Package Installation Guide.
NOTE: For VMware ESXi hosts, if advanced adapter management capabilities are required, use the OneCommand
Manager for VMware vCenter Server. For more details, refer to the OneCommand Manager for VMware vCenter
User Guide.
4.4.2 Syntax Rules for the CIM Interface
For the CIM interface, all the syntax rules in Section 4.2, HbaCmd Syntax Usage, apply, except that the h option is required.
Additionally, the m=cim parameter is required in the command line to get the data from the ESXi host. For example:
hbacmd h=192.168.1.110 m=cim u=root p=password n=root/emulex listhbas
4.4.2.1 Syntax Options and Setting CIM Credentials
For issuing CIM-based commands, two main syntax options are available.
Option A
hbacmd <h=IP_Address[:port]> m=cim [u=userid] [p=password] [n=root/emulex] <command> <WWPN>
Option B
hbacmd <h=IP_Address[:port]> <m=cim> <command>
Before using the option B syntax, you must set the CIM credentials. Perform one of the following tasks:
Set the default CIM credentials using the SetCimCred command (see Section 5.12.10, SetCimCred). This command
sets only the CIM credentials. After you have set them, subsequent HbaCmd commands do not require you to specify
the CIM credentials on the command line.
Command syntax:
hbacmd setcimcred <username> <password> <namespace> <portnum>
Add the host IP address with CIM credentials using the AddHost command.
Command syntax:
hbacmd <m=cim> [u=userid] [p=password] [n=namespace] addhost <IP_Address>