Appendix B.2 HiRDB single server configuration: with utility special unit

In this example, a utility special unit is installed in the HiRDB single server configuration defined in Example 1. System definitions for the HiRDB single server configuration and the utility special unit are created. The system configuration is as follows:

Unit configuration

[Figure]

System files configuration for the utility special unit

[Figure]

Organization of this subsection
(1) System common definition for the HiRDB single server configuration
(2) System common definition for the utility special unit
(3) Unit control information definition for the utility special unit

(1) System common definition for the HiRDB single server configuration

        :
pdunit -x host2 -u UNT2 -d "/HiRDB" -p 20002
        :

Explanation
This coding modifies the system common definition created in Example 1 (by adding the pdunit operand).
The added pdunit operand defines the unit configuration of the utility special unit.

(2) System common definition for the utility special unit

set pd_system_id = PDB2                                                1
set pd_name_port = 20002                                               2
pdunit -x host1 -u UNT1 -d "/HiRDB" -p 20001                           3
pdunit -x host2 -u UNT2 -d "/HiRDB"                                    4
pdstart -t SDS -s sds1 -u UNT1                                         5

Explanation
  1. Specifies the HiRDB identifier.
  2. Specifies the HiRDB port number.
  3. Specifies the unit configuration in a HiRDB single server configuration.
  4. Specifies the unit configuration in the utility special unit.
  5. Specifies the server configuration in a HiRDB single server configuration.

(3) Unit control information definition for the utility special unit

set pd_unit_id = UNT2                                                  1
set pd_syssts_file_name_1 = "untsts1","/sysfile_a/usts1a",\            2
                                     "/sysfile_b/usts1b"
set pd_syssts_file_name_2 = "untsts2","/sysfile_a/usts2a",\
                                     "/sysfile_b/usts2b"

Explanation
  1. Specifies the unit identifier.
  2. Specifies the configuration of the unit status files.