Oracle 11.2.0.4 配置 Gateway for Microsoft SQL Server 11.2

Oracle 11.2.0.4 配置 Gateway for Microsoft SQL Server 11.2

  • 环境
  • 安装过程(略)
  • 配置文件
    • Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.115)(PORT=1521)) STATUS of the LISTENER

环境

操作系统:CentOS 6.10 64 bit
数据库:Oracle 11.2.0.4 64 bit
软件:Gateway for Microsoft SQL Server

安装过程(略)

参考https://www.docin.com/p-1701384031.html

配置文件

ORACLE_HOME:
[oracle@ORA 11.2.0.4]$ echo $ORACLE_HOME
/u01/oracle/product/11.2.0.4

监听文件:
[oracle@ORA 11.2.0.4]$ lsnrctl status

LSNRCTL for Linux: Version 11.2.0.4.0 - Production on 27-AUG-2019 14:26:50

Copyright © 1991, 2013, Oracle. All rights reserved.

Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.115)(PORT=1521))
STATUS of the LISTENER

Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.4.0 - Production
Start Date 20-AUG-2019 14:42:09
Uptime 6 days 23 hr. 44 min. 40 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/oracle/product/11.2.0.4/network/admin/listener.ora
Listener Log File /u01/oracle/diag/tnslsnr/ORA/listener/alert/log.xml

Gateway for Microsoft SQL Server安装路径:
/u01/oracle/product/11.2.0.4/tg_1

配置文件及内容(忽略注释)
/u01/oracle/product/11.2.0.4/network/admin/listener.ora
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = sid_name1)
(ORACLE_HOME = /u01/oracle/product/11.2.0.4/tg_1)
(PROGRAM = dg4msql)
)
)

LISTENER =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = tcp)(HOST = 192.168.0.115)(PORT = 1521))
)

ADR_BASE_LISTENER = /u01/oracle

/u01/oracle/product/11.2.0.4/network/admin/tnsnames.ora
sid_name2 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.115)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = sid_name2)
)
)

sid_name3 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.197)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = ATRAC)
)
)

sid_name1 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.115)(PORT = 1521))
(CONNECT_DATA =
(SID=sid_name1)
)
(HS=OK)
)

/u01/oracle/product/11.2.0.4/tg_1/network/admin/listener.ora
LISTENER_GATEWAY =
(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.115)(PORT=1522))
)

ADR_BASE_LISTENER = /u01/oracle

SID_LIST_LISTENER_GATEWAY=
(SID_LIST=
(SID_DESC=
(SID_NAME=sid_name1)
(ORACLE_HOME=/u01/oracle/product/11.2.0.4/tg_1)
(PROGRAM=dg4msql)
)
)

你可能感兴趣的:(数据库-oracle)