Configuration update to directory server instance after reinstallation
Consider a scenario, where you might create a directory server instance, and then uninstall the IBM® Security Verify Directory product. Later you reinstall the product. In this scenario, you must take certain actions to restore services for the existing directory server instance.
- On Windows™ systems
-
The directory server and administration server services are created for a directory server instance when a directory server instance is created. The services are removed when the instance is dropped or when the IBM Security Verify Directory product is uninstalled.
If a user reinstalls the IBM Security Verify Directory product, for the existing directory server instance the services do not get automatically added. To restore the services for the existing directory server instance, enter the following command at the command prompt:ibmslapd –I instance_name -i ibmdiradm –I instance_name -iNote: These commands create the services entry in a Windows operating system and do not create the directory server instance.Start the services automatically for a directory server instance when the computer is started. Open the Services window from Administrative Tools and set the Startup Type to Automatic for the services that are associated with the directory server instance.
- On nonWindows systems (such as AIX® and Linux™)
-
The entry that causes the
ibmdiradmdaemon to start automatically for a directory server instance gets removed. This entry is not restored for an existing directory server instance when you reinstall the IBM Security Verify Directory product.To restore an entry, compare the inittab file that you saved with the existing /etc/inittab file. Copy any lines in the saved file that are not in the existing file, and add them to the inittab file.
An entry in the /etc/inittab file is of the following format:
An example entry:unique_id:run_states:action:path_to_script_to_be_runids0:2345:once:/opt/ibm/ldap/V10.0.1/sbin/ibmdiradm -I myinst1 > /dev/null 2>&1