beautypg.com

6 monitoring pair activity (pairmon), On 4.6) – Hitachi TAGMASTORE MK-90RD011-25 User Manual

Page 210

background image

192

Chapter 4 Performing CCI Operations

4.6 Monitoring Pair Activity (Pairmon)

The pairmon command, which is connected to the HORCM daemon, obtains the pair status
transition of each volume pair and reports it. If the pair status changes (due to an error or a
user-specified command), the pairmon command issues a message. Table 4.11 lists and
describes the pairmon command parameters. Figure 4.16 shows an example of the pairmon
command and its output. Table 4.12 specifies the results of the command options.

The pair status transition events exist in the HORCM pair state transfer queue. The -resevt
option (reset event) deletes one/all events from the HORCM pair state transfer queue. If
reset event is not specified, the pair state transfer queue is maintained. If the -s option is
not specified, pairmon displays all events for which it receives information from HORCM. If
the -s option is specified, only the specified status transitions are displayed.

The CCI software supports the error monitoring and configuration confirmation commands
for linkage with the system operation management of the UNIX server.

Table 4.11 Pairmon Command Parameters

Parameter Value

Command Name

pairmon

Format

pairmon { -h

⎪ -q ⎪ -z ⎪ -D ⎪ -allsnd ⎪ -resevt ⎪ -nowait ⎪ -s ... }

Options

-h: Displays Help/Usage and version information.
-q: Terminates the interactive mode and exits this command.
-z or -zx (OpenVMS cannot use the -zx option): Makes the pairmon command enter the interactive mode.

The -zx option guards performing of the HORCM in the interactive mode. When this option detects a

HORCM shut down, interactive mode terminates.
-I[H][M][instance#] or -I[TC][SI][instance#] Specifies the command as [HORC]/[HOMRCF], and used for

specifying instance# of HORCM.
-D: Selects the default report mode. In the default mode, if there is pair status transition information to be

reported, one event is reported and the event is reset. If there is no pair status transition information to be

reported, the command waits. The report mode consists of the three flags: -allsnd, - resevt, and -nowait

options.
-allsnd: Reports all events if there is pair status transition information.
-resevt: Reports events if there is pair status transition information, and then resets all events.
-nowait: When this option is specified, the command does not wait when there is no pair status transition

information.
-s ...: Specifies the pair status transition to be reported: smpl, copy (includes rcpy), pair, psus,

psue. If two or more statuses are specified following -s, masking is done according to the logical OR of the

specified statuses. If this option is not specified, pairmon displays all events which received information

from HORCM.

# pairmon -allsnd -nowait
Group

Pair vol

Port

targ#

lun#

LDEV#… Oldstat code –> Newstat code

oradb

oradb1 CL1-A

1

5

145…

SMPL

0x00 –> COPY

0x01

oradb

oradb2 CL1-A

1

6

146…

PAIR

0x02 –> PSUS

0x04

Figure 4.16 Pairmon Command Example