http://211.106.111.2:8880/bulletin/list.jsp?seq=11562&pg=0&sort_by=las
t_updated&keyfield=subject&keyword=gateway
gatewayÅøÀº :
target=_blank>http://www.oracle.com/technology/products/gateways/index.html
No. 11562
configure gateway for ms sql server
===================================
1. ODBC ȯ°æ ¼³Á¤
a: odbc driver install
b: system data source ¼³Á¤
2. Gateway ¼³Á¤
a. gateway SID ¸¦ ¼±Åà ( Á¦¾à Á¶°Ç : ¹®ÀÚ¿Í ¼ýÀÚ·Î ÀÌ·ç¾îÁø 4°³ÀÇ ¹®ÀÚ ±æÀÌ)
sid ±âº»°ªÀº MSQL ÀÓ
b. Gateway ÃʱâÈ file À» ȯ°æ¿¡ ¸Â°Ô ¼öÁ¤
> CD <ORACLE_HOME>\TGMSQL80\ADMIN
> COPY INITMSQL.ORA INIT<YOUR_GATEWAY_SID>.ORA
Ãʱâ ȯ°æ ÈÀÏÀ» ¼öÁ¤ÇÑ´Ù
c. »õ·Î¿î gateway service ¸¦ »ý¼º
( gateway service ¸¦ gateway sid °ªÀ» MSQl ·Î install Çҽÿ¡´Â À̹Ì
»ý¼ºÀÌ µÊ )
> SET GTW_EXE=TGMSQL80.EXE
> GTWSRV80 <YOUR_GATEWAY_SID> -CREATE
d. gateway service ¸¦ ½ÃÀÛ
Control Panel -> Services Icon -> OracleTGServices<GATEWAY_SID> ¸¦
¼±ÅÃÇÏ¿© ½ÃÀÛ
3. SQL*NET ¼³Á¤
a. gateway service ¸¦ À§ÇÑ listener ¼³Á¤
<GATEWAY_HOME>\TGMSQL80\ADMIN directory ¿¡ listener.ora file
b. Listener Service ½ÃÀÛ
4. Gateway Á¢±ÙÀ» À§ÇÑ oracle db ÂÊ ¼³Á¤
a. Net8 ¼³Á¤
tnsnames.ora file ¿¡ gateway ¿¡ ´ëÇÑ Ç׸ñÀ» Ãß°¡
5. ±âŸ
sql server ¿¡¼ data dictionary table ( dualmsql ) À» »ý¼º
DUALMSQL Àº oracle data dicationnary ¿¡ mapping µÇ¾î ÀÖÀ½
> isql -U<username> -P<password> -iTGMSQLDU.sql
6. Gateway ÀÌ¿ë
a. Logon to the Oracle Server
b. SQL Server Database ¿¡ ´ëÇÑ database link »ý¼º
SQL> create database link MSQL connect to <MSQL_USERNAME> identified
by <MSQL_PASSWORD> using 'MSQL';
|