Uninstalling mod packs and fix packs

After installing a mod pack or fix pack, you can revert to a previous fix pack or the GA level of the Db2® database product.

On Linux® and UNIX operating systems, you can go back to an earlier fix pack or the GA level.

On Windows operating systems, you cannot go back to a previous fix pack or the GA level unless you uninstall the current fix pack, then install the previous level.

Procedure

Follow these steps if the mod pack or fix pack overwrote the original installation location:

  1. On Linux or UNIX operating systems, to uninstall a mod pack or fix pack, use the installFixPack command with the force option (-f) to bypass the level check. The command must be run from the lower level mod pack, fix pack, or GA image. For example:
    ./installFixPack -f level -b DB2DIR
    where
    • DB2DIR is the location of the Db2 database product that you want to force to a lower level mod pack, fix pack, or GA image. For example:
      ./installFixPack -f level -b /opt/ibm/db2/V12.1
  2. On Windows operating system, to uninstall a mod pack or fix pack, use the Add/Remove Programs window, accessible through the Windows Control Panel. Refer to your operating system's help for more information about removing software products from your Windows operating system.
  3. Associate the instance with another Db2 copy that is at a lower level than the original Db2 copy where the instance was running. You can update all instances by issuing db2iupdt -f level from the new directory.

Follow this step if the mod pack or fix pack is installed on a separate directory:

  1. On Linux or UNIX operating systems, to uninstall a mod pack or fix pack, use the db2iupdt command with the force option (-f) to bypass the level check. For example:
    DB2DIR/instance/db2iupdt -f level instanceName
    Where DB2DIR is in the previous mod pack or fix pack location.
Notes:
  • Before you uninstall the current mod pack or fix pack, remove or uninstall any functionality that does not apply to the earlier mod pack, fix pack, or the GA level. After you uninstall the mod pack/fix pack, static packages must be rebound. If you ran db2updv121 on the current level, you need to run db2updv121 -a after moving to a lower level.
  • If the current mod pack or fix pack includes fallback-incompatible features and you have explicitly enabled any of them via a registry variable, you will need to restore the database from the backup taken before the mod pack or fix pack was installed.