Nonstop Database, HiRDB Version 9 System Operation Guide

[Contents][Index][Back][Next]

20.15 Handling of reduced activation (HiRDB parallel server configurations only)

Executor: HiRDB administrator

Even if there are units that cannot start due to an error, you can use the reduced activation facility to start HiRDB with only the remaining normal units.

Organization of this section
(1) To use reduced activation
(2) Returning to normal operation mode
(3) When reduced activation is not available
(4) Some tables might not be accessed when reduced activation is used
(5) Use of reduced activation during a restart
(6) Notes on multiple front-end servers
(7) Notes on when HiRDB is linked to HiRDB Datareplicator
(8) When reduced activation is used for subsequent HiRDB startup
(9) Notes about using recovery-unnecessary front-end servers

(1) To use reduced activation

To use reduced activation, 1 must be specified in the pd_start_level operand. HiRDB will start using only the available units if there are units that cannot be started.

When reduced activation takes effect, the KFPS05217-I message is issued. The pdls command can be used to determine the units that could not be started.

Remarks
During startup, HiRDB waits for up to 20 minutes to receive a startup message from all units. Therefore, there is a delay of 20 minutes before reduced activation is executed. The maximum of 20 minutes to wait to receive a startup message can be changed in the pd_reduced_check_time operand of the system common definition.

(2) Returning to normal operation mode

The following procedure shows how to return HiRDB to the normal mode after it has run in reduced activation.

Procedure
To return to normal operation mode:
  1. Use the pdls command to check and eliminate the error in the unit that cannot be started.
    pdls -d svr
  2. Use the pdstart -u command to start up a unit that is not active:
    pdstart -u unt1
    When HiRDB returns to the normal operation mode, the KFPS05218-I message is issued.

(3) When reduced activation is not available

In the following cases, reduced activation is not available; the cause of the error must be eliminated in order to start HiRDB:

(4) Some tables might not be accessed when reduced activation is used

If an attempt is made to access a table at an inactive unit, an SQL error results. If a table is row-partitioned, accessing data stored at an inactive unit results in an SQL error.

(5) Use of reduced activation during a restart

If reduced activation is used during a restart, a transaction related to the erroneous unit might be placed in uncompleted status. The transaction will be determined automatically when reduced activation is released and normal operation is started. If there is a transaction in uncompleted status, neither normal termination nor planned termination can be executed on HiRDB. In such a case, the pdstop -f command must be used to terminate HiRDB forcibly.

(6) Notes on multiple front-end servers

Special care is needed when the front-end server to which a client user is to be connected has been determined; that is, when the following operands have been specified in the client environment definition:

If the front-end server specified in these operands is not running, no UAPs can be executed. To enable UAPs to execute, either delete these operands or specify a front-end server that is running.

(7) Notes on when HiRDB is linked to HiRDB Datareplicator

(a) HiRDB used at the extracting side
(b) HiRDB used at the target side

(8) When reduced activation is used for subsequent HiRDB startup

If reduced activation is to be used for a subsequent HiRDB startup because a unit error cannot be corrected, the name of the unit that cannot be started should be specified in the pd_start_skip_unit operand. Normally during startup, HiRDB waits for up to 20 minutes to receive a startup message from each unit. Therefore, there is a delay of 20 minutes before reduced activation is executed. If the name of a unit that cannot be started is specified in the pd_start_skip_unit operand, HiRDB does not wait for a unit startup message from that unit, which can save a considerable amount of time that HiRDB would otherwise spend waiting for a startup message, thereby reducing the time required for reduced activation.

Example
  1. 1 is specified in the pd_start_level operand in the system common definition.
  2. HiRDB executed reduced activation because a unit could not be started due to an error.
  3. When the application terminated, the pdstop command was entered to terminate HiRDB. The error had not been corrected at this point.
  4. The following operand was specified:
    pd_start_skip_unit=name-of-unit-that-cannot-be-started
  5. To start the application, the pdstart command was entered to start HiRDB. The HiRDB startup time is reduced as compared to when the pd_start_skip_unit is not specified.
    Note
    To return to normal operation, delete the pd_start_skip_unit operand. If you do not delete this operand, HiRDB will again be placed in reduced activation mode the next time it is started.

(9) Notes about using recovery-unnecessary front-end servers

Recovery-unnecessary front-end server units start independently in the reduced mode, regardless of the value set in the pd_start_level operand. Even if you specify a unit name in the pd_start_skip_unit operand, that specification is ignored and the recovery-unnecessary front-end server units are started. If any of the recovery-unnecessary front-end server units cannot be started during HiRDB startup, HiRDB is started without those units.