Configuring ODBC on Linux
The following steps provide minimum settings required to connect Oracle GoldenGate processes. For more detailed information on the Oracle TimesTen Client and Server configuration and information, review the following Oracle TimesTen documentation:
https://docs.oracle.com/database/timesten-18.1/TTOPR/client_server.htm#TTOPR177
-
Edit the
$TIMESTEN_HOME/conf/sys.odbc.inifile.vi $TIMESTEN_HOME/conf/sys.odbc.ini -
Describe the data source in the template file. In the following example,
TTCS_181is used as the client name for whichDBLOGINandSOURCEDBandTARGETDBare used to connect to the database.[ODBC Data Sources] TTCS_181=TimesTen 18.1 Client Driver -
Set a logical server name for
TTC_SERVERand use the server DSN value for theTTC_SERVER_DSNentry. The value of theTTC_SERVER_DSNmust match the database specific server DSN that exists in the database server’ssys.odbc.inifile.[TTCS_181] TTC_SERVER=ttRemoteDBServer_TT_181 TTC_SERVER_DSN=ttDatabaseDSN -
Edit the
$TIMESTEN_HOME/conf/sys.ttconnect.inifile with the settings described in these steps.vi $TIMESTEN_HOME/conf/sys.ttconnect.ini -
Create an entry of the same logical server name that was used as the value of
TTC_SERVERwithin thesys.odbc.inifile. In this example,ttRemoteDBServer_TT_181is the entry name. Include an optional description value, and the requiredNetwork_AddressandTCP_PORTvalues that point to the Oracle TimesTen database server and port.[ttRemoteDBServer_TT_181] Description=TimesTen ServerNetwork_Address=server.company.com TCP_PORT=6625 -
From the Oracle GoldenGate directory on the target, verify the connection settings by running GGSCI and issuing the
DBLOGINcommand to log into the target database.DBLOGIN SOURCEDB database, USERID db_user [, PASSWORD pw [encryption options]]In this example:-
SOURCEDBdatabase specifies the new Data Source Name. -
USERID db_user,PASSWORD pware the Replicat database user profile and password. -
encryption optionsis optional password encryption
-