Preparing for Database Rolling Upgrades Using Oracle Data Guard
If you perform your upgrade using Oracle Data Guard to carry out a rolling upgrade, then you must move the Data Guard broker configuration files before starting your upgrade.
The default location for the DB_BROKER_CONFIG
files is in the
dbs
directory in the earlier release Oracle Database Oracle home.
When you perform a rolling upgrade of database instances using Oracle Data Guard, you
must move the DG_BROKER_CONFIG
files to a mount point location outside
of the earlier release Oracle home. Also ensure that the
DG_BROKER_CONFIG_FILE
n parameters
specify that location, instead of a location in the earlier release Oracle home. During
database upgrade, don't migrate the listener. After the upgrade is complete, stop the
listener, shut down the database, copy over the listener.ora
and
tnsnames.ora
from the earlier source Oracle Database release
environment to the new Oracle Database release environment, and start the listener and
database
Tasks Before Starting Your Upgrade
To enable access to the DB_BROKER_CONFIG
files during a rolling
upgrade, you must complete the following tasks before starting the upgrade
- Before you start the upgrade, set the Oracle Data Guard files
DG_BROKER_CONFIG_FILE1
andDG_BROKER_CONFIG_FILE2
to a separate mount point on your server that is outside of the Oracle home path for either the source or target Oracle Database Oracle homes. - Complete a successful upgrade of your earlier release Oracle home to the new Oracle Database release.
Tasks During the Upgrade
Do not migrate the listener during the upgrade.
Oracle recommends that you use AutoUpgrade to complete the upgrade. See:
Tasks After Completing Your Upgrade
- Stop the listener for the new release Oracle Database.
- Shut down the new release Oracle Database.
- Copy over the
listener.ora
andtnsnames.ora
files from the earlier release Oracle Database to the new release Oracle Database. - Start the listener and new release Oracle Database
Refer to Oracle Data Guard Broker for information about moving your Data Guard broker configuration files.
Related Topics
Parent topic: Preparing to Upgrade Oracle Database