Autostart of directory server instances at operating system startup

You can configure directory server instances to start automatically when a computer restarts after it is shut down for maintenance or upgrade.

When you create a directory server instance, the administration server starts if the instance creation is successful. To start a directory server with DB2® database, you must start the ibmslapd or idsslapd process for the instance.

When you restart a computer, you must start both the administration server and ibmslapd process that are associated with the instance. However, you can configure services and processes that are associated with an instance to start automatically on your operating system.

To start the directory server instance on AIX®, or Linux™ at operating system startup, you must update the /etc/inittab file with the server information. The inittab file specifies the processes that must be started at system startup and during normal operation. You must add an entry for directory server in the inittab file in the following format:

id:runlevels:action:process

The attributes in the file requireinittab the following values:

id
This attribute specifies a 1-4 digit unique ID in the file.
runlevels
The runlevels attribute indicates the runlevel mode of the operating system in which the process starts automatically. It refers to the mode of operation of an AIX, or Linux operating system. The runlevels attribute configuration differs between operating systems. See your operating system manual for a specific runlevel configuration details.
action
The action specifies the action type.
process
The process attribute specifies the process to start.