25.4.1 Estimating the number of ports that a unit will use

The following shows the target number of ports that a HiRDB unit will use:

Organization of this subsection
(1) Single server
(2) Parallel Server

(1) Single server

Formula
pd_max_users[Figure]2 + 1000

(2) Parallel Server

With a multi-front-end server configuration, decide the values for f and F for each front-end server, which will become the total number of ports. Use the following formula to calculate the target number of port numbers for each front-end server.

Formula
  • For HP-UX, AIX
    {b[Figure][k[Figure](B + F) + 1]
    + f[Figure](k[Figure]B + D + 2) + d[Figure](F + 1)}
    [Figure]pd_max_users + 1000
  • For Solaris and Linux
    {b[Figure][k[Figure][(b - 1) [Figure]2 + B + 1] + 1]
    + f[Figure](k[Figure]b + D + 2) + d[Figure]2}
    [Figure]pd_max_users + 1000
b: Number of back-end servers inside the unit
B: Number of back-end servers outside the unit
f: Number of front-end servers inside the unit
Each front-end server counts as either 1 or 0:
If the front-end server is inside the unit: 1
If the front-end server is outside the unit: 0
F: Number of front-end servers outside the unit
Each front-end server counts as either 1 or 0:
If the front-end server is inside the unit: 1
If the front-end server is outside the unit: 0
d: Number of dictionary servers inside the unit
D: Number of dictionary servers outside the unit
k: 2[Figure]3