Oracle Upgrade¶
Table of Contents
Introduction¶
This document includes the upgrade steps for Oracle.
Upgrade Software Installation¶
Important
The software installation must be upgraded on all servers where Gluent Data Platform is installed.
Perform the following actions as the owner of the existing Gluent Data Platform installation.
Backup Existing Software¶
Source the Gluent Data Platform environment file and run backup commands:
$ . <OFFLOAD_HOME>/conf/offload.env
$ cd $OFFLOAD_HOME/..
$ for f in offload/conf/{offload.env,datad.conf,datad.properties,*.xml,*.key}; do [ ! -f $f ] || cp $f .; done
$ mv offload offload.$(date +%Y.%m.%d_%H.%M.%S)
Unpack New Software¶
Unpack the install tarball (gluent_offload_<version>.tar.bz2
):
Note
When unpacking, an offload
directory will be created if it does not exist. The offload
directory is referred to as <OFFLOAD_HOME> and an environment variable ($OFFLOAD_HOME
) will be set when offload.env
is sourced.
$ cd <Gluent Data Platform Base Directory>
$ tar xpf <Gluent Data Platform Installation Media Directory>/gluent_offload_<version>.tar.bz2
Restore Configuration Files¶
Copy configuration files into new $OFFLOAD_HOME
:
$ for f in {offload.env,datad.conf,datad.properties,*.xml,*.key}; do [ ! -f $f ] || cp $f offload/conf; done
Oracle Database Actions¶
Note
The database actions need only be performed on one Oracle server.
Perform the following actions as the owner of the existing Gluent Data Platform installation.
Move to the setup directory:
$ cd $OFFLOAD_HOME/setup
Connect to the database as an appropriately privileged account and run upgrade_offload.sql
as shown below.
SQL> @upgrade_offload.sql