When you upgrade IBM® Spectrum Symphony, you must also update the
database schema. If you use a SQL Server 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 for the database. This driver is available from this URL:
http://msdn2.microsoft.com/en-us/data/aa937724.aspx.
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 SqlServer/Patch subdirectory. For
example, if you extracted the scripts to sym_temp, run:
cd sym_temp/version_number/DBschema/SqlServer/Patch
-
For each of the scripts you require, run the following command to update the database
schema:
osql -U user_name -P password -d db_name -i update_script
where:
- user_name is the user name on the database server.
- password is the password for this user name on the database server.
- db_name is the reporting database name.
- update_script is the name of the update script.
-
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