HP Hitachi Dynamic Link Manager Software User Manual
Page 241
6. Command Reference
217
For host-LU-number, specify the host LU number portion of
PathName
. Leading
zeroes can be omitted from the host LU number (
0001
and
1
are the same value).
To display
HBAPortWWN
and
PathName
, execute the
view
operation as follows:
>dlnkmgr view -path -hbaportwwn
For details on how to execute the
view
operation and display the HBA port WWN
and path name, see (3) Parameters Used When Displaying Path Information in
6.7.2 Parameters.
Example
The following shows an example of placing offline the paths for which the
HBA port WWN is
10000000C93213BA
, target ID is
0000000000000001
, and host LU number is
0000
while confirming
command operation.
>dlnkmgr offline -path -hbaportwwn 10000000C93213BA -tid
1 -hlun 0
KAPL01052-I The currently selected paths will be changed
to the Offline(C) status. Is this OK? [y/n]: y
KAPL01053-I If you are sure that there would be no problem
when the path is placed in the Offline(C) status, enter
y. Otherwise, enter n. [y/n]: y
KAPL01061-I 1 path(s) were successfully placed
Offline(C); 0 path(s) were not. Operation name = offline
-s
Executes the command without displaying the message asking for confirmation
of command execution from the user. Specify this parameter if you want to skip
the response to the confirmation message: for example, when you want to execute
the command in a shell script or batch file.
Example
The following example shows how to place a path, whose AutoPATH_ID is
000001
, offline without asking for confirmation of command execution
from the user:
>dlnkmgr offline -pathid 1 -s
KAPL01061-I 1 path(s) were successfully placed
Offline(C); 0 path(s) were not. Operation name = offline
>
(2) To Display the Format of the Offline Operation
-help
Displays the format of the
offline
operation.