When you create a new full directory server instance, the version of DB2® used to create the instance is determined by the value specified in the ldapdb.properties file in the installpath\etc directory (installpath is the path where you installed Tivoli® Directory Server 6.3). If you install a newer supported DB2 level after installing Tivoli Directory Server and you want a newly created instance to use the new version of DB2, you must update this file.
When a full directory server instance is created, an ldapdb.properties file is also created for that instance. This ldapdb.properties file is stored with the files of the instance.
If you have installed a newer version of DB2 and migrated your database instance to the newer version, you must update the ldapdb.properties file associated with that instance.
The ldapdb.properties file has two keywords: currentDB2InstallPath and currentDB2Version. Each keyword is on its own line.
If the example contents of the ldapdb.properties file is as follows (before installing of newer version of DB2):
currentDB2InstallPath=/opt/ibm/db2/V9.1 currentDB2Version=9.1.0
To update the ldapdb.properties file:
# /opt/ibm/db2/V9.7/bin/db2levelExample output is as follows:
DB21085I Instance "myinst1" uses "64" bits and DB2 code release "SQL09071" with level identifier "08020107". Informational tokens are "DB2 v9.7.0.1", "s091114", "IP23035", and Fix Pack "1". Product is installed at "/opt/ibm/db2/V9.7".
Update the ldapdb.properties file. Use the "Install Path" information to update the currentDB2InstallPath field, and the "Level" information to update the currentDB2Version field. Using the example, you would change the contents of your ldapdb.properties file to the following:
currentDB2InstallPath=/opt/ibm/db2/V9.7 currentDB2Version=9.7.0.1
[ Top of Page | Previous Page | Next Page ]