HP Hitachi Dynamic Link Manager Software User Manual
Page 386

6. Command Reference
364
-hba
host-port-number.bus-number
Use this parameter to place offline, at one time, all the paths that pass through a
specific HBA port. The command will place offline all the paths connected to the
HBA port that has the specified host port number and bus number.
Specify the host port number and bus number of the target HBA port: the numbers
are found in the
PathName
field displayed using the
view
operation. Enter a
period between these two parameter values. For details on the
view
operation, see
6.7 view (Displays Information).
Example
The following example shows how to place offline all paths connected to the
HBA port whose host port number is
0001
and bus number is
0000
:
# /opt/DynamicLinkManager/bin/dlnkmgr offline -hba
0001.0000
KAPL01055-I All the paths which pass the specified HBA
will be changed to the Offline(C) status. Is this OK? [y/
n]:y
KAPL01056-I If you are sure that there would be no problem
when all the paths which pass the specified HBA are placed
in the Offline(C) status, enter y. Otherwise, enter n.
[y/n]:y
KAPL01061-I 3 path(s) were successfully placed
Offline(C); 0 path(s) were not. Operation name = offline
#
-hbaid
HBA-port-ID
Use this parameter to place offline, at one time, all paths that pass through a
specific HBA port. The command will place offline all paths connected to the
HBA port that has the specified HBA-port-ID. To display the HBA port IDs,
execute the following
view
operation:
# /opt/DynamicLinkManager/bin/dlnkmgr view -hba
For details about how to execute the view operation to display the HBA port IDs,
see
(4) To display HBA port information
in 6.7.2 Parameters.
Example
The following example shows how to place offline all paths connected to the
HBA port whose HBA-port-ID is
00001.
# /opt/DynamicLinkManager/bin/dlnkmgr offline -hbaid
00001