About Bringing Up One Database
This section assumes you have manually repaired or have manually performed maintenance on one of the databases associated with the TimesTenClassic object. The TimesTenClassic object is currently in the ManualInterventionRequired
state. You now want to direct the Operator to treat the repaired database as the active, to perform the necessary steps to duplicate this database to the standby, and to bring up both databases, such that both are running and operating successfully.
Recall that all of these conditions must be met for the database:
-
TimesTen agent in the container is running.
-
TimesTen daemon (the instance) in the container is running.
-
TimesTen database is loaded.
-
There is no replication scheme in the database.
-
The replication agent is not running.
-
The replication state is
IDLE
.
These sections show you how to verify the conditions are met for the database and how to set the reexamine
value:
Verify Conditions Are Met for the Database
Perform these steps to ensure the conditions are met for the database (the database to be the active). In this example, sample-1
will be the new active.
Note: These steps require you to use TimesTen utilities and TimesTen built-in procedures. See Utilities and Built-In Procedures in the Oracle TimesTen In-Memory Database Reference for details.
You have successfully verified the conditions for the database. The database is up and running. The Operator will treat this database as the active. You are now ready to set the value for the .spec.ttspec.reexamine
datum.
Set the reexamine Value
This example shows you how to set the reexamine
value in the TimesTenClassic object definition (sample
, in this example). The example also illustrates the action the Operator takes after the reexamine
value has been changed.
The Operator is now managing and monitoring your TimesTenClassic object. The TimesTenClassic object is in the Normal
state. Both databases are up and running and ready for use.