beautypg.com

HP XP P9500 Storage User Manual

Page 360

background image

Specify the current AutoPATH_ID of the target path, which is displayed by

using the view operation. For details about the view operation, see

view

(Displays Information) on page 6-28

. 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 dlmcfgmgr utility

for managing the HDLM configuration. Always make sure that you use the
view operation to find the current AutoPATH_ID of the target path, before

executing the offline operation.

-device SCSI-device-name

Use this parameter to place offline a path connected to the specified SCSI

device.
For SCSI-device-name, specify the value of Device displayed by

executing the view operation as follows:
# /opt/DynamicLinkManager/bin/dlnkmgr view -lu
For details on how to execute the view operation and display the SCSI

device name, see

To display LU information on page 6-47

in

Parameters

(To display program information) on page 6-29

. Only one case-sensitive

parameter value can be specified.

Example

The following shows an example of how to place offline a path whose

SCSI device name is /dev/sde while confirming command operation.

# /opt/DynamicLinkManager/bin/dlnkmgr offline -path –device /

dev/sde

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

The following example shows how to place a path, whose

AutoPATH_ID is 000001, offline without asking for confirmation of

command execution from the user:

# /opt/DynamicLinkManager/bin/dlnkmgr offline -pathid 1 -s

6-8

Command Reference

Hitachi Dynamic Link Manager User Guide (for Linux(R))

This manual is related to the following products: