beautypg.com

HP Hitachi Dynamic Link Manager Software User Manual

Page 267

background image

6. Command Reference

245


# /usr/DynamicLinkManager/bin/dlnkmgr view -cha

For details about how to execute the

view

operation to display the CHA port IDs,

see (5) To Display CHA Port Information in 6.7.2 Parameters.
Example

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

CHA port whose CHA-port-ID is

00001.


# /usr/DynamicLinkManager/bin/dlnkmgr offline -chaid
00001
KAPL01104-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 15 path(s) were successfully placed Online;
0 path(s) were not. Operation name = online
#

-pathid

AutoPATH_ID

Use this parameter to place a single path online.
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. When you want

to add a new LU without restarting the host, AutoPATH_IDs are re-assigned to
each path of the LU when you execute the

cfgmgr

command. Always make sure

that you use the

view

operation to find the current AutoPATH_ID of the target

path, before executing the

online

operation.

-hdev

host-device-name

[-ospathid

OS-management-path-ID

]

Use this parameter to place online path connected to the specified host device. If

the

-ospathid

parameter is not specified, path with the specified host device

name are placed online.
For host-device-name, specify the value of

HDevName

.

For OS-management-path-ID, specify the value of

OSPathID

. Leading zeroes

can be omitted from the OS management path ID (

00001

and

1

are the same

value).
To display

HDevName

and

OSPathID

, execute the

view

operation as follows: