HP Hitachi Dynamic Link Manager Software User Manual

Page 238

Advertising
background image

222

Chapter 7 Command Reference

To place online, at one time, all paths that pass through a specific channel adapter port, use
-cha -pathid AutoPATH_ID. The command will place online all paths that pass through
the channel adapter port to which the path with the specified AutoPATH_ID is connected.
You can specify this parameter only when the HDLM management-target device is the
Thunder 9200/9500V Series, Lightning 9900/9900V Series, TagmaStore, and Universal Storage
Platform V

Specify the current AutoPATH_ID of the target path, which is displayed by using the view
operation. For details about the view operation, see section 7.7. 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. Always make sure that you
use the view operation to find the current AutoPATH_ID of the target path, before
executing the online operation. The following example shows how to place online the
paths connected to the channel adapter port 0A. In this example, a path whose AutoPATH_ID
is 000002 is connected to the target channel adapter port.

>dlnkmgr online -cha -pathid 000002

KAPL01057-I All the paths which pass the specified CHA port will be changed to the
Online status. Is this OK? [y/n]:y
KAPL01061-I 2 path(s) were successfully placed online. 0 path(s) could not be placed
online. Operation name = online
>

To place a single path online, use -pathid AutoPATH_ID. Specify the current
AutoPATH_ID of the target path, which is displayed by using the view operation. For details
about the view operation, see section 7.7. 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. Always make sure that you use the view operation to find the current
AutoPATH_ID of the target path, before executing the online operation.

To execute the command without displaying the message asking for confirmation of
command execution, use –s. For example, use it when you want to execute the command in
a shell script or batch file. The following example shows how to place a path, whose
AutoPATH_ID is 000002, online without asking for confirmation of command execution from
the user.

>dlnkmgr online -pathid 2 -s

KAPL01061-I 1 path(s) were successfully placed online. 0 path(s) could not be placed
online. Operation name = online

>

To display the format of the online operation, use –help. The following example shows how
to display the format of the online operation:

>dlnkmgr online -help

online:
Format
dlnkmgr online [-path] -hba HBAPortNumber.BusNumber [-s]
dlnkmgr online [-path] -cha -pathid AutoPATH_ID [-s]
dlnkmgr online [-path] [-pathid AutoPATH_ID] [-s]
Valid value
AutoPATH_ID { 000000 – 999999 }(Decimal)

Advertising