Emulex OneCommand Manager Application User Manual (P006979-01A Version 5.2, August 2011)

The OneCommand Manager User Manual Page 217
Parameters:
<DumpDirectoryName> - The directory under /vmfs/volumes that you created to store the dump
files.
h - Host’s IP address
m - cim
u - root
p - <password>
n - <namespace>
Example:
hbacmd h=10.192.203.173 m=cim u=root p=Swamiji001 n=root/emulex setdumpdirectory
10:00:00:00:c9:61:f2:64 ocm-datastore
This example shows the dump directory set to /vmfs/volumes/ocm-datastore.
GetDumpFile
Supported by: Windows, Solaris, Linux and VMware ESX
Syntax:
hbacmd [h=ipAddress] GetDumpFile <WWPN|MAC> <filename>
Description: This command gets the dump file. For dump file retrieval over FC/FCoE, the WWPN of a
remote FC/FCoE port is required to access the remote host. This command gets the user specified
dump file to local client's dump directory. The dump directory (local and remote) is named Dump, and is
placed under the OCManager installation directory. Since, the dump files are copied from the Dump
directory of the remote host to the Dump directory of the local host, specifying a local port identifier for
this command returns the following error, since the source and destination directory is the same.
ERROR: HBACMD_GetDumpFile: RM_GetDumpFile call failed (2)
ERROR: <2>: Not Supported
Dump directory:
For Windows: C:\Program Files\Emulex\Util\Dump
For Linux: /usr/sbin/ocmanager/Dump
For Solaris: /opt/ELXocm/Dump
For ESX: The dump directory set using the SetDumpDirectory command.
Parameters:
WWPN - Adapter’s WWPN
MAC - MAC address of the CNA port
<filename> - Name of the dump file to be copied from the remote hostExample:
hbacmd h=10.192.193.154 m=cim u=root p=Swamiji001 n=root/emulex getdumpfile BG-
HBANYWARE-15_10000000c97d1314_20100120-032820421.dmp
Note: For managing ESX/ESXi hosts from a Windows client, add the m=cim option to
the command. The default CIM credentials must be set using the SetCimCred
command. See “SetCimCred” on page 244.