Appendix B.3 HiRDB single server configuration: system switchover facility being used
(1) System common definition of HiRDB single server configuration 1
set pd_system_id = SDS1 1
set pd_name_port = 20003 2
:
:
set pd_ha = use 3
set pd_ha_ipaddr_inherit = N 4
:
:
pdunit -x host1 -u UNT1 -d "/HiRDB1" -c host2 5
pdunit -x host3 -u UNT3 -d "/HiRDB3" -p 20005 6
pdstart -t SDS -s sds01 -u UNT1 7 |
- Explanation
- Specifies the HiRDB identifier.
- Specifies the HiRDB port number.
- Specifies use of the system switchover facility.
- Specifies that IP addresses are not inherited.
- Specifies the unit configuration of HiRDB single server configuration 1:
-x: Host name.
-u: Unit identifier
-d: HiRDB directory name
-c: Host name of the secondary system
- Specifies the configuration of the utility special unit:
-p: Port number
- Specifies the server configuration of HiRDB single server configuration 1:
-t: Server type
-s: Server name
-u: Unit identifier
(2) Unit control information definition of HiRDB single server configuration 1
set pd_unit_id = UNT1 1
:
:
set pd_hostname = host1 2 |
- Explanation
- Specifies the unit identifier.
- Specifies the host name of the primary system.
(3) System common definition of HiRDB single server configuration 2
set pd_system_id = SDS2 1
set pd_name_port = 20004 2
:
:
set pd_ha = use 3
set pd_ha_ipaddr_inherit = N 4
:
:
pdunit -x host2 -u UNT2 -d "/HiRDB2" -c host1 5
pdunit -x host3 -u UNT3 -d "/HiRDB3" -p 20005 6
pdstart -t SDS -s sds02 -u UNT2 7 |
- Explanation
- Specifies the HiRDB identifier.
- Specifies the HiRDB port number.
- Specifies use of the system switchover facility.
- Specifies that IP addresses are not inherited.
- Specifies the unit configuration of HiRDB single server configuration 2:
-x: Host name.
-u: Unit identifier
-d: HiRDB directory name
-c: Host name of the secondary system
- Specifies the configuration of the utility special unit:
-p: Port number
- Specifies the server configuration of HiRDB single server configuration 2:
-t: Server type
-s: Server name
-u: Unit identifier
(4) Unit control information definition of HiRDB single server configuration 2
set pd_unit_id = UNT2 1
:
:
set pd_hostname = host2 2 |
- Explanation
- Specifies the unit identifier.
- Specifies the host name of the primary system.
(5) System common definitions of the utility special units
set pd_system_id = UTL1 1
set pd_name_port = 20005 2
:
:
set pd_ha = use 3
set pd_ha_ipaddr_inherit = N 4
:
:
pdunit -x host1 -u UNT1 -d "/HiRDB1" -c host2 -p 20003 5
pdunit -x host2 -u UNT2 -d "/HiRDB2" -c host1 -p 20004 6
pdunit -x host3 -u UNT3 -d "/HiRDB3" 7
pdstart -t SDS -s sds01 -u UNT1 8
pdstart -t SDS -s sds02 -u UNT2 9 |
- Explanation
- Specifies the HiRDB identifier.
- Specifies the HiRDB port number.
- Specifies use of the system switchover facility.
- Specifies that IP addresses are not inherited.
- Specifies the unit configuration of HiRDB single server configuration 1:
-x: Host name.
-u: Unit identifier
-d: HiRDB directory name
-c: Host name of the secondary system
-p: Port number
- Specifies the unit configuration of HiRDB single server configuration 2:
- Specifies the configuration of the utility special unit:
- Specifies the server configuration of HiRDB single server configuration 1:
-t: Server type
-s: Server name
-u: Unit identifier
- Specifies the server configuration of HiRDB single server configuration 2:
(6) Unit control information definitions of the utility special units
set pd_unit_id = UNT3 1
:
:
set pd_hostname = host3 2 |
- Explanation
- Specifies the unit identifier.
- Specifies the host name.