Hitachi Dynamic Link Manager Software Users Guide for AIX (6.6) (T5208-96010, April 2011)

6. Command Reference
236
-hba HBA-adapter-number.bus-number
Or
-hba adapter-type.adapter-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 HBA-adapter-number
.bus-number or
adapter-type
.adapter-number.
Specify the HBA adapter number and bus number, or adapter type and adapter
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 about the
view operation, see 6.7 view (Displays
Information). The HBA-adapter-number
.bus-number and
adapter-type
.adapter-number strings are case-sensitive.
Example
The following example shows how to place offline all paths connected to the
HBA port whose HBA adapter number is
01 and bus number is 01.
When the confirmation message is displayed, the user enters
y to continue,
or
n to cancel the operation.
# /usr/DynamicLinkManager/bin/dlnkmgr offline -hba 01.01
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:
# /usr/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.