23.2.1 Setting information (superuser's task)

To construct a HiRDB system, the superuser must do the following using the root directory:

  1. Customize OS parameters.
  2. Set IP addresses.
  3. Create a HiRDB administrator group.
  4. Register the HiRDB administrator.
Organization of this subsection
(1) Customizing OS parameters
(2) Setting IP addresses
(3) Creating a HiRDB administrator group
(4) Registering the HiRDB administrator

(1) Customizing OS parameters

To construct a HiRDB system, the superuser must customize OS parameters.

To customize the OS parameters:

  1. Log in as the superuser.
  2. Set the OS parameters to values that are greater than the recommended values shown in Table 23-6. For HP-UX, use the HP-UX System Administration Manager (SAM) to change parameter values. For details about how to use SAM and about the OS parameters, see the appropriate HP-UX documentation.

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 parameterRecommended value
maxuprc512
maxusers64
nfile1600
nproc576
shmmax200 MB
shmmni1000
shmseg120
semume128
semmns3600
semmnu512
semmni512

(2) Setting IP addresses

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.

(3) Creating a HiRDB administrator group

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 addedExample
Group namehirdb
Encrypted password or its substitute*
Group ID300
List of user names that belong to the groupmanager

(4) Registering the HiRDB administrator

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 registeredExample
Log-in namemanager
Passwordmanager
User ID110
Group ID for the user300
User's home directory/users/hirdb
Shell to be executed when user logs in/bin/sh (for Bourne shell)