Oracle Audio Technologies B31679-01 User Manual

Page 113

Advertising
background image

Data Store Upgrades

105

release data store using

ttMigrate

from the newer release, and then

reconnecting all applications to the upgraded data store.

Note: The

ttMigrate

-r -rename

option, used to rename the owner of

data store tables, cannot be used with online upgrades.

The general steps in an online upgrade include:

• Disconnect all applications from the data store to be upgraded.

• Shut down replication on the system being upgraded.

• Back up the data store residing on the system being upgraded using

the older release’s

ttMigrate

with the -c option.

• Install the newer release of TimesTen on the system being upgraded.

• Restore the replicated data store on the system being upgraded using

the newer release’s

ttMigrate

with the -r option.

• Reconnect all applications to the upgraded data store.

• Restart replication on the upgraded system.

Note: After

ttMigrate

has been used, all autorefresh cache groups in

the upgraded data store have AUTOREFRESH STATE set to OFF, no
matter how it was set on the data store prior to the upgrade. Reset
AUTOREFRESH STATE to ON by using the

ALTER CACHE GROUP

statement.

To maintain continuous availability, applications will continue to run on
one copy of the data store while the upgrade is performed on the
disconnected copy of the data store. TimesTen replication retains
updates made to the active copy of the data store during the upgrade
period and then transfers and applies the updates to the upgraded data
store when replication is restarted. When the replicated updates have
been completely applied, the applications may be reconnected to the
upgraded data store.

This timeline illustrates the steps for performing an online upgrade
while replication is running, where the upgrade system is the system on
which the data store upgrade is being performed, and the active system
is the system containing the data store that the application will remain
connected to:

Step

Upgrade System

Active System

1.

Configure replication to replicate to
the active system using static ports.

Configure replication to replicate to
the upgrade system using static ports.

Advertising