The OneCommand Utility User Manual
Page 204
InitSecret - Initiator Secret enclosed in quotes (string length: 12-16).
GetiSCSILuns
Supported by: Windows, Solaris SFS, Linux and VMware ESX Server
Syntax: hbacmd [h=host_IP[:port] | hostname[:port]] GetiSCSILuns <MAC_Address>
<iscsi_target_name>
Description: Shows all the LUNs and their information for a specified target. The iSCSI target name
<iscsi_target_name> instructs the command to gather the information from the specified iSCSI target.
Parameters:
MAC_Address - MAC address of the CNA port.
iscsi_target_name - Target’s iSCSI name enclosed in quotes (string length:11-255).
ListSessions
Supported by: Windows, Solaris SFS, Linux and VMware ESX Server
Syntax: hbacmd [h=host_IP[:port] | hostname[:port]] ListSessions <MAC_Address>
<iscsi_target_name>
Description: Lists all the sessions on a specified target. The iSCSI target name <iscsi_target_name>
instructs the command to gather the information from the listed iSCSI target name.
Parameters:
MAC_Address - MAC address of the CNA port.
iscsi_target_name - Target’s iSCSI name enclosed in quotes (string length:11-255).
GetSessionInfo
Supported by: Windows, Solaris SFS, Linux and VMware ESX Server
Syntax: hbacmd [h=host_IP[:port] | hostname[:port]] GetSessionInfo <MAC_Address>
<iscsi_target_name> <TSIH | <ISID_Qual Target_IP>>
Description: Lists all session information for a specified session. The iSCSI target name
<iscsi_target_name> and either the TSIH <TSIH> of the session or the session's ISID Qualifier
<ISID_Qual> and the target's IP address <Target_IP> must be specified. These parameters instruct the
command to gather the information from the specified target and session. The TSIH and ISID qualifier
can be determined by running the ListSessions command.
Parameters:
MAC_Address - MAC address of the CNA port.
iscsi_target_name - Target’s iSCSI name enclosed in quotes (string length:11-255).
TSIH - TSIH value of the session (value: 1-65535).
ISID_Qual - ISID qualifier of the session (value: 0-65535)
Target_IP - The Target's IP address.
Note: If Auth is set to "1", the TgtCHAPName and TgtSecret must be specified. If Auth is
set to a value of "2", the TgtCHAPName, TgtSecret, InitCHAPName, and InitSecret
must also be specified.
Note: You must specify either the TSIH value or the ISID qualifier. If ISID qualifier is
specified you must also specify the Target’s ID address.