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 the 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.
The following table provides specification guidelines for the multistandby operand.
Table 26-13 Specification guidelines for the multistandby operand
Environment of the system switchover facility | multistandby operand specification |
---|---|
IP addresses are not inherited. | When IP addresses are not inherited, a multi-standby configuration cannot be applied. |
IP addresses are inherited. | Specify use if a multi-standby configuration is applied. |
To operate a system in the monitor mode, specify monitor in this operand.
Specify a command (shell) for starting HiRDB (or a unit for a HiRDB parallel server configuration) using an absolute path name. If the environment variables inherited from HA Monitor are not appropriate for use by the HiRDB start command, HiRDB will not function properly. Use a user command (shell) to change the execution environment, and then execute the following command:
The following example shows how to create a user command (shell) when you are using a HiRDB single server configuration.
PDDIR=/HiRDB_S PATH=/bin:/usr/bin:/usr/ucb:$PDDIR/bin PDCONFPATH=$PDDIR/conf SHLIB_PATH=$PDDIR/lib export PATH PDDIR PDCONFPATH SHLIB_PATH $PDDIR/bin/pdstart
In the following cases, specify a command (shell) for terminating HiRDB (or a unit for a HiRDB parallel server configuration) using an absolute path name:
If the environment variables inherited from HA Monitor are not appropriate for use by the HiRDB termination command, HiRDB will not function properly. Use a user command (shell) to change the execution environment, and then execute the following command:
The following example shows how to create a user command (shell) when using a HiRDB single server configuration:
PDDIR=/HiRDB_S PATH=/bin:/usr/bin:/usr/ucb:$PDDIR/bin PDCONFPATH=$PDDIR/conf SHLIB_PATH=$PDDIR/lib export PATH PDDIR PDCONFPATH SHLIB_PATH $PDDIR/bin/pdstop
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.
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.
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:
Specify online for the primary system and standby for the secondary system.
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.
All Rights Reserved. Copyright (C) 2011, 2015, Hitachi, Ltd.