Nonstop Database, HiRDB Version 9 System Operation Guide
This section explains the actions to take when an RDAREA I/O error occurs. As discussed here, I/O error means a failure during HiRDB file I/O operations for which HiRDB cannot determine the reason. The error code returned in response to the request to access the HiRDB file system in such a case is -1544.
The following table describes the processing performed by HiRDB when an RDAREA I/O error occurs.
Table 20-24 HiRDB processing when an RDAREA I/O error occurs
Type of RDAREA | HiRDB processing | |
---|---|---|
pd_db_io_error_action=dbhold (default) | pd_db_io_error_action=unitdown | |
Master directory RDAREA | HiRDB (unit for a HiRDB parallel server configuration) terminates abnormally. | |
Other RDAREAs | The RDAREA is placed in error shutdown status | HiRDB (unit for a HiRDB parallel server configuration) terminates abnormally. The RDAREA is not placed in error-shutdown status, unless the I/O error recurs after the abnormal termination. |
The following advantages are provided by configuring HiRDB to terminate abnormally when an RDAREA I/O error occurs:
Because HiRDB terminates abnormally when an RDAREA I/O error occurs, the system is switched over. If the cause of the I/O error is a path error, I/O processing can be performed after the system has been switched over, which means operations can resume from that point. As discussed here, path error means that HiRDB cannot access a file because the communication path between HiRDB and the file has been disrupted for some reason.
When an RDAREA I/O error occurs, HiRDB terminates abnormally without the RDAREA being placed in error shutdown status. This allows you to eliminate the cause of the I/O error before you restart HiRDB. Once you have eliminated the cause of the error, processing resumes when HiRDB is restarted. The fact that the RDAREA is not placed in error shutdown status in this case eliminates the need for you to recover it, unless, however, the disk needs to be replaced due to a disk error. In such a case, you will need to use the database recover utility to recover the RDAREA.
To configure HiRDB to terminate abnormally when an RDAREA I/O error occurs, you must make the environment settings explained below.
Specify unitdown in the pd_db_io_error_action operand.
If the system switchover facility is being used, see the following sections:
To configure HiRDB so that it will not restart automatically after it terminates abnormally, specify MANUAL2 in the pd_mode_conf operand. If you specify any value other than MANUAL2, HiRDB will restart automatically after it terminates abnormally. When you have specified MANUAL2 and an I/O error occurs in the same RDAREA, that RDAREA will be placed in error shutdown status. This means that the pd_db_io_error_action=unitdown specification is ignored.
If you use functionality provided by the OS or a device driver# to specify the time until a physical or logical volume I/O error is detected, you must take into account the operands and options described in 8.10 Monitoring the execution time of UAPs and utilities (reducing the effects of nonresponding programs).
This section explains operations when pd_db_io_error_action=unitdown is specified.
If the system switchover facility is being used, see the following sections:
If HiRDB terminates abnormally because an I/O error occurred, eliminate the error based on the message that is issued. Restart HiRDB after eliminating the error. Note that if the I/O error recurs after HiRDB is restarted, the RDAREA is placed in error shutdown status. In this case, use the database recovery utility to recover the RDAREA.
If HiRDB terminates abnormally because an I/O error occurred, the pd_db_io_error_action=unitdown specification becomes invalid from that point (RDAREAs will be placed in error shutdown status). To re-enable the pd_db_io_error_action=unitdown specification, use one of the following methods:
All Rights Reserved. Copyright (C) 2011, 2015, Hitachi, Ltd.