Oracle10g Transparent Gateway for MS SQL – sample config.
A short memo about Oracle TG installation with sample configuration.
DirectoryPaths, hostnames, sid and account names are not real and as such do not reflect real production environment!
######################################### MS SQL Server: MSSQLHOST MS SQL Database: MSSQLPROD Oracle Transparent Gateway for 10g was installed on MSSQLHOST in home E:\ORACLE\ORA10TG and patched to 10.2.0.4. ######################################### ######################################### Listener.ora configuration on MSSQLHOST: ######################################### SID_LIST_LISTENER = (SID_LIST = (SID_DESC = (SID_NAME = ORATG) (ORACLE_HOME = E:\ORACLE\ORA10TG) (PROGRAM = tg4msql) ) ) LISTENER = (DESCRIPTION_LIST = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = MSSQLHOST)(PORT = 1521)) (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0)) ) ) ############################################## C:\ORACLE\ORA10TG\tg4msql\admin\initORATG.ora ############################################## # This is a sample agent init file that contains the HS parameters that are # needed for the Transparent Gateway for SQL Server # # # HS init parameters # HS_FDS_CONNECT_INFO=MSSQLHOST.MSSQLPROD <- MS SQL Database #HS_FDS_TRACE_LEVEL=DEBUG HS_FDS_TRACE_LEVEL=OFF HS_FDS_RECOVERY_ACCOUNT=MSSQLPROD_RECOVERY <- OracleTG Recovery account HS_FDS_RECOVERY_PWD=pwdpwd HS_FDS_TRANSACTION_LOG=PROD_TRANSACTION_LOG HS_FDS_TRANSACTION_MODEL=COMMIT_CONFIRM # HS_FDS_TRANSACTION_MODEL=READ_ONLY # HS_FDS_TRANSACTION_MODEL=TWO_PHASE_COMMIT # HS_FDS_TRANSACTION_MODEL=SINGLE_SITE HS_COMMIT_POINT_STRENGTH=0 ############################################### ################################## TNSNAMES.ORA entry at Oracle side: ################################## MSSQLPROD = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP) (HOST = mssqlhost) (PORT = 1521) ) ) (CONNECT_DATA = (SID = oratg) ) (HS = OK) ) ##################################
Posted on 02.10.2008, in Oracle and tagged oracle. Bookmark the permalink. Comments Off on Oracle10g Transparent Gateway for MS SQL – sample config..