2.6.1 Registering the HiRDB server program to the exceptions list

Register the program of the HiRDB server to the exceptions list.

Organization of this subsection
(1) Prerequisites
(2) Registration method

(1) Prerequisites

If the HiRDB server program is already listed as registered in the Windows Firewall exceptions list on the Register with Windows Firewall page when HiRDB is installed, the tasks described in (2) below are not necessary. Proceed to 2.6.2 Registering the port number to be used during remote shell execution to the exceptions list.

With a HiRDB/Single Server, if the HiRDB server and HiRDB client are not on the same server, you can specify the settings listed below to limit what is registered into the Windows Firewall exceptions list to processes that accept connection requests from the HiRDB client. For details about how to add processes, see (2)(b) Limiting what is registered to processes that accept connection requests from the HiRDB client.

(2) Registration method

(a) Not limiting what is registered to processes that accept connection requests from the HiRDB client

Start up the HiRDB command prompt, and then execute the following batch file.

%PDDIR%\BIN\pdsetfw.bat "setup-ID"

Specify the setup ID specified at installation. If you performed the installation with the standard setup specified, omit the setup ID.

When this batch file is executed, the HiRDB server program is registered on the Windows Firewall exceptions list.

Reference note
Check the Windows Firewall Exceptions page to make sure that the HiRDB server program has been registered.
(b) Limiting what is registered to processes that accept connection requests from the HiRDB client

After you have installed HiRDB, add to the Windows Firewall exceptions list the port numbers or program names (.exe files) of the processes (pdrdmd and pdscdd) that accept connection requests from the HiRDB client. The following procedures describe how to add this information to the Windows Firewall exceptions list.

To add port numbers:
  1. Create the following batch file:

    echo on
    netsh firewall set portopening tcp port-number-of-HiRDB#1 "HiRDB/Single Server setup-ID#2 (pdrdmd port)"
    netsh firewall set portopening tcp port-number-of-scheduler-process#3 "HiRDB/Single Server setup-ID#2 (pdscdd port)"

  2. Start up the HiRDB command prompt, and then execute the created batch file.
#1
The port number of HiRDB will have been specified in one of the following system definition operands:
  • pd_name_port operand
  • -p option of the pdunit operand
#2
Specify the setup ID that was specified during installation. If you performed installation with the standard setup specified, omit the setup ID.
#3
The port number of the scheduler process will have been specified in one of the following system definition operands:
  • pd_service_port operand
  • pd_scd_port operand
  • -s option of the pdunit operand
To add program names:
  1. Create the following batch file:

    echo on
    netsh firewall set allowedprogram "%PDDIR%\lib\servers\pdrdmd.exe" "HiRDB/Single-Server-setup-ID# (pdrdmd.exe)"
    netsh firewall set allowedprogram "%PDDIR%\lib\servers\pdscdd.exe" "HiRDB/Single-Server-setup-ID# (pdscdd.exe)"

  2. Start up the HiRDB command prompt, and then execute the created batch file.
#
Specify the setup ID that was specified during installation. If you performed installation with the standard setup specified, omit the setup ID.

Note
To handle space characters, make sure that you specify the required double-quotation marks (") in the batch file text.
Reference note
Check the Windows Firewall Exceptions page to make sure that the HiRDB server program has been registered.
Notes on using the simple setup tool
To set up the HiRDB/Single Server environment using the simple setup tool, do the following:
  1. Use the procedure described above to add to the Windows Firewall exceptions list the port numbers or program names of the processes that will accept connection requests from the HiRDB client.
  2. Run the simple setup tool on the machine on which the HiRDB/Single Server is configured.
  3. In the simple setup tool's host selection window, specify the loopback address for the host name.
  4. On the simple setup tool's Detailed Definitions screen, specify the following:
    [Figure]Specify S in the pd_rpc_bind_loopback_address operand
    [Figure]Specify the port number of the scheduler process in one of the following system definition operands:
    [Figure]pd_service_port operand
    [Figure]pd_scd_port operand
    [Figure]-s option of the pdunit operand
If you do not perform these tasks, the HiRDB server program will be blocked by Windows Firewall, which means that HiRDB will not start even if you run the simple setup tool.