Oracle Audio Technologies B31679-01 User Manual
Page 117
Data Store Upgrades
109
Follow the steps listed here in the order they are presented. The online
upgrade procedures are:
Step
Upgrade System
Active System
1.
Use
ttIsql
to alter the replication
scheme
repscheme
, setting static
replication port numbers so that the
data stores can talk across releases:
Command> call ttRepStop;
Command> ALTER REPLICATION
repscheme
ALTER STORE upgrade ON
upgradehost
SET PORT 40000
ALTER STORE active ON
activehost
SET PORT 40001;
Command> call ttRepStart;
Use
ttIsql
to alter the replication
scheme
repscheme
, setting static
replication port numbers so that the
data stores can talk across releases:
Command> call ttRepStop;
Command> ALTER REPLICATION
repscheme
ALTER STORE upgrade ON
upgradehost
SET PORT 40000
ALTER STORE active ON
activehost
SET PORT 40001;
Command> call ttRepStart;
2. Disconnect
all
production
applications connected to the data
store. Any workload being run on the
upgrade system must start running on
the active system instead.
Use the
ttRepAdmin
utility to pause
replication from the data store
active
to the data store
upgrade
:
ttRepAdmin -connStr DSN=active
-receiver -name upgrade
-state pause
This command temporarily stops the
replication of updates from the data
store
active
to the data store
upgrade
, but it retains any updates
made to
active
in the data store log
files. The updates made to
active
during the upgrade procedure are
applied later, when
upgrade
is
brought back up. For details on setting
the replication state, see
"Setting the
replication state of subscribers"
in
Chapter 4
of the
TimesTen to TimesTen
Replication Guide
.