Nonstop Database, HiRDB Version 9 System Operation Guide

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

9.5 Handling an increase in the number of users

This section explains the items you need to revise when the number of users increases.

Organization of this section
(1) HiRDB system definition operands
(2) Shared memory used by HiRDB
(3) Number of ports used by HiRDB
(4) Locking pool size
(5) Number of semaphores and semaphore identifiers used (applicable to a HiRDB single server configurations only)
(6) Synchronization point dump file and status file sizes
(7) OS system parameters
(8) Exceeding the number of users authorized at the time of the HiRDB purchase

(1) HiRDB system definition operands

When the number of users increases, revise the values specified for the following operands:

#
If the pd_max_server_process operand is omitted, HiRDB automatically calculates the value for this operand.

(2) Shared memory used by HiRDB

The size of the shared memory used by HiRDB increases, which might result in shared memory allocation errors. In such a case, the shmget() system call error is reported with the KFPO00113-E message. Appropriate action must be taken on the basis of this message.

For details about how to determine the values for the OS system parameters, see the HiRDB Version 9 Installation and Design Guide.

For details about how to modify the OS system parameters, see the applicable OS documentation. When a system parameter is modified, the new value does not take effect until the OS is rebooted.

For information on determining values for shared memory and semaphores, see the HiRDB Version 9 Installation and Design Guide.

(3) Number of ports used by HiRDB

As the number of users increases, the number of ports used by HiRDB also increases. If the number of ports becomes inadequate, processing might be interrupted or the communications processing of other programs might be affected adversely. The number of ports assigned automatically by the operating system depends of the OS, so you should check the network-related settings on each server machine. For details about the number of ports that HiRDB uses, see the HiRDB Version 9 Installation and Design Guide.

If the number of ports assigned automatically by the OS is inadequate, use the pd_registered_port operand to specify a range of port numbers to be used by HiRDB. For details, see 9.7 Specifying a range of port numbers for use in communication processing.

(4) Locking pool size

When the number of users increases, the number of locking requests also increases. As a result, an insufficient locking pool size might cause an error (the KFPS00443-I message is output). In this case, check and, if necessary, revise the value specified for the pd_lck_pool_size operand.

If a locking pool size shortage occurs at the front-end server, check and, if necessary, revise the value specified for the pd_fes_lck_pool_size operand. The KFPS00443-I message shows the server where the locking pool size shortage occurred.

(5) Number of semaphores and semaphore identifiers used (applicable to a HiRDB single server configurations only)

In the case of a HiRDB single server configuration, more semaphores and semaphore identifiers are used, which means that the semget() system call error is reported with the KFPS01815-E or KFPO00107-E message. Appropriate action must be taken on the basis of the message:

In the case of a HiRDB parallel server configuration, an increased number of users has no effect on the number of semaphores or semaphore identifiers.

For details about how to estimate the memory used by the OS system parameters, see the HiRDB Version 9 Installation and Design Guide.

(6) Synchronization point dump file and status file sizes

The synchronization point dump file and status file sizes increase. For information on determining the sizes of synchronization point dump files and status files, see the HiRDB Version 9 Installation and Design Guide.

After determining their sizes, re-create synchronization point dump files and status files.

(7) OS system parameters

If the number of users increases, determine the revised values for the OS system parameters. For details about how to determine the values for the OS system parameters, see the HiRDB Version 9 Installation and Design Guide.

In the AIX edition, you need to also increase the values for the following OS system parameters:

(8) Exceeding the number of users authorized at the time of the HiRDB purchase

If the number of users that were authorized at the time HiRDB was purchased is exceeded, HiRDB must be upgraded.