Upgrade a DB2 external runtime database (for appliance versions earlier than 9.0.0.0)
If DB2 is the external runtime database, upgrade it after you install the appliance upgrade so that we are using the correct .sql file version. Attention: Use this task only if we have not installed v9000. The updates to the .sql file for each release are not cumulative. Therefore, depending on which version of the isam_access_control_db2_update_v*.sql file you installed, make the following updates:
- v8004.sql not installed: First upgrade to v8004, then to v8005, and finally to v9000.
- v8004.sql is installed: Upgrade to v8005 and then to v9000.
- v8005.sql is installed: Upgrade to v9000.
Use this task to install each version we require, replacing references to isam_access_control_db2_update_v9000.sql with the version number we are upgrading to each time, and starting with the earliest version we require.
Steps
- Log in to the local management interface.
- Click System > File Downloads.
- Expand access_control > database > db2 > runtime.
- Select isam_access_control_db2_update_v9000.sql
- Click Export.
- Save the file.
- Open the isam_access_control_db2_update_v9000.sql file in an editor on the DB2 server.
- Replace the following macros with the values specific to the environment:
- &DBINSTANCE
- The name of the DB2 instance.
- &DBUSER
- The name of the DB2 administrator.
- &DBPASSWORD
- The password for the DB2 administrator.
- Save the changes.
- Log in to the DB2 Command utility (Windows) or DB2 host (UNIX) as the DB2 administrator.
- Run the following command:
db2 -tsvf fully_qualified_path_to_scriptThe following example shows the fully qualified path to the script:db2 -tsvf tmp/isam_access_control_db2_update_v9000.sql
- Validate the tables were successfully updated.
- Ensure that no errors were returned during the update and log in to the database to manually check the tables exist.
Parent topic: Upgrade configuration