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 22-5. For details about how to design databases, see 21. Specifying OS Parameters.
Table 22-5 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 a HiRDB on a network, set the IP addresses and host names (such as hostA) of all machines that will be used 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 22-6 to the /etc/group file in the server machine.
For details about the /etc/group file, see the applicable OS documentation.
Table 22-6 Information to be set in /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 |
To register information about the HiRDB administrator into the OS, the superuser must set the information listed in Table 22-7 in the /etc/passwd file in the server machine.
For details about the /etc/passwd file, see the applicable OS documentation.
Table 22-7 Information to be set in /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) |