C Oracle Database Net Service

BEQUEATH Protocol

If the connection was done with ORACLE_HOME and ORACLE_SID in the older Oracle GoldenGate release, you have to use a TNS alias or TNS connection descriptor with the unified build. Connection using BEQ are available on TNS.
inst1_beq= (DESCRIPTION=(ADDRESS=(PROTOCOL=beq) 
  	(ENVS='ORACLE_SID=SID,LD_LIBRARY_PATH=ORACLE_HOME/lib,ORACLE_HOME=ORACLE_HOME')                           
  	(PROGRAM=ORACLE_HOME/bin/oracle)
  	(ARGV0=oracleSID)
 	(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))')
        )
    (CONNECT_DATA=(SID=SID))
        ) 
The following example shows the use BEQ protocol:
inst1_beq= (DESCRIPTION=(ADDRESS=(PROTOCOL=beq) 
(ENVS='ORACLE_SID=PROD42,LD_LIBRARY_PATH=/u01/app/oracle/product/21.0.0.0/lib,ORACLE_HOME=/u01/app/oracle/product/21.0.0.0')                           
  	(PROGRAM=/u01/app/oracle/product/21.0.0.0/bin/oracle)
  	(ARGV0=oraclePROD42)
 	(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))')
        )
    (CONNECT_DATA=(SID=PROD42))
        ) 

TWO_TASK Environment Variable

To define a default connect identifier, use the TWO_TASK environment variable on Linux and UNIX platforms or the local environment variable or registry entry on Microsoft Windows.
export TWO_TASK=inst1_beq

In this case, no TNS connection string is needed. If additional environment variables can be provided with the oggca.sh deployment of Oracle GoldenGate.