beautypg.com

HP Hitachi Dynamic Link Manager Software User Manual

Page 407

background image

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

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

# /opt/DynamicLinkManager/bin/dlnkmgr online -path -device /

dev/sde

KAPL01050-I The currently selected paths will be changed to

the Online status. Is this OK? [y/n]:y

KAPL01061-I 1 path(s) were successfully placed Online; 0

path(s) were not. Operation name = online

-hapath

Use this parameter to change to the Online status when the paths to the

primary volume (P-VOL) in an HAM environment are in the Online(S) or
Online(D) status. To change the status of a specific LU, use the -lu and
-pathid parameters to specify the path to the LU. To change the status

of all the paths in the Online(S) and Online(D) statuses, specify only -
hapath.

-dfha

Use this parameter to change the paths to the primary volume (P-VOL) in

an HAM environment to Online(D). The Online(S) status changes to the
Online(D) status. When you do not specify this parameter, the status of

the P-VOL paths in the HAM environment will be changed to the
Online(S) status. If I/O operations to the secondary volume (S-VOL) do

not occur and only the paths to the P-VOL recover from an error, the path

to the P-VOL will be in the Online status regardless of this parameter

specification. To change the status of a specific LU, use the -lu and -
pathid parameters to specify the path to the LU. To change the status of

all the paths, specify only -dfha. A regular online operation is executed

on the paths other than the P-VOL in an HAM environment.

-lu -pathid AutoPATH_ID

Specify management-target paths for each LU (P-VOL). The target LUs

are the LUs that belong to a path ID that you specify in the -pathid
AutoPATH_ID parameter.

-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 000002, online without asking for confirmation of

command execution from the user:

# /opt/DynamicLinkManager/bin/dlnkmgr online -pathid 2 -s

KAPL01061-I 1 path(s) were successfully placed Online; 0

path(s) were not. Operation name = online

#

Command Reference

6-13

Hitachi Dynamic Link Manager User Guide for Linux

®

This manual is related to the following products: