Download User Manual

Transcript
Note: For VMware systems you must set a dump directory before initiating a dump.
The dump directory must be a "Storage" partition (a datastore) under the directory
/vmfs/volumes.
The application checks for the Dump directory and creates the dump files in that location.
Note: The dump directory applies to all adapters in the server. There is no separate
dump directory for each adapter.
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>
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 72.
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
OneCommand Manager Command Line Interface User Manual
Page 45