25.3.4 When a firewall and NAT are installed on the HiRDB/Parallel Server side

As shown in Figure 25-11, a firewall and NAT have been installed on the HiRDB/Parallel Server side, and they have been configured as follows:

Firewall settings
  • Direction: Receive
  • IP addresses: 172.16.0.10, 172.16.0.20
  • Port numbers: 20000, 20001
NAT address translation
128.1.1.1[Figure][Figure]172.16.0.10
128.1.1.2[Figure][Figure]172.16.0.20
Note that HiRDB does not support a function that converts global and local IP addresses as a pair, such as NAPT (IP masquerade). It supports only 1-to-1 conversion.

Figure 25-11 Network configuration example with a firewall and NAT installed on the HiRDB/Parallel Server side

[Figure]

In this configuration, configure the high-speed connection facility. The settings for the server and client machines are as follows:

Server machine settings
  • System common definition file
    set pd_name_port = 20000
    set pd_service_port = 20001
    pdunit -x hirdb01 -u unt1
    pdunit -x hirdb02 -u unt2
    pdstart -t MGR -u unt1
    pdstart -t FES -s fes -u unt2
Client machine settings
  • Client environment definition
    PDHOST hirdb01
    PDNAMEPORT 20000
    PDSERVICEGRP fes
    PDSERVICEPORT 20001
    PDFESHOST hirdb02
    PDSRVTYPE WS1
    PDCLTRCVPORT 300002
  • hosts file
    128.1.1.1 hirdb01
    128.1.1.2 hirdb02
1 To operate a HiRDB server on Linux, specify PC.
2 Specify this when there is a firewall on the client side.