Scalable Database Server, HiRDB Version 8 System Operation Guide
To operate the system switchover facility in the server mode, specify server in this operand. To operate in the monitor mode, specify monitor in this operand.
Consider specifying this operand when operating the system switchover facility in the server mode. You cannot specify this operand when operating in the monitor mode. Specify in this operand the processing to be performed when a server failure is detected.
PDDIR=/HiRDB_S PATH=/bin:/usr/bin:/usr/bin/ucb:/$PDDIR/bin PDCONFPATH=$PDDIR/conf SHLIB_PATH=$PDDIR/lib export PATH PDDIR PDCONFPATH SHLIB_PATH $PDDIR/bin/pdstart
Consider specifying this operand when operating the system switchover facility in the monitor mode. You cannot specify this operand when operating in the server mode. In the following cases, specify a command (shell) for terminating HiRDB (or unit for a HiRDB/Parallel Server) 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, then issue the following commands:
When this command is executed, RDAREAs on a shared disk may go into error shutdown. If this occurs, recover the RDAREAs on the shared disk by executing the database recovery utility (pdcopy command).
The following example shows how to create a user command (shell) when using a HiRDB/Single Server:
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, it is recommended that the unit identifier be specified. For the standby-less system switchover (1:1) facility, it is recommended that the unit identifier of the normal BES unit be specified. For the standby-less system switchover (effects distributed) facility, it is recommended that the server identifier of the server subject to system switchover be specified.
Specify the name of the disk area (volume group and partition) in which a HiRDB file system area was created.
Specify this operand in order to perform grouped system switchover. Specifying this operand is not necessary if the only server to be switched is HiRDB. You specify a server group name in this operand. The examples below provide guidelines for specifying server group names:
When you use the standby system switchover facility, specify online for the primary system and standby for the secondary system.
When you use the standby-less system switchover (1:1) facility, specify online for the normal BES unit and standby for the alternate BES unit.
When you use the standby-less system switchover (effects distributed) facility, specify online for the host BES and standby for the guest BES.
Specification of this operand is applicable when the version of HA monitor is 01-08 or later.
You use this operand to specify priorities when you use the multi-standby function of HA monitor (use must be specified in the multistandby operand of the sysdef definition statement).
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 shows the priorities assigned to each unit:
| Server | online | Highest priority | Second priority | |||
|---|---|---|---|---|---|---|
| BES1A | unt1 [1] [4] |
unt2 [2] |
unt3 [3] |
|||
| BES1B | unt3 [5] |
unt2 [6] |
||||
| BES2A | unt2 [7] [10] |
unt3 [8] |
unt1 [9] |
|||
| BES2B | unt1 [11] |
unt3 [12] |
||||
| BES3A | unt3 [13] [16] |
unt2 [14] |
unt1 [15] |
|||
| BES3B | unt1 [17] |
unt2 [18] |
||||
A specification example of the server definition statements follows:
Server definition statements for server machine 1
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 definition statements for server machine 2
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 definition statements for server machine 3
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) 2007, Hitachi, Ltd.