To construct a HiRDB system, the superuser must do the following using the root directory:
To construct a HiRDB system, the superuser must customize OS parameters.
To customize the OS parameters:
For simple installation, you need to specify the values listed in Table 23-6. For details about how to design databases, see 21. Specifying OS Parameters.
Table 23-6 Values of OS parameters
OS parameter | Recommended value |
---|---|
maxuprc | 512 |
maxusers | 64 |
nfile | 1600 |
nproc | 576 |
shmmax | 200 MB |
shmmni | 1000 |
shmseg | 120 |
semume | 128 |
semmns | 3600 |
semmnu | 512 |
semmni | 512 |
To access HiRDB on a network, the IP addresses and host names (such as hostA) of all machines that will be used must be set in the hosts file. This step is not required if these settings have already been made or DNS is used.
For details about the hosts file settings, see the applicable OS documentation.
To register the HiRDB administrator group into the OS, the superuser must add the information listed in Table 23-7 to the /etc/group file in the server machine.
For details about the /etc/group file, see the applicable OS documentation.
Table 23-7 Information to be set in the /etc/group file
Information to be added | Example |
---|---|
Group name | hirdb |
Encrypted password or its substitute | * |
Group ID | 300 |
List of user names that belong to the group | manager |
The superuser must register information about the HiRDB administrator into the OS. To do this, the information listed in Table 23-8 must be set in the /etc/passwd file in the server machine.
For details about the /etc/passwd file, see the applicable OS documentation.
Table 23-8 Information to be set in the /etc/passwd file
Information to be registered | Example |
---|---|
Log-in name | manager |
Password | manager |
User ID | 110 |
Group ID for the user | 300 |
User's home directory | /users/hirdb |
Shell to be executed when user logs in | /bin/sh (for Bourne shell) |