When you upgrade IBM® Spectrum Symphony, you must also update the
database schema. If you use an Oracle database, follow these steps. Obtain the corresponding
database update scripts and update the database schema before you update the cluster. Complete the
database upgrade in a staged process; for example, to upgrade from 5.1, upgrade from 5.1 to 6.1,
then from 6.1 to 7.1.
Before you begin
Before updating the database, ensure the following:
- The database is properly configured and running.
- You have a user name, password, and URL to access the database server. You can create triggers,
sequences, tables, and stored procedures with this access.
- You installed the latest JDBC driver (ojdbc14.jar or newer) for the
database. This driver is available from this URL: http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/index.html.
- You are able to run sqlplus.
Procedure
-
For a typical IBM Spectrum Symphony cluster that consists of IBM Spectrum Symphony and EGO components, use the
following list to determine the packages that suit your business needs:
Note: Between product release, there are not always schema updates. Use the appropriate database
upgrade scripts for the product versions to which you upgrade.
Note:
- The database update script backs up the TASK_ATTRIBUTES database
table as a temporary table (called TASK_ATTRIBUTES_ORG), and then creates a new TASK_ATTRIBUTES
partition table. Drop this temporary table if it will not be used in the future.
If you want to view the original
TASK_ATTRIBUTES data report, update the report SQL statement to include a union statement for the
renamed database table (TASK_ATTRIBUTES_ORG). For
example:
SELECT SUBMIT_TIME, SESSION_ID, TASK_ID, APP_NAME from TASK_ATTRIBUTES UNION ALL SELECT SUBMIT_TIME, SESSION_ID, TASK_ID, APP_NAME from TASK_ATTRIBUTES_ORG;
- There are no schema updates for IBM Spectrum Symphony 7.3.2; you can use the IBM Spectrum Symphony
database schema from your previous version of IBM Spectrum Symphony.
-
Stop the loader controller service:
-
Extract the database update scripts to any directory.
-
In the command console, change to the Oracle/Patch subdirectory. For
example, if you extracted the scripts to sym_temp, run:
cd sym_temp/version_number/DBschema/Oracle/Patch
-
For each of the scripts you require, run the following command to update the database
schema:
sqlplus user_name/password@connect_string@update_script data_tablesspace index_tablespace
where:
- user_name is the user name on the database server.
- password is the password for this user name on the database server.
- connect_string is the named SQLNet connection for this database.
- update_script is the name of the update script.
- data_tablesspace is the name of the IBM Spectrum Symphony database table space.
- index_tablespace is the name of the IBM Spectrum Symphony database index table
space.
-
Restart the loader controller service:
-
Copy the JDBC driver to the following directories:
- Windows:
- Installation_top\gui\EGO_version\lib
-
Installation_top\perf\EGO_version\lib
- Linux:
-
$EGO_TOP/gui/EGO_version/lib
-
$EGO_TOP/perf/EGO_version/lib