
Data Store Upgrades 111
6. Use ttMigrate to back up the data
store
upgrade. If the data store is
very large, this step could take a
significant amount of time. If
sufficient disk space is free on the
/backup
file system, the following
ttMigrate command can be used:
ttMigrate -c DSN=upgrade
/backup/upgrade.dat
7. If the ttMigrate command is
successful, destroy the data store
upgrade.
To destroy a permanent data store
(Temporary=0), use ttDestroy:
ttDestroy upgrade
To destroy a temporary data store
(Temporary=1), use ttAdmin:
ttAdmin -ramUnload upgrade
Note: You can delay destroying the
old data store
upgrade until the
migration into the new TimesTen
version is successful. However, the
replication agent on both data stores
must remain stopped and
active-to-
upgrade replication on the data store
active must be remain in the pause
state.
Restart the replication agent on the
data store
active:
ttAdmin -wait -repStart active
8. Install the new release of TimesTen. Resume replication from active to
upgrade by setting the replication
state to
start:
ttRepAdmin -connStr DSN=active
-receiver -name upgrade
-start start
Step Upgrade System Active System