beautypg.com

6 initializing statistical information for paths – HP Hitachi Dynamic Link Manager Software User Manual

Page 208

background image

4. HDLM Operation

186

You display this information by executing the HDLM command's

view

operation with

the

-drv

parameter specified. For details on the

view

operation, see 6.7 view

(Displays Information). The execution result of this operation is displayed on a single

line for each path.
The following shows an example in which the

view

operation is executed:


# /usr/DynamicLinkManager/bin/dlnkmgr view -drv
PathID HDevName OSPathID LDEV
000000 hdisk0 00000 9500V.0051.0005
000001 hdisk1 00000 9500V.0051.0015
000002 hdisk2 00000 9500V.0051.0020
000003 hdisk0 00001 9500V.0051.0005
000004 hdisk1 00001 9500V.0051.0015
000005 hdisk2 00001 9500V.0051.0020
KAPL01001-I The HDLM command completed normally. Operation name
= view, completion time = yyyy/mm/dd hh:mm:ss
#

For details on the displayed items and their descriptions, see 6.7 view (Displays

Information).

4.2.6 Initializing Statistical Information for Paths

This section explains how to initialize statistical information (I/O counts and I/O

errors) for all the paths managed by HDLM.
This procedure is useful when you want to check the number of I/O operations and I/

O errors that have occurred since the last time the I/O counts and I/O errors were

initialized to

0

.

To initialize statistical information for paths:
1.

Check the current status of the path.
The following shows how to execute the command:


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

2.

To initialize statistical information for all the paths managed by HDLM, execute

the

dlnkmgr

command's

clear

operation with the

-pdst

parameter specified.

The following shows an example in which the command is executed:


# /usr/DynamicLinkManager/bin/dlnkmgr clear -pdst
KAPL01049-I Would you like to execute the operation?
Operation name = clear [y/n]:y
KAPL01001-I The HDLM command completed normally. Operation