Configuring Connections for Extract and Replicat Processes
Extract and Replicat require a dedicated server connection in the
      tnsnames.ora file.
               
Before you begin, make sure that there is a dedicated user on the Oracle database side, with the required privileges. See Grant User Privileges for Oracle Database for Oracle GoldenGate Classic Architecture.
On the Oracle GoldenGate side, you direct the Extract and Replicat processes to use
        these connections by specifying the values for USERID or
          USERIDALIAS parameter in the Extract and Replicat parameter files. 
                  
The following are the security options for specifying the connection string in the Extract or Replicat parameter file.
Credential store method:
USERIDALIAS ggeastIn the case of USERIDALIAS, the alias ggeast is
        stored in the Oracle GoldenGate credential store with the actual connection string. The
        following example uses the INFO CREDENTIALSTORE command to display the
        details of the credentials configured in Oracle GoldenGate:
                  
INFO CREDENTIALSTORE DOMAIN OracleGoldenGateOutput:
Domain: OracleGoldenGate
  Alias: ggeast
  Userid: ggadmin@dc1.example.com:1521/DBEAST.example.comSetting up a Bequeath connection
Oracle GoldenGate can connect to a database instance without using
        the network listener if a Bequeath connect descriptor is added in the
          tnsnames.ora. 
                  
The following example shows the configuration for connecting to a database using Bequeath connect descriptor:
dbbeq =  (DESCRIPTION=   
      (ADDRESS=(PROTOCOL=beq)     
          (ENVS='ORACLE_SID=sales,ORACLE_HOME=/app/db_home/oracle,LD_LIBRARY_PATH=/app/db_home/oracle/lib')     
          (PROGRAM=/app/db_home/oracle/bin/oracle)     
      (ARGV0=oraclesales)     
      (ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))'))   
        (CONNECT_DATA=(SID=sales))) In this example:
/app/db_home is the target Oracle database installation directory
                  
sales is the database service name
                  
ORACLE_SID, ORACLE_HOME, and
          LD_LIBRARY_PATH in the ENVS parameter refers to the
        target. 
                     Note:
Make sure that there is no white space between these environment variable settings.