Environment-Specific Parameters
Additional Provider Library Parameters
About this task
The cluster library has an arbitrary number of additional parameters, see Provider Library Parameters — Codership Documentation. These parameters are read during the startup of the Adabas nucleus and used to initialize the library. The following possibilities are described in this chapter.
Setting an environment variable
The environment variable CLUSTER _OPTIONS is used if specified.
Example:
In the following example, the size of gcache is set to 1024 megabytes:
CLUSTER_OPTIONS=gcache.size=1024M
Setting the DB_PARAMETER topic of the file DBnnn.INI
The entries under the topic CLUSTER_OPTIONS in the DBnnn.INI file are used if set.
Example:
[DB_PARAMETER]
[CLUSTER_OPTIONS]
gcache.size =1024M
gcache.page_size =128M
[CLUSTER_OPTIONS-END]
[DB_PARAMETER-END]
The entries under the topic PRIMARY_NODE_SWITCH in the DBnnn.INI file are used if set.
Example:
[DB_PARAMETER]
[PRIMARY_NODE_SWITCH]
ACTION = YES
ACTION_ROUTINE = ada_clu
NODE_SWITCH = YES
[PRIMARY_NODE_SWITCH-END]
[DB_PARAMETER-END]
The entries under the topic LOST_QUORUM in the DBnnn.INI file are used if set.
Example:
[DB_PARAMETER]
[LOST_QUORUM]
ACTION = YES
ACTION_ROUTINE = ada_clulq
[LOST_QUORUM-END]
[DB_PARAMETER-END]
Setting in the NUCPARMS section of the file DBnnn.INI
The nucleus parameter CLUSTER_OPTIONS is used if set.
This can be an entry under the topic NUCPARMS in the DBnnn.INI file as well.
Example:
[NUCPARMS]
CLUSTER_OPTIONS=gcache.size=1G
[NUCPARMS-END]
Note:
The ADAINI utility has been extended to understand the topic as well as the item CLUSTER_OPTIONS. This includes allowing a dot (.) in the item name.