The pdrisechk command checks data integrity of the system definitions required to apply Real Time SAN Replication, and of the pair attributes, pair status, and fence levels of the pair logical volume groups that are provided for HiRDB files.
Before executing this command, make sure that RAID Manager is running.
HiRDB administrator
pdrisechk [-d {all|db|sys}] [{-u unit-identifier|-s server-name}] [-l[-n]] [-r] |
Specifies the types of files to be checked:
all: RDAREAs and system files
db: RDAREAs
sys: System files
Specifies the identifier of a unit that is to be checked. If the -u and -s options are both omitted, the command checks the entire HiRDB.
Specifies the name of a server that is to be checked.
Specifies that when the log-only synchronous method is used, the command is to check whether or not the system configuration is correct at the log application site.
Specifies that the status of a status file for log application processing is not to be checked. The -n option can be specified only when the -l option is specified.
Specifies that when the log-only synchronous method is used, the command is to check whether or not the system configuration allows preparation for log application for pair logical volume groups.
Table 2-26 Relationship between the file type to be checked and the -d option
File type | Target pair logical volume group name | -d option value | ||
---|---|---|---|---|
all or omitted | sys | db | ||
DB | aaaa_bb....bb_DB | Y | N | Y |
LOG | aaaa_bb....bb_LOG | Y | Y | N |
SPD | aaaa_bb....bb_SPD | Y | Y | N |
USTS | aaaa_cccc_USTS | Y | Y | N |
SSTS | aaaa_bb....bb_SSTS | Y | Y | N |
Table 2-27 Relationship between check items for the pdrisechk command and the processing method for Real Time SAN Replication
No. | Check item | Processing method for Real Time SAN Replication | |||
---|---|---|---|---|---|
All synchronous method | All asynchronous method | Hybrid method | Log-only synchronous method | ||
1 | Whether or not the operands required to use Real Time SAN Replication have been specified | Y | Y | ||
2 | Whether or not the optional program products have been set up as required in order to use Real Time SAN Replication | N | Y | ||
3 | Whether or not the site is in the following status:
| N | Y#1 | ||
4 | Whether or not all pair logical volume groups requiring an update copy are available | Y | Y | ||
5 | Whether or not the pair logical volume group in 4 above has the volume attribute shown in Table 2-28 List of volume attributes checked by the pdrisechk command (when the -l option is specified and in Table 2-29 List of volume attributes checked by the pdrisechk command (when the -l option is omitted) at the site where the pdrisechk command was executed | Y | Y | ||
6 | Whether or not the pair logical volume group in 4 above has the pair status shown in Table 2-30 List of pair statuses checked by the pdrisechk command at the site where the pdrisechk command was executed | Y | Y | ||
7 | Whether or not the pair logical volume group in 4 above has the fence level shown in Table 2-31 List of fence levels checked by the pdrisechk command. | Y | Y | ||
8 | Whether or not all status files for log application processing are in initial status | N | Y#2 |
Table 2-28 List of volume attributes checked by the pdrisechk command (when the -l option is specified)
Pair logical volume group name | Real Time SAN Replication processing method | |||
---|---|---|---|---|
All synchronous or hybrid method | All asynchronous method | Log-only synchronous method | ||
-r option specified | -r option omitted | |||
aaaa_bb....bb_DB | S-VOL | -- | S-VOL | SMPL |
aaaa_bb....bb_LOG | S-VOL | |||
aaaa_bb....bb_SPD | ||||
aaaa_cccc_USTS | ||||
aaaa_bb....bb_SSTS | ||||
aaaa_ALL | -- | S-VOL | -- | -- |
Table 2-29 List of volume attributes checked by the pdrisechk command (when the -l option is omitted)
Pair logical volume group name | Real Time SAN Replication processing method | |||
---|---|---|---|---|
All synchronous or hybrid method | All asynchronous method | Log-only synchronous method | ||
-r option specified | -r option omitted | |||
aaaa_bb....bb_DB | P-VOL | -- | P-VOL | SMPL |
aaaa_bb....bb_LOG | P-VOL | |||
aaaa_bb....bb_SPD | ||||
aaaa_cccc_USTS | ||||
aaaa_bb....bb_SSTS | ||||
aaaa_ALL | -- | P-VOL | -- | -- |
Table 2-30 List of pair statuses checked by the pdrisechk command
Pair logical volume group name | Real Time SAN Replication processing method | |||
---|---|---|---|---|
All synchronous or hybrid method | All asynchronous method | Log-only synchronous method | ||
-r option specified | -r option omitted | |||
aaaa_bb....bb_DB | PAIR | -- | PAIR | -- |
aaaa_bb....bb_LOG | PAIR | |||
aaaa_bb....bb_SPD | ||||
aaaa_cccc_USTS | ||||
aaaa_bb....bb_SSTS | ||||
aaaa_ALL | -- | PAIR | -- | -- |
Table 2-31 List of fence levels checked by the pdrisechk command
Pair logical volume group name | Real Time SAN Replication processing method# | |||||||
---|---|---|---|---|---|---|---|---|
All synchronous method | Hybrid method | Log-only synchronous method | ||||||
Protection mode = | Protection mode = | Protection mode = | ||||||
data | never | data | never | data | never | |||
-r option specified | -r option omitted | -r option specified | -r option omitted | |||||
aaaa_bb....bb_DB | data | never | async | async | data | -- | never | -- |
aaaa_bb....bb_LOG | data | data | data | never | ||||
aaaa_bb....bb_SPD | ||||||||
aaaa_cccc_USTS | ||||||||
aaaa_bb....bb_SSTS |
Table 2-32 Conditions for checking the initial status of the status file for log application processing
Real Time SAN Replication processing method | Option specification | Checking of status file for log application processing | ||||
---|---|---|---|---|---|---|
-d | -l | -r or -n | -s | Status file for log application processing for unit | Status file for log application processing for server | |
Log-only synchronous method | ALL, SYS, or omitted | Specified | Specified | -- | Y | Y |
Omitted | Omitted | N | N | |||
Specified | Y | N | ||||
Omitted | -- | -- | Y | Y | ||
DB | -- | -- | -- | |||
Other | -- | -- | -- | -- |