Oracle 11g gateways (transparent gateway) configuration, 11 ggateways

Source: Internet
Author: User
Tags mssqlserver

Oracle 11g gateways (transparent gateway) configuration, 11 ggateways

There are two main configuration points::

1.% GATEWAYS_HOME % (transparent gateway installation directory) \ dg4msql \ admin \ initdg4msql. ora

Content:

HS_FDS_CONNECT_INFO = localhost // DATABASENAME
HS_FDS_TRACE_LEVEL = OFF
HS_FDS_RECOVERY_ACCOUNT = RECOVER
HS_FDS_RECOVERY_PWD = RECOVER

Please note that HS_FDS_CONNECT_INFO is configured here, which is the parameter for connecting gateways to the SQL SERVER database, including four parts

1 server address; 2 port; 3 Instance name; 4 Database Name

I have tested that 1 and 4 are required, and 2 and 3 are not required.

Guess: port 1433 can be omitted (not verified)

Strange experience: configuration failed with localhost/MSSQLSERVER/Northwind. If you know the reason, please correct it.

The complete configuration is as follows: localhost: 1433/MSSQLSERVER/Northwind

2.% GATEWAYS_HOME % (transparent gateway installation directory) \ NETWORK \ admin \ listener. ora

Content:

SID_LIST_LISTENER =    (SID_LIST =    (SID_DESC =      (SID_NAME = dg4msql)      (ORACLE_HOME = C:\oracle\gateways)      (PROGRAM = dg4msql)    )  )LISTENER =  (DESCRIPTION_LIST =    (DESCRIPTION =      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))      (ADDRESS = (PROTOCOL = TCP)(HOST = WIN-VV5TMJBQ3LN)(PORT = 1521))    )  )ADR_BASE_LISTENER = C:\oracle\gateways

The configuration here is not very clear, and the red part corresponds to key 1.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.