To display the format of the offline operation -10 – HP XP P9500 Storage User Manual
Page 222

be specified for the -hdev parameter. This parameter is not case
sensitive.
Example
The following shows an example of placing offline path for which the
host device name is hdisk0 and OS management path ID is 00001
while confirming command operation.
# /usr/DynamicLinkManager/bin/dlnkmgr offline -path -hdev
hdisk0 -ospathid 1
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:
# /usr/DynamicLinkManager/bin/dlnkmgr offline -pathid 1 -s
KAPL01061-I 1 path(s) were successfully placed Offline(C); 0
path(s) were not. Operation name = offline
#
To Display the Format of the Offline Operation
-help
Displays the format of the offline operation.
Example
The following example shows how to display the format of the
offline operation:
# /usr/DynamicLinkManager/bin/dlnkmgr offline -help
offline:
Format
dlnkmgr offline [-path]
{ -hba HBAPortNumber.BusNumber | -hbaid HBA_ID } [-
s]
dlnkmgr offline [-path] { -cha -pathid AutoPATH_ID | -
chaid CHA_ID } [-s]
dlnkmgr offline [-path] -pathid AutoPATH_ID [-s]
dlnkmgr offline [-path] -hdev Host_Device_Name -ospathid
6-10
Command Reference
Hitachi Dynamic Link Manager User Guide for AIX
®