This section describes the different ways to specify port numbers.
See Client environment definition (setting environment variables) in the HiRDB Version 9 UAP Development Guide.
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 HiRDB/Parallel Server, do not specify pdunit -p.
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.
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 |
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 |
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 | # |
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 | # |
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 | -- |