Nonstop Database, HiRDB Version 9 System Definition
![[Contents]](FIGURE/CONTENT.GIF)
![[Index]](FIGURE/INDEX.GIF)
![[Back]](FIGURE/FRONT.GIF)
Appendix B.5 HiRDB/Parallel Server: when the standby-less system switchover (1:1) facility is used
This example creates system definitions for a HiRDB/Parallel Server. The system configuration is shown as follows.
- Both standby and standby-less system switchover facilities are used.
- The units to which the standby system switchover facility is applied are based on a mutual system switchover configuration and inherit IP addresses for client connection only. User server hot standby is also used.
- The units to which the standby-less system switchover (1:1) facility is applied are based on a mutual alternating configuration.
Note that in this definition example, only those operands that are related to the system common definition and unit control information definition are explained.
![[Figure]](FIGURE/ZW0C6010.GIF)
- Note
- Shading indicates the primary units.
- Server name is shown in parentheses.
- Back-end server (bes1) is a normal BES and is also an alternate BES for back-end server (bes2).
- Back-end server (bes2) is a normal BES and is also an alternate BES for back-end server (bes1).
- Organization of this subsection
- (1) System common definition
- (2) Unit control information definitions for UNT1 and UNT2
- (3) Unit control information definitions for UNT3 and UNT4
(1) System common definition
:
set pd_name_port = 5001 1
:
set pd_ha = use 2
set pd_ha_ipaddr_inherit = N
set pd_ha_switch_timeout = Y
set pd_ha_transaction = queuing
set pd_ha_trn_queuing_wait_time = 240
set pd_ha_trn_restart_retry_time = 90
:
pdunit -x host1 -u UNT1 -d "C:\HiRDB_A" -c host1A -p 5001 3
pdunit -x host2 -u UNT2 -d "C:\HiRDB_B" -c host2A -p 5002
pdunit -x host3 -u UNT3 -d "C:\HiRDB_A" -p 5003
pdunit -x host4 -u UNT4 -d "C:\HiRDB_A" -p 5003
pdstart -t MGR -u UNT1 4
pdstart -t FES -s fes1 -u UNT1
pdstart -t DIC -s dic -u UNT2
pdstart -t BES -s bes1 -u UNT3 -c bes2 5
pdstart -t BES -s bes2 -u UNT4 -c bes1
:
|
- Explanation
- Specifies the HiRDB port number.
- Specifies the operands related to the system switchover facility.
- Specifies the unit configuration of HiRDB/Parallel Server:
-x: Host name
-u: Unit identifier
-d: HiRDB directory name
-c: Host name of the secondary system
-p: Port number of the unit
- Specifies the server configuration of the HiRDB/Parallel Server:
-t: Server type
-s: Server name
-t: Server type
- Specifies the server configuration of the HiRDB/Parallel Server:
-t: Server type
-s: Specifies the name of the normal BES.
-t: Server type
-c: Specifies the name of the alternate BES.
(2) Unit control information definitions for UNT1 and UNT2
:
set pd_ha_acttype = server 1
set pd_ha_server_process_standby = Y 2
:
|
- Explanation
- Specifies that the system switchover facility be used in the server mode.
- Specifies that user server hot standby be used.
(3) Unit control information definitions for UNT3 and UNT4
:
set pd_ha_acttype = server 1
set pd_ha_agent = server 2
:
|
- Explanation
- Specifies that the system switchover facility be used in the server mode.
- Specifies that the standby-less system switchover (1:1) facility be used.
All Rights Reserved. Copyright (C) 2014, Hitachi, Ltd.