Run SQL scripts to update IBM® Connections 5.5 or
5.5 CR1 database schemas to CR2 in an existing IBM
WebSphere® Application Server and Oracle database
environment.
Before you begin
Before applying updates, back up your
databases. For more information, see Backing up IBM Connections.
Ensure that you have installed and configured all supporting
software for version 5.5.
About this task
This topic describes how to update IBM Connections 5.5
databases to CR1
Notes:
- After you run each command, examine the output of the command
for error messages. If you find errors, resolve them before continuing
with the update process.
- To improve readability, some commands and file paths in this topic
are displayed on separate lines. Ignore these formatting conventions
when you enter the commands.
To
update databases manually, complete the following steps:
Procedure
-
From the 5.5 package, copy the 55cr2-database-updates.zip file to a
temporary directory on your database server.
-
Extract the SQL scripts pertinent to your version and database platform, preserving the folder
structure.
- Log in
to the WebSphere Application
Server Integrated Solutions Console on your Deployment Manager.
- Go to .
- Stop
all IBM Connections applications.
- Ensure that the Oracle driver on your system has the same
version number as your Oracle database server.
- Change to the folder where the SQL scripts were extracted
for your version of Connections and the database product you are using.
If you preserved
the folder structure of the
.zip file, the SQL
scripts are organized by version number.
- Scripts for updating 5.5 databases are in the
55cr1-database-updates\From-55 folder.
-
Skip this step if you are updating databases from 5.5 CR1 to CR2.
If you are updating databases from 5.5, navigate to the oracle folder from
the 55cr2-database-updates\From-55 folder.
-
For each application, enter the following command and then run the appropriate scripts:
sqlplus /as sysdba
Note: To capture the output of each command to a log file, run the following commands before
starting this task:
sql> spool on
sql> spool
output_file
where output_file is the full
path and name of the file where the output is captured.
When you have completed this task, run
the following command: sql> spool off
-
Enter the following commands one at a time to update the Homepage, Activities, Files, Mobile,
and Wikis databases to 5.5 CR2:
@55-CR1-homepage-oracle.sql
@55-CR2-activities-oracle.sql
@55-CR2-files-oracle.sql
@55-CR2-homepage-oracle.sql
@55-CR2-mobile-oracle.sql
@55-CR2-wikis-oracle.sql
- Skip this step and go to What to do next if
you updated your databases from 5.0 in the previous step.
If you are updating databases from 5.5 CR1, navigate to the oracle folder
from the 55cr2-database-updates\From-55 CR1 folder.
- For each application, enter the following command and
then run the appropriate scripts:
sqlplus
/as sysdba
Note: To capture the output of each command
to a log file, run the following commands before starting this task:
sql>
spool on
sql> spool output_file
where output_file is
the full path and name of the file where the output is captured.
When
you have completed this task, run the following command: sql>
spool off
-
Use these scripts to update the Activities, Files, Homepage, Mobile, and Wikis databases to 5.5
CR2:
@55-CR2-activities-oracle.sql
@55-CR2-files-oracle.sql
@55-CR2-homepage-oracle.sql
@55-CR2-mobile-oracle.sql
@55-CR2-wikis-oracle.sql
What to do next
Check
that all the databases are working correctly.