IBM Tivoli Directory Server, Version 6.3

Autostart on AIX, Linux, and Solaris systems

To start the directory server instance at operating system startup on AIX®, Linux, and Solaris systems, you must edit the /etc/inittab file and add a line. The inittab file specifies which processes are started at system startup and during normal operation. An entry in the inittab file has the following format:

id:runlevels:action:process

where:

Add one of the following lines to your inittab file:

For AIX systems
srv1:2:once:/opt/IBM/ldap/V6.3/sbin/idsslapd -I server_name > /dev/null 2>&1 
#Autostart IBM LDAP Directory Server Instance
For Linux systems
srv1:2345:once:/opt/ibm/ldap/V6.3/sbin/ibmslapd -I server_name > /dev/null 2>&1 
#Autostart IBM LDAP Directory Server Instance
For Solaris systems
srv1:234:once:/opt/IBM/ldap/V6.3/sbin/ibmslapd -I server_name > /dev/null 2>&1 
#Autostart IBM LDAP Directory Server Instance

where server_name is the name of the directory server instance you want to start automatically.

After the entry is added to the /etc/inittab file, the directory server instance (full or proxy) is ready for autostart after system restart.

Be sure that all of the full directory servers are up and running before the proxy server starts. If you have full directory servers and a proxy server on the same computer, add a delay between the full directory server and the proxy server startup. In the following example, this done in the lines starting with srv3:2345:wait: and srv4:2345:wait:

#Autostart IBM LDAP Directory Server Instance
srv1:2345:wait:/opt/IBM/ldap/V6.3/sbin/idsslapd -I server1 > /dev/null 2>&1 
#Autostart IBM LDAP Directory Server Instance
srv2:2345:wait:/opt/IBM/ldap/V6.3/sbin/idsslapd -I server2 > /dev/null 2>&1 
#Autostop IBM LDAP Directory Server proxy instance
srv3:2345:wait:/opt/IBM/ldap/V6.3/sbin/idsslapd -I proxy -k > /dev/null 2>&1 
#Autostart IBM LDAP Directory Server proxy instance
srv4:2345:wait:/opt/IBM/ldap/V6.3/sbin/idsslapd -I proxy > /dev/null 2>&1 

where server1 and server2 are full directory server instances, and proxy is a proxy server instance.


[ Top of Page | Previous Page | Next Page ]