Nonstop Database, HiRDB Version 9 System Operation Guide

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

26.4.6 Hitachi HA Toolkit Extension preparations

We recommend that you read this subsection if you are using Hitachi HA Toolkit Extension. This subsection provides guidelines on the values to specify for the HiRDB-related operands in Hitachi HA Toolkit Extension's sysdef and server definition files. For details about how to set up a Hitachi HA Toolkit Extension environment, see the manual Hitachi HA Toolkit.

An operating environment must be set up for each server.

Organization of this subsection
(1) sysdef definition file
(2) Server definition file

(1) sysdef definition file

(a) servmax operand

You can specify this operand when the version of Hitachi HA Toolkit Extension is 01-04 or later.

For servers that are switched using Hitachi HA Toolkit Extension, specify 16 or 64 as the maximum number of servers that can be started concurrently as running servers or standby servers on a single server machine.

16: Sets 16 as the maximum number of servers that can be started concurrently.

64: Sets 64 as the maximum number of servers that can be started concurrently.

Specify 64 when the number of servers, which are the units for switching on a single server machine, exceeds 16.

The number of servers to be switched using Hitachi HA Toolkit Extension also includes products other than HiRDB that are to be switched. HiRDB computes the number of servers to be switched as follows:

(2) Server definition file

(a) name operand

For the standby-less system switchover (1:1) facility, specify a HiRDB identifier (value specified in the pd_system_id operand) and a unit identifier (value specified in the pd_unit_id operand) of a normal BES unit, separated by a forward slash (/). Specify these items as follows if the HiRDB identifier is DB01 and the unit identifier of the normal BES unit is UNT1:

DB01/UNT1
(b) switchtype operand

Use the switchtype operand to specify the processing to be performed when a server failure is detected.

switch:
When a unit terminates abnormally, a system switchover is performed and HiRDB restarts on the switchover destination system.
For the standby-less system switchover (1:1) facility, we recommend that you specify switch in the server definition file for the alternate portion created in the alternate BES unit. When switch is specified, the system is switched from the alternate portion to the normal BES unit if an error occurs in the alternate BES unit while units are being alternated. As a result, the load on the alternate BES unit can be reduced after it restarts.

restart:
The unit restarts in the system where the error occurred. Only if HiRDB cannot be restarted in the system where the error occurred, a system switchover occurs and HiRDB restarts on the switchover destination system (the system switchover is reported by output of the KFPS00715-E message).
For the standby-less system switchover (1:1) facility, we recommend that you not specify restart in the server definition file for the alternate portion created in the alternate BES unit. If you specify restart, the alternate BES unit continues to assume the alternate processes of the normal BES unit when an error occurs in the alternate BES unit while units are being alternated. As a result, the load on the alternate BES unit is not reduced after it restarts.

manual:
The systems are not switched automatically even if the unit cannot be restarted.
Therefore, do not specify manual in normal cases.
Hint
When you use the standby-less system switchover (1:1) facility with a mutual alternating configuration, specify the same value in the switchtype operand of the alternate BES unit and the alternate portion.
(c) actcommand operand

This operand specifies a command to be executed at the time of package startup or failover. We recommend that you not specify this operand in the server mode, however, because there is no need to issue this command to the standby system unit when a system switchover occurs in the server mode.

For the standby-less system switchover (1:1) facility, specify the pdstart -q -c command if the actcommand operand must be specified for the standby system (alternate portion).

(d) termcommand operand

For the standby-less system switchover (1:1) facility, specify the pdstop -z -c command in the termcommand operand of the alternate portion.