HP Hitachi Dynamic Link Manager Software User Manual

Page 261

Advertising
background image

6. Command Reference

239

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

offline

operation.

-hdev

host-device-name

-ospathid

OS-management-path-ID

Use this parameter to place offline path connected to the specified host device.
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:

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

For details on how to execute the

view

operation and display the host device

name and OS management path ID, see (3) To Display LU Information in

6.7.2 Parameters. Only one set of values can be specified for the

-hdev

parameter. This parameter is not case sensitive.
Example

The following shows an example of placing offline path for which the host

device name is

hdisk0

and OS management path ID is

00001

while

confirming command operation.


# /usr/DynamicLinkManager/bin/dlnkmgr offline -path
-hdev hdisk0 -ospathid 1
KAPL01052-I The currently selected paths will be changed
to the Offline(C) status. Is this OK? [y/n]:y
KAPL01053-I If you are sure that there would be no problem
when the path is placed in the Offline(C) status, enter
y. Otherwise, enter n. [y/n]:y
KAPL01061-I 1 path(s) were successfully placed
Offline(C); 0 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

Advertising