Nonstop Database, HiRDB Version 9 System Operation Guide

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

26.3.5 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:

(b) multistandby operand

You can specify this operand when the version of HA Monitor is 01-08 or later.

This operand specifies whether to use the multi-standby function, which defines multiple standby systems for a single running system.

The following table provides specification guidelines for the multistandby operand.

Table 26-18 Specification guidelines for the multistandby operand

Environment of the system switchover facility multistandby operand specification
When IP addresses are not inherited. When IP addresses are not inherited, a multi-standby configuration cannot be applied.
When IP addresses are inherited. Specify use if a multi-standby configuration is applied.

Note
When use is specified, you must use the standbypri operand of the servers definition statement to specify priorities for the standby systems.

(2) Server definition file

(a) acttype operand

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 HiRDB (or a unit for a HiRDB parallel server configuration) terminates abnormally, a system switchover is performed and HiRDB restarts on the switchover destination system.

restart:
HiRDB (or a unit for a HiRDB parallel server configuration) 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).

manual:
The systems are not switched automatically even if HiRDB (or a unit for a HiRDB parallel server configuration) cannot be restarted. Therefore, do not specify manual in normal cases.
(c) name operand

For the standby system switchover facility, specify the HiRDB directory name using an absolute path name. For a HiRDB parallel server configuration, specify the HiRDB directory name of the applicable unit using an absolute path name.

(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 facility, we recommend that you specify the unit identifier.

(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

If IP addresses are inherited:
To turn the power to the network on or off, you can specify the IP address to be inherited in the .up file or the server identifier's .down file as the alias operand value. To do this, you must also specify use in the lan_updown operand.

If IP addresses are not inherited:
Before starting the running system and standby system HiRDB (or unit), you can activate the IP addresses specified in the -x and -c options of the pdunit operand. 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. If IP addresses for client connections are to be inherited, specify these IP addresses. If there are no IP addresses to be inherited, such as IP addresses for client connections, specify nouse in the lan_updown operand of the server definition file of HA Monitor, or delete the alias operand value's .up and .down files.
(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

Specify online for the primary system and standby for the secondary system.

(i) standbypri operand (only for user server hot standby)

You can specify this operand if the version of HA Monitor that you are using is 01-08 or later.

You can use this operand to specify standby system priorities when you use the multi-standby facility of HA Monitor (when use is specified in the multistandby operand in the sysdef definition file) to operate a system in a multi-standby configuration.