Nonstop Database, HiRDB Version 9 Installation and Design Guide
The following table shows the formulas for determining the values to be set in environment variables, related to the number of resources. Specify these values in the Windows system environment variables 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 i=1 + 24 + 1 + m |
PDUXPLMSGMNI | 50 |
| Number of message queue tables | b x number of units + A + B | PDUXPLMSGTQL | 80 |
| Number of semaphore identifiers | b i = 1 + 6 x b + 2 + f b i=1 + 6 x b + 2 + f |
PDUXPLSEMMAX | 64 |
| Shared memory usage count | PDUXPLSHMMAX | 4,096 |
A: Use the following value:
m i = 1 Number of global buffer pools allocated to server i#1 + skip count of effective synchronization point dumps on server i#2 x 2 + maximum number of concurrent pdloads, pdrorgs, pdrbals, and no-log mode UAPs that can be executed on server i + 1 }
|
B: Add the following value if you specified 1 or a greater value in the pd_max_ard_process operand:
m i = 1 Sum of the pdbuffer -m values for global buffer pools allocated to server i }
|
| Condition | Value of f | ||
|---|---|---|---|
| pd_ha_acttype=monitor (or default) | 0 | ||
| pd_ha_acttype=server | pd_ha_agent=standbyunit | 1 | |
| pd_ha_agent=server | 1 | ||
| pd_ha_agent=activeunits | 0 | ||
| pd_ha_agent omitted | pd_ha_server_process_standby=Y (or default) |
1 | |
| pd_ha_server_process_standby=N | 0 | ||
z: (total amount of shared memory used by global buffers#
SHMMAX value)
Ai: If the pd_audit_def_buffer_size operand's value is greater than 0, the value of h; otherwise, 0
All Rights Reserved. Copyright (C) 2012, Hitachi, Ltd.