Before migrating Net Search Extender to DB2® Net Search Extender Version 9.7, you must have successfully migrated your DB2 server and instance (on Linux and UNIX) including all databases to DB2 Version 9.7
Migration to Net Search Extender Version 9.7 is supported from Net Search Extender Version 8, Version 9.1, or Version 9.5. The term pre-Version 9.7 refers to Version 8, Version 9.1, and Version 9.5.
To migrate to DB2 Net Search Extender Version 9.7:
db2 DROP SPECIFIC FUNCTION DB2EXT.DATALINKCONTENT1;
db2 DROP SPECIFIC FUNCTION DB2EXT.DATALINKCONTENT2;
db2 DROP SPECIFIC FUNCTION DB2EXT.DATALINKCONTENT4;
db2 DROP SPECIFIC FUNCTION DB2EXT.DATALINKCONTENT3;
Upgrading your database is part of these tasks. If you have external unfenced routines on Linux or UNIX that have no dependency on the DB2 engine libraries, the UPGRADE DATABASE command redefines your external routines as FENCED and NOT THREADSAFE. See Upgrading C, C++, and COBOL routines for details on how to safely run your routines in the new multithreaded database manager. The Net Search Extender functions with schema name DB2EXT that were altered during the database upgrade are redefined as NOT FENCED and THREADSAFE by the db2extmdb migration script in step 6.
Unlike DB2 database, DB2 Net Search Extender does not support an ‘upgrade installation'.
If your installed DB2 copy was migrated to Version 9.7 by using the DB2 ‘upgrade installation' option, the installed DB2 Net Search Extender copy is still at the previous version level.
If you try to install DB2 Net Search Extender Version 9.7 on top of an earlier version of DB2 Net Search Extender, you receive an error message that the existing DB2 Net Search Extender installation has to be removed first. In this case, uninstall the earlier version of DB2 Net Search Extender before installing DB2 Net Search Extender Version 9.7. On Windows operating systems, reboot the machine after uninstallingDB2 Net Search Extender.
DB2DIR/instance/db2extimigr [-h|-?] InstanceName
Where DB2DIR is the directory where
you installed your DB2 Version 9.7 copy.You must be able to successfully stop or start the Net Search Extender instance services, you need DBADM with DATAACCESS authority on the database to be migrated. On Windows operating systems, the instance user must be part of the Local Administrator group.
On Windows operating systems, you need to proceed from a DB2 command window that is running with full administrative privileges. See User Access Control feature for more details.
On the Windows 2008 and Windows Vista operating system (and later), the db2extmdb command does not work if it is started from a command window running with standard user rights. ("CTE0228 The user has insufficient access rights at the operating system level").
db2extmdb database-name
While you are running this migration script, avoid changing user tables with text indexes. You can repeat the command for every database that has Net Search Extender indexes.
Refer to Backing up and restoring text indexes. Restoring the text index directories is required if you chose a DB2 copy with the upgrade action in the Work with existing window during DB2 Version 9.7 installation or you uninstalled your pre-Version 9.7 DB2 copies after migration.
The text index configuration contains the location of these text index directories before migration. Queries and index administration operations that use these text indexes fail if you do not restore the text index directories.