Skip Navigation Links | |
Exit Print View | |
![]() |
Oracle Solaris Cluster Data Service for Oracle TimesTen Guide Oracle Solaris Cluster |
1. Installing and Configuring HA for TimesTen
A. HA for TimesTen Extension Properties
B. Deployment Example: Installing HA for TimesTen in a Failover Configuration
C. Deployment Example: Installing HA for TimesTen in an Active-Active Configuration
Installing and Configuring HA for TimesTen on Local Storage
Example: Preparing the Cluster for HA for TimesTen
Example: Installing TimesTen Software on Local Storage
Example: Enabling TimesTen Software to Run in the Cluster
D. Deployment Example: Installing HA for TimesTen in a Scalable Subscriber Configuration
This procedure defines the TimesTen replication.
On both nodes, add the following lines to the /timesten/TimesTen/info/sys.odbc.ini file.
[active] DataStore=/timesten/data/active PermSize=64 DatabaseCharacterSet=WE8MSWIN1252
zone1$ ttIsql active Command> create table t1 (col1 integer not null, col2 varchar(30), primary key (col1)); Command> CREATE REPLICATION repscheme1 > ELEMENT complete DATASTORE > MASTER active on "zone2" > subscriber active on "zone1"; Command> CREATE REPLICATION repscheme2 > ELEMENT complete DATASTORE > MASTER active on "zone1" > subscriber active on "zone2"; Command> CALL ttRepStart; Command> create user repl identified by 'repl'; Command> grant admin to repl;
zone2$ ttRepAdmin -duplicate -from active \ > -host zone1 -uid repl -pwd repl "dsn=active" zone2$ ttIsql -e "call ttrepstart;exit;" active
zone1$ ttAdmin -repPolicy always active zone2$ ttAdmin -repPolicy always active