beautypg.com

HP Hitachi Dynamic Link Manager Software User Manual

Page 268

background image

6. Command Reference

246

# /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 online path for which the host

device name is

hdisk0

and OS management path ID is

00001

while

confirming command operation.


# /usr/DynamicLinkManager/bin/dlnkmgr online -path -hdev
hdisk0 -ospathid 1
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
#

-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:


# /usr/DynamicLinkManager/bin/dlnkmgr online -pathid 2
-s
KAPL01061-I 1 path(s) were successfully placed Online; 0
path(s) were not. Operation name = online
#

(2) To Display the Format of the Online Operation

-help

Displays the format of the

online

operation.

Example

The following example shows how to display the format of the

online

operation: