Hitachi MK-90RD011-25 Computer Drive User Manual


 
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 code
s for the pairvolchk command.
Table 4.15 shows the truth table for pairvolchk group status display. Table 4.16 provides the
state tran
sition 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 <group> -d <pair Vol> -d[g] <raw_device> [MU#]
-FHORC [MU#] -FMRCF [MU#] -d[g] <seq#> <LDEV#> [MU#] -c -ss -nomsg }