25.21.2 Specifying the pd_ha_mgr_rerun operand

Organization of this subsection
(1) Processing difference depending on the operand specification
(2) Required system configuration
(3) Environment setting
(4) Notes about system switchover for the system manager unit

(1) Processing difference depending on the operand specification

When notwait is specified in the pd_ha_mgr_rerun operand, HiRDB does not wait to receive a startup processing completion notice from each unit during system switchover for the system manager unit (at the time of startup processing at the switching destination). Table 25-57 shows the processing by HiRDB depending on the value specified in the pd_ha_mgr_rerun operand.

Table 25-57 Processing by HiRDB depending on the value specified in the pd_ha_mgr_rerun operand

Itempd_ha_mgr_rerun value
wait (default value)notwait
Whether system switchover for the system manager unit can be executed when there is a stopped unit.System switchover cannot be executed (system switchover fails).System switchover can be executed.
Processing that occurs during system switchover for the system manager unit.
  • Checks each unit's version.1
  • Checks the system configuration.2
Does not perform the processing described at the left.3
1 Checks whether the version of the system manager in the standby system is the same as the version of other units.
2 Checks the following:
  • Is any front-end server active?
  • Is any back-end server active?
  • Is a dictionary server active?
3 When system switchover for the system manager unit is complete, the KFPS05210-I message (system startup completion message) is output, even if the HiRDB operating environment is not complete (for example, no front-end server is active).
Reference note
When notwait is specified in the pd_ha_mgr_rerun operand, HiRDB does not perform version checking of the units or the system configuration check. Therefore, the time required for system switchover of the system manager unit is reduced.

(2) Required system configuration

When notwait is specified in the pd_ha_mgr_rerun operand, the system must be configured so that all the following conditions are satisfied:

(3) Environment setting

The procedure for setting the environment is as follows:

Procedure
  1. Use the pdadmvr command to check that all units in the primary and standby system are of the same version.
  2. Specify notwait in the pd_ha_mgr_rerun operand.
    Reference note
    When notwait is specified in the pd_ha_mgr_rerun operand, HiRDB does not perform unit version checking when system switchover for the system manager unit occurs. Because correct HiRDB operation cannot be guaranteed if there is a version mismatch between units, you must implement step 1 to ensure all units are of the same version.

(4) Notes about system switchover for the system manager unit

(a) When jobs cannot be executed after system switchover for the system manager unit

When system switchover for the system manager unit is completed, the KFPS05210-I message (system startup completion message) is output, even if the HiRDB operating environment is not complete (for example, no front-end server is active). Consequently, if jobs cannot be executed after completion of system switchover for the system manager unit, a UAP could terminate in an error. For this reason, you should use the pdls command to check the operating status of each server.

(b) When system switchover for the system manager unit occurs while HiRDB is starting or terminating

If system switchover for the system manager unit occurs while HiRDB is starting (or terminating), the system manager unit starts (or terminates) regardless of the operating status of other units. Therefore, units other than the system manager unit may not be able to start (or terminate). In this case, you must terminate HiRDB forcibly.

You can avoid this situation by taking the following actions when starting or terminating HiRDB:

(c) About the status of the stopped unit

After system switchover, you can execute the pdls -d svr command for a unit that was stopped at the time of system switchover for the system manager unit. STOP(N), indicating normal termination status following execution of the pdstop command) will be displayed as long as the unit remains stopped.

If a network error causes the unit to remain in STOP(N) status even though it has actually started, first resolve the network error, terminate the unit, and then restart it.