The Tivoli Directory Server is available in three types of files: .zip, .tar, and .iso. If you downloaded .tar (or Tape ARchive) files, un-compress the files after you download them. Uncompress all .tar files in the same directory. Now to install Tivoli Directory Server, be sure that you have a supported version of DB2 installed.
(Note : Refer to below link for installation and instance creation with screenshots.
Link : https://www.ibm.com/developerworks/mydeveloperworks/groups/service/html/communityview?communityUuid=48a78681-82cc-434f-9c78-3e9117bfd466#fullpageWidgetId=W0c8dc1d99c5f_4b05_82a8_761e505b7266&file=8c80f684-c42c-4ee7-8b81-60154d7c869e)
Step 1: To install DB2, go to DB2 folder, and type
IBM DB2 is required for the full directory server because directory data is stored in a DB2 database. This command will install DB2. After typing No, hit Enter.
Step 2: Now, type ESE and press Enter.
Step 2(continued): DB2 installation continues and completes.
Step 3: To install GSKit, go to GSKit folder. Type ls to check the GDKit RPMs.
Step 4: At command prompt, type rpm -ivh *.rpm
This command will install GSKit package. IBM Tivoli Directory Server alone does not provide the capability for SSL connections from Tivoli Directory Server clients. You can enable the SSL feature by installing IBM GSKit package.
Tivoli Global Security Kit (GSKit) is an optional software package that is required only if Secure Sockets Layer (SSL) Security or Transport Layer Security (TLS) is required.
Once done, type following command to check the installed version :
#rpm -qa | grep -i gsk
Step 5: Now, the environment is ready to install TDS. Go to TDS folder and type following commands.
#rpm -ivh *.rpm
Step 6: TDS installation starts, displays all the packages being installed.
TDS has been installed successfully.
Step 7: TDS installation is complete, however, links on Linux system for Tivoli Directory Server 6.3
libraries and commands are not set. To set links, type command :
# ./bin/idslink -s fullsrv -g -f
The idslink command creates links to LDAP client and server command-line
utilities. This utility is installed with the client package.
Step 7(continued): Here it show links that are created by the idslink command.
During or after server installation, you must perform the following configuration tasks before you can use the server:
→ Create user IDs for the directory server instance owner and, for some installations, the database instance owner and the database owner.
→ Create a directory server instance.
→ Set the Tivoli Directory Server primary administrator distinguished name (DN) and password for the directory server instance.
→ If the directory server instance is not a proxy server, configure the database. You do not need a database for a proxy server instance.
Step 8: To create user id for the directory server instance owner, type command
# idsadduser -u <username> -w <password> -g idsldap -l <home directory path>
Then press 1 to continue.
Step 9: Change permission and ownership of user's home folder for TDS to have complete access.
#chmod 777 /home/instance-name(user name)
#chown user:idsldap /home/instance-name
Step 10: To create directory instance, type command
#idsicrt -I <instancename> -e <encryption seed> -l <instance location> -n
instance name : name of instance to be created, ideally same name as the user created.
Encryption seed : needs to be of atleast 12 characters
instance location : home folder of the instance mentioned in step 8.
Step 10(continued): Instance creation is completed.
Step 11: Now, to start database, type command :
# . /home/tamtds/sqllib/db2profile
Step 12: To configure a database for a directory server instance, type command
# idscfgdb -I <instance name> -w <dbadminpw> -l <dblocation> -t <instancename> -n
Step 12(continued) : Database configuration continues..
Step 13: To set administrator DN and password, type command :
# idsdnpw -I <instance name> -u cn=root -p <password> -n
Step 14: Now, TDS will have default instance with default suffix as o=sample. To create new suffix for
new instance(created in step10), type command:
# idscfgsuf -I <instance name> -s “<suffix name>”
Step 15: After finishing all the above steps, instance is ready for use. To start the instance, type
#ibmslapd -I <instance name> -n -t
The instance is now up and running. TDS installation and configuration completes.
Step 16: Verify that the packages have been installed correctly by typing command :
# rpm -qa | grep idsldap
Step 17: Additionally, Web Administration Tool can be deployed for GUI administration. For WAT, Web application server is required. Embedded WebSphere Application Server is provided with
Tivoli Directory Server 6.3 as a Web application server. Follow below commands.
#install.sh -installRoot <EWAS_installpath>
EWAS_installpath : /opt/ibm/ldap/V6.3/appsrv