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
Item | pd_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. |
| Does not perform the processing described at the left.3 |
When notwait is specified in the pd_ha_mgr_rerun operand, the system must be configured so that all the following conditions are satisfied:
The procedure for setting the environment is as follows:
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.
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:
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.