Database Conversion

The content of DN columns (DN, DN_TRUNC, and REV_DN) has changed between r12 and r14 and higher. Each of these columns contains a normalized DN. The normalization process removes insignificant differences so that two DNs that might otherwise appear different, but which refer to the same entry, have the same format. The normalization process changed between r12 and r14. The result is that an r14 and later LDAP server cannot access an r12 database; therefore, you must convert the database.
cszscss
The content of DN columns (DN, DN_TRUNC, and REV_DN) has changed between r12 and r14 and higher. Each of these columns contains a
normalized
DN. The normalization process removes insignificant differences so that two DNs that might otherwise appear different, but which refer to the same entry, have the same format. The normalization process changed between r12 and r14. The result is that an r14 and later LDAP server cannot access an r12 database; therefore, you must convert the database.
The table structure of an LDAP DB2 database in r14 and later is identical to the structure in r12.
You can convert an r12 DB2 database using one of the following methods:
  • Dump and restore
Specifies a method of conversion whereby you capture a dump of the r12 database and use it as the basis for the conversion. This is the recommended method.
The dump and restore method lets you use the LDIF file to load either an r12 database or an r14 or later database. This method can also convert an r14 or later database to an r12 database, which may facilitate testing with r14 and later before committing to it.
The dump and restore method may consume significant time and space. If the r12 database that is to be converted is large, you must have sufficient space to hold the LDIF file. It also takes extra time to dump and then restore the data.
  • Update in place
Specifies a method of conversion whereby you directly convert a Version 12 database to a Version 14 or later database.
The primary advantage with the in-place method is speed. Each row of the table is read once and four columns are updated. So, it should require approximately one half the time of the dump and restore method. In addition, this method does not require extra file space to hold a copy of the database.
This method does not let you reverse the conversion, unless you restore a backup copy of the database. After it is converted, an r12 LDAP server can no longer access the database.