Moving from Text Information Extender Version 7.2 to Net Search Extender Version 8.1.x

Migrate your DB2 instance from Version 7.2 to Version 8.1.x using the DB2 tool db2imgr to begin with, followed by db2iupdt, for both UNIX and Windows. For example:

db2imigr -u <fenced userid> <instance name>
db2iupdt -u <fenced userid> <instance name>

Then migrate all your databases of this instance using the DB2 command migrate and the new db2extmdb tool. For example:

db2 migrate database <database name>
db2extmdb <database name>

The caller must be the instance owner.

The program db2extmdb gathers all db2ext administration information relevant for migration into a new table, called DB2EXT.TMIGRATION. In the table, each text index is represented as a single one row. The migration information table will persist until the database has been migrated successfully and should not be dropped by the user.

If an error occurs, fix the error and call db2extmdb again.

During migration of the text index, different processing occurs. This depends on the state of the 'log-table'. If the log table is empty, the index will be migrated, which should be the fastest way. If the log table is not empty, a consistent state with the database can not be ensured and the index needs to be re-created. This process can take a considerable amount of time.

While the migration is running, no changes to user tables with text indexes should be done.

Recommendation

Before calling the db2extmdb program, the user should take a backup of all index directories, the database, and has verified that all document model files used for creation of the version 7.2 text indexes still exist and are accessible for reading.

After DB2 instance migration, the previous sqllib directory is renamed to sqllib_v71. If you have text indexes stored on the default index directory, move the sqllib_v71/db2ext/indexes directory to the new sqllib directory, sqllib/db2ext/indexes.

Notes and recommendations

The migration steps are logged in the following file:

<os-dependent>/sqllib/db2ext/db2extm <database-name>.log

For HP-UX or Linux, this step is not necessary as Text Information Extender is not available on these platforms.

Also note that DB2 Text Information Extender Version 7.2 is no longer available.