beautypg.com

HP Hitachi Dynamic Link Manager Software User Manual

Page 242

background image

6. Command Reference

218

Example

The following example shows how to display the format of the

offline

operation:


>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] -hbaportwwn HBA_Port_WWN
[-tid Target_ID -hlun Host_LUN] [-s]
Valid value
AutoPATH_ID { 000000 - 999999 }(Decimal)
Host_LUN { 0000 - FFFF }(Hexadecimal)
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 Windows commands enables you to filter the

path information listed for a specific HBA port or channel adapter port. For details

about the

view

operation, see 6.7 view (Displays Information).

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 channel adapter port.
Example 1

The following example shows how to filter and display the information on all

paths that pass through the HBA port whose host port number is

0004

and bus

number is

0001

:


>dlnkmgr view -path | find "0004.0001"

The above command will display information on all the paths that pass through

the specified HBA port.

Example 2

The following example shows how to filter and display the information on all the

paths that pass through the channel adapter port

0A

of the Thunder 9500V Series:


>dlnkmgr view -path -stname | find "9500V" | find "0A"