beautypg.com

7 checking attribute and status (pairvolchk) – Hitachi TAGMASTORE MK-90RD011-25 User Manual

Page 212

background image

194

Chapter 4 Performing CCI Operations

4.7 Checking Attribute and Status (Pairvolchk)

The pairvolchk command acquires and reports the attribute of a volume or group connected
to the local host (issuing the command) or remote host. The volume attribute is SMPL
(simplex), P-VOL (primary volume), or S-VOL (secondary volume). The -s[s] option reports
the pair status in addition to the attribute. Figure 4.17 shows examples of the pairvolchk
command and its output. lists and describes the pairvolchk command parameters and
returned values. Table 4.14 lists and describes the error codes for the pairvolchk command.
Table 4.15 shows the truth table for pairvolchk group status display. Table 4.16 provides the
state transition table for an HA control script using the pairvolchk and horctakeover
commands.

# pairvolchk -g oradb
pairvolchk : Volstat is P-VOL.[status = PAIR fence = ASYNC CTGID = 2]

Å TC Async

# pairvolchk -g oradb
pairvolchk : Volstat is P-VOL.[status = PAIR fence = DATA ]

Å TrueCopy Sync

# pairvolchk -g oradb
pairvolchk : Volstat is P-VOL.[status = PAIR ]

Å ShadowImage

# pairvolchk -g oradb
pairvolchk : Volstat is P-VOL.[status = PAIR CTGID = 1]

Å ShadowImage at-time split

Figure 4.17 Pairvolchk Command Examples

Table 4.13 Pairvolchk Command Parameters

Parameter Value

Command Name pairvolchk

Format pairvolchk

{ -h ⎪ -q ⎪ -z ⎪ -g ⎪ -d ⎪ -d[g] [MU#]

⎪ -FHORC [MU#] ⎪ -FMRCF [MU#] ⎪ -d[g] [MU#] ⎪ -c ⎪ -ss ⎪-nomsg }