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:
- 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:
- 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
- Delete the TADDM installation directory. The default location is /opt/IBM/taddm.
- Restore the server files, using the backup you created
before the upgrade.
- Go to the /opt/IBM directory.
- Rename the current installation directory to cmdb.bak.
- Extract the backup files. For example, use the following command:
tar -xvf cmdb.tar
- 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
chown taddmusr:taddmusr /opt/ibm/taddm/dist
- Restore the database. To restore a DB2® database, follow these steps:
To restore an Oracle or DB2 for z/OS® database, refer to the database software documentation for instructions.
- Log in as the DB2 database instance owner (for example, db2inst1).
- Run the following command:
where cmdb is the name of your database.
db2 restore database cmdb
- Start the TADDM server.