22.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 22-5. For HP-UX, use the HP-UX System Administration Manager (SAM) to change parameter values. For details about using SAM and about the OS parameters, see the appropriate HP-UXdocumentation.

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

(2) Setting IP addresses

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.

(3) Creating a HiRDB administrator group

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

(4) Registering the HiRDB administrator

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 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)