Nonstop Database, HiRDB Version 9 System Operation Guide
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.
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.
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:
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.
Specify use if the number of units belonging to the HA group is 3 or more. If you specify use, use the standbypri operand of the servers definition statement to specify priorities for the standby systems.
To operate the system switchover facility in the server mode, specify server in this operand. To operate a system in the monitor mode, specify monitor in this operand.
Use the switchtype operand to specify the processing to be performed when a server failure is detected.
When you use the standby-less system switchover (effects distributed) facility, specify the same value in the switchtype operand of all backend servers in the HA group.
For the standby-less system switchover (effects distributed) facility, specify a HiRDB identifier and server identifier, separated by a slash (/). Specify these items as follows if the HiRDB identifier is DB01 and the server identifier is BES1:
DB01/BES1
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 (effects distributed) facility, we recommend that you specify the server identifier of the server subject to system switchovers.
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.
For the standby-less system switchover (effects distributed) facility, activate the IP addresses specified in the -x option of the pdunit operand before starting the unit with the HA group name.
Do not specify an IP address specified in the -x option of the pdunit operand in the alias operand value's .up or .down file for HA Monitor.
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:
For the standby-less system switchover (effects distributed) facility, specify online for the normal BES unit and standby for the alternate BES unit.
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 priorities when you use the multi-standby function of HA Monitor (use must be specified in the multistandby operand in the sysdef definition file) to operate a system in a multi-standby configuration.
If you are using the standby-less system switchover (effects distributed) facility, specify priorities for guest BESs. For example, specify 1 for the guest BES with the first system switchover priority and 2 for the guest BES with the second priority.
For this example, the standby-less system switchover (effects distributed) facility is applied to the following 3-unit configuration:
Also, each of the following groups shares a global buffer:
The following table lists the priorities assigned to each unit.
Server | Online | Highest priority | Second priority |
---|---|---|---|
BES1A | unt1 [1] | unt2 [2] | unt3 [3] |
BES1B | unt1 [4] | unt3 [5] | unt2 [6] |
BES2A | unt2 [7] | unt3 [8] | unt1 [9] |
BES2B | unt2 [10] | unt1 [11] | unt3 [12] |
BES3A | unt3 [13] | unt2 [14] | unt1 [15] |
BES3B | unt3 [16] | unt1 [17] | unt2 [18] |
A specification example in the server definition file follows.
server name PDB1/bes1A, alias bes1A, patrol 10, disk /dev/vg01, initial online; ....[1] server name PDB1/bes1B, alias bes1B, patrol 10, disk /dev/vg02, initial online; ....[4] server name PDB1/bes2A, alias bes2A, patrol 10, disk /dev/vg03, initial standby, standbypri 2; ...[9] server name PDB1/bes2B, alias bes2B, patrol 10, disk /dev/vg04, initial standby, standbypri 1; ...[11] server name PDB1/bes3A, alias bes3A, patrol 10, disk /dev/vg05, initial standby, standbypri 2; ...[15] server name PDB1/bes3B, alias bes3B, patrol 10, disk /dev/vg06, initial standby, standbypri 1; ...[17] |
server name PDB1/bes1A, alias bes1A, patrol 10, disk /dev/vg01, initial standby, standbypri 1; ....[2] server name PDB1/bes1B, alias bes1B, patrol 10, disk /dev/vg02, initial standby, standbypri 2; ...[6] server name PDB1/bes2A, alias bes2A, patrol 10, disk /dev/vg03, initial online; ...[7] server name PDB1/bes2B, alias bes2B, patrol 10, disk /dev/vg04, initial online; ...[10] server name PDB1/bes3A, alias bes3A, patrol 10, disk /dev/vg05, initial standby, standbypri 1; ...[14] server name PDB1/bes3B, alias bes3B, patrol 10, disk /dev/vg06, initial standby, standbypri 2; ...[18] |
server name PDB1/bes1A, alias bes1A, patrol 10, disk /dev/vg01, initial standby, standbypri 2; ...[3] server name PDB1/bes1B, alias bes1B, patrol 10, disk /dev/vg02, initial standby, standbypri 1; ...[5] server name PDB1/bes2A, alias bes2A, patrol 10, disk /dev/vg03, initial standby, standbypri 1; ...[8] server name PDB1/bes2B, alias bes2B, patrol 10, disk /dev/vg04, initial standby, standbypri 2; ...[12] server name PDB1/bes3A, alias bes3A, patrol 10, disk /dev/vg05, initial online; ...[13] server name PDB1/bes3B, alias bes3B, patrol 10, disk /dev/vg06, initial online; ...[16] |
All Rights Reserved. Copyright (C) 2011, 2015, Hitachi, Ltd.