Nonstop Database, HiRDB Version 9 System Operation Guide

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

26.4.4 HA Monitor preparations

We recommend that you read this subsection if you are using HA Monitor as your cluster software. This subsection provides guidelines for the values to be specified for the HiRDB-related operands in the following HA Monitor definition files:

For details about the operands in these definition statements, the path names of the files storing these definition statements, and HA Monitor environment settings, see the manual High-Availability System Monitoring Facility.

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 HA Monitor is 01-08 or later.

For servers that are switched using HA Monitor, 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 HA Monitor 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) acttype operand

To operate a system in the server mode, specify server in this operand.

(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.
We recommend that you specify switch in the server definition file for the alternate portion created on 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 on 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 alternate portion created in the alternate BES unit, we recommend that you not specify restart in the server definition file. 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) 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
(d) alias operand

Specify an identifying name that is unique within the system to which HA Monitor is applied. You must specify the same identifying name in the primary and secondary systems.

For the standby-less system switchover (1:1) facility, we recommend that you specify the unit identifier of the normal BES unit.

(e) disk operand

Specify the name of the disk area (volume group and partition) in which a HiRDB file system area was created. For details, see the manual High-Availability System Monitoring Facility.

(f) lan_updown operand

For the standby-less system switchover (1:1) facility, activate the IP addresses specified in the -x and -c options of the pdunit operand before starting the normal BES unit and the alternate BES unit.

Do not specify an IP address specified in the -x or -c option of the pdunit operand in the alias operand value's .up or .down file for HA Monitor.

(g) group operand

Specify this operand in order to perform grouped system switchovers. However, you do not need to specify this operand if the only server to be switched is HiRDB. Specify a server group name in this operand. The following examples provide guidelines for specifying server group names:

(h) initial operand

For the standby-less system switchover (1:1) facility, specify online for the normal BES unit and standby for the alternate BES unit.