with TimesTen Application-Tier Database Cache and Clusterware
An Active Standby Pair configuration includes an active database, a standby database, and optional read-only subscriber databases. The standby database uses Oracle TimesTen Replication to receive the changes from the active database and forwards the changes to optional read-only subscriber databases.
Oracle Clusterware is a general purpose cluster manager that manages and monitors the availability of software components that participate in a cluster. TimesTen Cache is integrated with Oracle Clusterware via the ttCWAdmin utility. When a customer chooses to use Oracle Clusterware with TimesTen Cache, the failover and restart of Active Standby Pairs of databases are handled automatically. In addition, Oracle Clusterware may be used to manage the actual applications that use TimesTen Cache.
Installing Oracle Clusterware and TimesTen Application-Tier Database Cache
1. | Install Clusterware | Oracle Clusterware 11.2.0.2 is required. |
2. | Install TimesTen Application-Tier Database Cache (TimesTen Cache) | Oracle TimesTen In-Memory Database 11.2.2 is required. |
Follow the example below to install Oracle Clusterware and TimesTen Cache as described in the tasks above:
Installing Oracle Clusterware and TimesTen example
Configuring an Active Standby Pair for Clusterware and TimesTen Cache
Follow the example to configure an active standby pair with TimesTen Cache and Oracle Clusterware using the configuration
steps described above:
Configuring an Active Standby Pair with TimesTen Cache
and Clusterware example
Managing the Active Standby Pair for Clusterware and TimesTen Cache
1. | Get cluster agents' status | Find the status of the active standby pair via the ttCWAdmin -status command on any host in the cluster. |
2. | Stop Active Standby Pair | Stop the active standby pair via the ttCWAdmin -stop command on any host in the cluster. |
3. | Drop Active Standby Pair | Drop the active standby pair via the ttCWAdmin -drop command on any host in the cluster. Note: Remember to always stop and drop the Active Standby Pair before dropping their cache group(s). |
Follow the example below to manage an active standby pair with TimesTen Cache and Oracle clusterware using the
configuration steps described above:
Managing an Active Standby Pair
with TimesTen Cache and Clusterware example
The following documentation link
covers more admin tasks.
Automatic failover and restart for Active Standby Pairs and user applications
The following links describe how Oracle Clusterware is used to failover and restart Active Standby Pairs and user applications.
The following viewlet shows failover and failback of a user application and its corresponding Active Standby Pair and with Oracle Clusterware.