Scalable Database Server, HiRDB Version 8 Installation and Design Guide

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

20.2 HiRDB/Parallel Server

Table 20-2 shows the formulas for determining the values of environment variables related to the number of resources. If the obtained value is greater than the default value for the corresponding environment variable, set the obtained value in the environment variable. Otherwise, a problem may result; for example, HiRDB might be unable to start or a utility might be unable to execute.

These formulas provide the values required for a server machine.

Table 20-2 Values of environment variables related to the number of resources (HiRDB/Parallel Server)

Type Formula Corresponding environment variable Default
Number of message queue identifiers b
[Figure]Vi + 2[Figure]a + 3[Figure]b +c + d + e + 24
i=1
PDUXPLMSGMNI 50
Number of message queue tables MAX(h [Figure] number of message queue identifiers, total value of pdbuffer with -m specified) PDUXPLMSGTQL 80
Number of semaphore identifiers [Figure] When the standby-less system switchover (effects distributed) facility is not used
b
[Figure] {[Figure](Si + Ti + Ui) [Figure] 64[Figure] + Wi}
i = 1
+ 6 [Figure] b + 2 + f
[Figure] When the standby-less system switchover (effects distributed) facility is used
b
[Figure] {[Figure]{Yi [Figure] (j + k)} [Figure] 64[Figure] + Wi}
i = 1
+ 6 [Figure] b + 2 + f
PDUXPLSEMMAX 64
Shared memory usage count 2 [Figure] g + 16 [Figure] b PDUXPLSHMMAX 4096

a: Number of front-end servers in the server machine

b: Number of dictionary servers and back-end servers in the server machine

c: 2 for the front-end server; 0 for other

d: 5 for the dictionary server; 0 for other

e: 5 for the back-end server; 0 for other

f: Add when the system switchover facility is being used. Determine the value from the following table:
Condition Value of f
pd_ha_acttype=monitor (or default) 0
pd_ha_acttype=server pd_ha_agent=standbyunit 1
pd_ha_agent omitted pd_ha_server_process_standby=Y
(or default)
1
pd_ha_server_process_standby=N 0

g: Value of the pd_max_server_process operand

h: Value of the pd_max_users operand

j: Number of host BESs

k: Number of guest BESs

Si: Number of pdbuffer -r operands defined for the RDAREAs in each server

Ti: Number of pdbuffer -i operands defined for the RDAREAs in each server

Ui: Number of pdbuffer -o operands defined

Vi: 1 (if 1 or greater is specified in the pd_max_ard_process operand) or 0

Wi: 2 (if a value is specified in the pd_dfw_awt_process operand) or 0

Yi: Number of -c options specified in the pdbuffer operand