Establish an oracle transparent gateway Environment

Source: Internet
Author: User
1. Install the transparentgateway transparent gateway of oracle. Select custom installation for ORACLE Installation, then install transparent gateway, and then select to install the FORSQLSERVER component. 2, modify oraclehomeora92tgsmsqladmininittg4msql. orq file HS_FDS_CONNECT_INFOSERVERYIRONG-NO1; DATABAS

1. Install the transparent gateway of oracle. Select custom installation for oracle Installation, then install transparent gateway, and then choose to install components for sqlserver. 2. Modify the oraclehomeora92tgsmsqladmininittg4msql. orq file HS_FDS_CONNECT_INFO = SERVER = YIRONG-NO1; DATABAS

1. Install the transparent gateway of oracle.
Select custom installation for oracle Installation, then install transparent gateway, and then choose to install components for sqlserver.
2. Modify the oraclehomeora92tgsmsqladmininittg4msql. orq File

HS_FDS_CONNECT_INFO = "SERVER = YIRONG-NO1; DATABASE = jsoct"
HS_FDS_TRACE_LEVEL = OFF
HS_FDS_RECOVERY_ACCOUNT = RECOVER
HS_FDS_RECOVERY_PWD = RECOVER
Description: You can use migration WorkBench in the ORACLE tool for configuration. (ODBC needs to be configured in the process)

3. Create a listener to modify the oraclehomeora92networkadminlistener. ora file of oracle.


# LISTENER. ORA Network Configuration File: F: oracleora92networkadminlistener. ora
# Generated by Oracle configuration tools.

LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC0 ))
)
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP) (HOST = yirong-no1) (PORT = 1521 ))
)

)
)

SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = F: oracleora92)
(PROGRAM = extproc)
)

(SID_DESC =
(GLOBAL_DBNAME = ora9i2)
(ORACLE_HOME = F: oracleora92)
(SID_NAME = ora9i2)
)

# Connecting to sqlserver
(SID_DESC =
(GLOBAL_DBNAME = tg4msql)
(PROGRAM = tg4msql)
(SID_NAME = tg4msql)
(ORACLE_HOME = F: oracleora92)
)

)

4. Modify TNS

TG4MSQL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = tcp) (HOST = localhost) (PORT = 1521 ))
(CONNECT_DATA = (SID = tg4msql ))
(HS =)
)

5. Create a DBLINK user name. The password is the user name and password of SQLSERVER.
Create public database link oratoSql
Connect to sa identified by "lanwei"
USING 'tg4msql ';

6. test whether the data is properly retrieved.

,

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.