Oracle Audio Technologies B31679-01 manual

Models: B31679-01

1 130
Download 130 pages 38.83 Kb
Page 117
Image 117
ttRepAdmin -connStr DSN=active -receiver -name upgrade -state pause

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

Use ttIsql to alter the replication

 

scheme repscheme, setting static

scheme repscheme, setting static

 

replication port numbers so that the

replication port numbers so that the

 

data stores can talk across releases:

data stores can talk across releases:

 

Command> call ttRepStop;

Command> call ttRepStop;

 

Command> ALTER REPLICATION

Command> ALTER REPLICATION

 

repscheme

repscheme

 

ALTER STORE upgrade ON

ALTER STORE upgrade ON

 

upgradehost

upgradehost

 

SET PORT 40000

SET PORT 40000

 

ALTER STORE active ON

ALTER STORE active ON

 

activehost

activehost

 

SET PORT 40001;

SET PORT 40001;

 

Command> call ttRepStart;

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.

Data Store Upgrades 109

Page 117
Image 117
Oracle Audio Technologies B31679-01 manual ttRepAdmin -connStr DSN=active -receiver -name upgrade -state pause