Hitachi Dynamic Link Manager Software Users Guide for Linux

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:
# /opt/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:
# /opt/DynamicLinkManager/bin/dlnkmgr offline -help
offline:
Format
dlnkmgr offline [-path] -hba HBAPortNumber.BusNumber [-s]
dlnkmgr offline [-path] -cha -pathid AutoPATH_ID [-s]
dlnkmgr offline [-path] -pathid AutoPATH_ID [-s]
dlnkmgr offline [-path] -device SCSI_Device_Name [-s]
Valid value
AutoPATH_ID { 000000 - 999999 }(Decimal)
KAPL01001-I The HDLM command completed normally. Operation
name = offline, completion time = yyyy/mm/dd hh:mm:ss
#
Reference
Using the view operation together with standard UNIX commands enables
you to filter the path information listed for a specific HBA port or CHA port.
For details about the view operation, see
view (Displays Information) on page
6-31.
We recommend that you use the following command and verify the
information on the target paths before you execute the offline operation to
place offline all the paths connected to a specific HBA port or CHA port.
Command Reference
6-9
Hitachi Dynamic Link Manager (for Linux®) User Guide