Rolling back the upgrade on a Linux or UNIX system

Follow these steps to roll back a server upgrade on a Linux® or UNIX system.

Note: These instructions assume the default installation location. If you used a different location when installing and upgrading your server, substitute that path for the paths specified in this task.

To roll back a server upgrade on a Linux or UNIX system, complete the following steps:

  1. Stop the server.
    To stop the server, log in with the user ID that was specified as the owner of the installation when the software was installed. Go to the $COLLATION_HOME/bin directory. Enter the following command:
    ./control stop
  2. If all of the Java™ processes do not stop after you enter the ./control stop command and wait an appropriate amount of time for the processes to shut down, use the process ID information that is provided by the ps command to identify and stop the running Java processes related to TADDM:
    ps -ef | grep java
  3. Delete the TADDM installation directory.
    The default location is /opt/IBM/taddm.
  4. Restore the server files, using the backup you created before the upgrade.
    1. Go to the /opt/IBM directory.
    2. Rename the current installation directory to cmdb.bak.
    3. Extract the backup files.
      For example, use the following command:
      tar -xvf cmdb.tar
  5. Use the following command to change file ownership to non-root (run as user):
    chown non-root_user_ID: non-root_user_group collation_home

    For example, chown taddmusr:taddmusr /opt/ibm/taddm/dist

  6. Restore the database.
    To restore a DB2® database, follow these steps:
    1. Log in as the DB2 database instance owner (for example, db2inst1).
    2. Run the following command:
      db2 restore database cmdb
      where cmdb is the name of your database.
    To restore an Oracle or DB2 for z/OS® database, refer to the database software documentation for instructions.
  7. Start the TADDM server.