25.18.3 System configuration examples when using the rapid system switchover facility

Figure 25-77 shows a system configuration example when using the rapid system switchover facility.

Figure 25-77 System configuration example when using the rapid system switchover facility

[Figure]

Explanation
  • Because the unit for the system manager and front-end server (unit 1) is configured to inherit IP addresses, it cannot use the rapid system control facility. This unit has a 1-to-1 switchover configuration configuration that uses the user server hot standby function.
  • The back-end server units (unit 2 and unit 3) have a mutual system switchover configuration that uses the rapid system switchover facility.

The following examples show the specification of operands in the HiRDB system definition. These definition examples explain only operands related to the system common definition and unit control information definition.

System common definition

set pd_ha = use
set pd_name_port = 20000

pdunit -x hostAA -u unt1 -d "/hirdb1" -p 20000                       1
pdunit -x hostB -u unt2 -d "/hirdb2" -c hostBB -p 20001              2
pdunit -x hostC -u unt3 -d "/hirdb3" -c hostCC -p 20002              3

pdstart -t MGR -u unt1
pdstart -t DIC -u unt1 -s DIC
pdstart -t FES -u unt1 -s FES
pdstart -t BES -u unt2 -s BES1
pdstart -t BES -u unt3 -s BES2

Explanation
  1. This is the definition for unit 1. Because this unit inherits IP addresses after system switchover, the -c option is not specified.
  2. This is the definition for unit 2. Because this unit does not inherit IP addresses after system switchover, the host name of the secondary system is specified in the -c option.
  3. This is the definition for unit 3. Because this unit does not inherit IP addresses after system switchover, the host name of the secondary system is specified in the -c option.

Unit control information definition (unit 1)

set pd_hostaname = host1                            1
set pd_ha_acttype = server                          2
set pd_ha_server_process_standby = Y                3

Explanation
  1. Specifies the standard host name of the primary system.
  2. Executes the system switchover facility in the server mode. The server mode requires that the unit use the user server hot standby function.
  3. The user server hot standby function is used on this unit.

Unit control information definition (unit 2)

set pd_hostname = hostB                            1
set pd_ha_acttype = server                         2
set pd_ha_ipaddr_inherit = N                       3
set pd_ha_agent = standbyunit                      4

Explanation
  1. Specifies the host name of the primary system.
  2. Executes the system switchover facility in the server mode. The server mode requires that the unit use the user server hot standby function.
  3. Specifies that IP addresses are not to be inherited after system switchover. Units using the rapid system switchover facility cannot inherit IP addresses.
  4. The rapid system switchover facility is used on this unit.

Unit control information definition (unit 3)

set pd_hostname = hostC                           1
set pd_ha_acttype = server                        2
set pd_ha_ipaddr_inherit = N                      3
set pd_ha_agent = standbyunit                     4

Explanation
  1. Specifies the host name of the primary system.
  2. Executes the system switchover facility in the server mode. The server mode requires that the unit use the rapid system switchover facility.
  3. Specifies that IP addresses are not to be inherited after system switchovers. Units using the rapid system switchover facility cannot inherit IP addresses.
  4. The rapid system switchover facility is used on this unit.