The OneCommand Utility User Manual
Page 158
The OneCommand Manager application CLI can manage Emulex adapters in systems configured to
support the Common Information Model (CIM), such as systems with VMware ESX 3i installed.
Use the following syntax for issuing CIM-based commands:
A> hbacmd <h=ip [: port]> <m=CIM> [u=userid] [p=password]
[n=namespace] <cmd>
B> hbacmd <h=ip [: port]> <m=CIM> <cmd>
Before issuing the syntax B, do one of the following:
•
Add the host IP with CIM credentials using the AddHost command.
For example:
hbacmd <m=CIM> [u=userid] [p=password] [n=namespace] AddHost <ip>
Or
•
Set the default CIM credentials using the SetCimCred command.
hbacmd SetCimCred <userid> <password> <namespace> <port>
For example, run the following command to display a list of adapters managed for a specified host using
CIM interface:
In Windows:
C:\Program Files\Emulex\Util\HBAnyware>hbacmd h=10.192.113.128 m=cim u=root
p=root n=elxhbacmpi/cimv2 listhba
In Linux:
/usr/sbin/hbanyware/hbacmd h=10.192.113.128 m=cim u=root p=root n=elxhbacmpi/
cimv2 listhba
In Solaris:
# /opt/HBAnyware/hbacmd h=10.192.113.128 m=cim u=root p=root n=elxhbacmpi/
cimv2 listhba
Note: If the command is specified with the discovery method "m=CIM" and the CIM
credentials (userid, password, or namespace) are not specified, then the default
value for the missing CIM credential is obtained in the following order: (a) The
information entered using the addhost command is looked up. (b) If no values exist
then the information entered using the setcimcred command is used. (c) If no values
exist then the following credentials userid = root, password = root, namespace =
elxhbacmpi/cimv2 and portnumber = 5988 are used.
Note: The OneCommand Manager application CLI running on VMware ESX 3.5 and
VMware ESX 4.0 COS does not support management of adapters using the CIM
interface.