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

6. Command Reference
237
Example
The following example shows how to place offline all paths connected to the
HBA port whose HBA-port-ID is
00001.
# /usr/DynamicLinkManager/bin/dlnkmgr offline -hbaid
00001
KAPL01102-I All the paths which pass the specified HBA
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
#
-cha -pathid
AutoPATH_ID
Use this parameter to place offline, at one time, all the paths that pass through a
specific CHA port. The command will place offline all the paths that pass through
the CHA port to which the path with the specified AutoPATH_ID is connected.
Specify the current AutoPATH_ID of the target path, which is displayed by using
the
view operation. For details about the view operation, see 6.7 view (Displays
Information). Leading zeros can be omitted (
000001 and 1 indicate the same
AutoPATH_ID); however, 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
cfgmgr command. Always make sure
that you use the
view operation to find the current AutoPATH_ID of the target
path, before executing the
offline operation.
Example
The following example shows how to place offline all the paths connected to
the CHA port
0A. In this example, a path whose AutoPATH_ID is 000001 is
connected to the target CHA port.
When the confirmation message is displayed, the user enters
y to continue,
or
n to cancel the operation.
# /usr/DynamicLinkManager/bin/dlnkmgr offline -cha
-pathid 000001
KAPL01055-I All the paths which pass the specified CHA