beautypg.com

HP Hitachi Dynamic Link Manager Software User Manual

Page 240

background image

6. Command Reference

216

sure that you use the

view

operation to find the current AutoPATH_ID of the

target path, before executing the

offline

operation.

Example

The following example shows how to place offline all the paths connected to

the channel adapter port

0A

. In this example, a path whose AutoPATH_ID is

000001

is connected to the target channel adapter port:


>dlnkmgr offline -cha -pathid 000001
KAPL01055-I All the paths which pass the specified CHA
port will be changed to the Offline(C) status. Is this
OK? [y/n]:y
KAPL01056-I If you are sure that there would be no problem
when all the paths which pass the specified CHA port are
placed in the Offline(C) status, enter y. Otherwise,
enter n. [y/n]: y
KAPL01061-I 2 path(s) were successfully placed
Offline(C); 0 path(s) were not. Operation name = offline
>

-pathid

AutoPATH_ID

Use this parameter to place a single path offline.
Specify the current AutoPATH_ID of the target path, which is displayed by using

the

view

operation. For details about the

view

operation, see 6.7 view (Displays

Information). 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

offline

operation.

-hbaportwwn

HBA-port-WWN

[-tid

target-ID

-hlun

host-LU-number]

Use this parameter to place offline all paths connected to the HBA port indicated

by the specified HBA port WWN. If niether the

-tid

parameter nor the

-hlun

parameter are specified, all paths that pass through the specified HBA port WWN

will be placed offline. Only one set of values can be specified for the

-hbaportwwn

parameter.

For HBA-port-WWN, specify the value of

HBAPortWWN

. The parameter is not

case sensitive.
For target-ID, specify the target ID portion of

PathName

. Leading zeroes can be

omitted from the target ID (

0000000000000001

and

1

are the same value). The

parameter is not case sensitive.