Nonstop Database, HiRDB Version 9 Installation and Design Guide

[Contents][Index][Back][Next]

22.5.2 Specifying port numbers

This section describes the different ways to specify port numbers.

Organization of this subsection
(1) Client environment definition
(2) System common definition and unit control information definition

(1) Client environment definition

See Client environment definition (setting environment variables) in the HiRDB Version 9 UAP Development Guide.

(2) System common definition and unit control information definition

This subsection describes the port numbers that are used, depending on whether system common definition and unit control information definition operands are specified.

To lock the port number specified in an operand, see the Port number used column in the table, and specify the applicable operand in a combination that uses that port number. For example, in (a) HiRDB port numbers, to lock the port number specified in the pd_name_port operand for a HiRDB parallel server configuration, do not specify pdunit -p.

(a) HiRDB port numbers

HiRDB port numbers are specified in the pd_name_port operand and in the pdunit operand's -p option. This subsection describes the port numbers that are used when these operands are specified.

For a HiRDB single server configuration
pd_name_port pdunit -p Port number used
Specified Specified Port specified in pd_name_port
Not specified
Not specified Specified 20,000
Not specified
The following table shows the port numbers that are used when the utility special unit is installed.
Location specified Port number used
System common definition At single server At utility special unit
pd_name_port pdunit -p Unit that has a single server Utility special unit Unit that has a single server Utility special unit
Specified Specified Port specified in pd_name_port Port specified in pdunit -p Port specified in pdunit -p Port specified in pd_name_port
Not specified Port specified in pd_name_port
Not specified Specified 20,000 Port specified in pdunit -p Port specified in pdunit -p 20,000
Not specified 20,000 20,000 20,000 20,000

For a HiRDB parallel server configuration
pd_name_port pdunit -p Port number used
Specified Specified Port specified in pdunit -p
Not specified Port specified in pd_name_port
Not specified Specified Port specified in pdunit -p
Not specified 20,000
(b) Scheduler process port numbers

Specify scheduler process port numbers in the following operands.

This subsection describes the port numbers that are used, depending on whether these operands are specified.

Location specified Port number used
System common definition Unit control information definition
pd_service_port pd_scd_port pdunit -s pd_service_port
Specified Specified Specified Specified Port specified in pdunit -s
Not specified
Not specified Specified Port specified in pd_scd_port
Not specified
Not specified Specified Specified Port specified in pdunit -s
Not specified
Not specified Specified Port specified in pd_service_port of unit control information definition
Not specified
Not specified Specified Specified Specified Port specified in pdunit -s
Not specified
Not specified Specified Port specified in pd_scd_port
Not specified
Not specified Specified Specified Port specified in pdunit -s
Not specified
Not specified Specified Port specified in pd_service_port of unit control information definition
Not specified #

#
If the pd_registered_port operand is specified in the system common definition or the unit control information definition, a port number in the range specified in the pd_registered_port operand is used. If the pd_registered_port operand is not specified, a port number is allocated automatically by the OS.
(c) Port numbers of transaction server processes, message log server processes, and unit monitoring processes

Specify the port numbers of transaction server processes, message log server processes, and unit monitoring processes in the operands shown below.

This section describes the port numbers that are used, depending on whether these operands are specified.

pd_trn_port,
pd_mlg_port, or
pd_alv_port
pdunit -t,
-m
or -a
Port number used
Specified Specified Port specified in pdunit -t, -m, or -a
Not specified Port specified in pd_trn_port, pd_mlg_port, or pd_alv_port
Not specified Specified Port specified in pdunit -t, -m, or -a
Not specified #

#
If the pd_registered_port operand is specified in the system common definition or unit control information definition, a port number in the range specified in the pd_registered_port operand is used. If the pd_registered_port operand is not specified, a port number is allocated automatically by the OS.
(d) Port numbers used by the HiRDB reserved port facility

Port numbers used by the HiRDB reserved port facility are specified in the pd_registered_port operand. This section describes the port numbers that are used, depending on whether these operands are specified.

Location specified Port number used
System common definition Unit control information definition
pd_registered_port pd_registered_port
Specified Specified Port specified in the unit control information definition
Not specified Port specified in system common definition
Not specified Specified Port specified in the unit control information definition
Not specified --

Legend:
--: N/A