HP Hitachi Dynamic Link Manager Software User Manual
Page 388

6. Command Reference
366
-chaid
CHA-port-ID
Use this parameter to place offline, at one time, all paths that pass through a
specific CHA port. The command will place offline all paths connected to the
CHA port that has the specified CHA-port-ID. To display the CHA port IDs,
execute the following
view
operation:
# /opt/DynamicLinkManager/bin/dlnkmgr view -cha
For details about how to execute the view operation to display the CHA port IDs,
see
(5) To display CHA port information
in 6.7.2 Parameters.
Example
The following example shows how to place offline all paths connected to the
CHA port whose CHA-port-ID is
00001.
# /opt/DynamicLinkManager/bin/dlnkmgr offline -chaid
00001
KAPL01102-I All the paths which pass the specified CHA
port will be changed to the Offline(C) status. Is this
OK? [y/n]:y
KAPL01103-I If you are sure that there would be no problem
when all the paths which pass the specified HBA port are
placed in the Offline(C) status, enter y. Otherwise,
enter n. [y/n]:y
KAPL01061-I 15 path(s) were successfully placed
Offline(C); 0 path(s) were not. Operation name = offline
#
-pathid
AutoPATH_ID
Use this parameter to place a single path offline.
Specify the current AutoPATH_ID of the target path, which is displayed by using
the
view
operation. For details on the
view
operation, see 6.7 view (Displays
Information). Leading zeros can be omitted (
000001
and
1
indicate the same
AutoPATH_ID). Therefore, when the target AutoPATH_ID is
000000
, enter
000000
or
0
for the parameter value.
AutoPATH_IDs are re-assigned every time the host is restarted. When you want
to add a new LU without restarting the host, AutoPATH_IDs are re-assigned to
each path of the LU when you execute the
dlmcfgmgr
utility. Always make sure
that you execute the
view
operation to find the current AutoPATH_ID of the
target path, before executing the
offline
operation.
-device
SCSI-device-name
Use this parameter to place offline all paths connected to the specified SCSI