oracle| Transparent
Oracle's technology for implementing heterogeneous database connection Services is called transparent Gateway (transparent gateway).
At present, Oracle utilizes transparent gateway to realize the interconnection with SQL SERVER, SYBASE, DB2 and other mainstream database.
Now access the SYBASE database via Oracle, and configure oracle9i transparent GATEWAY for Sybase
The steps written in the document, for the needs of netizens reference!
Configuring transparent GATEWAY for Sybase steps
1.
Install Sybase Client on Oracle Server (or install Oracle, Sybase server on same server)
Ensuring access to the Sybase database
2.
Install the transparent GATEWAY for Sybase option and use a custom installation.
Choosing the Sybase installation directory correctly
3.
Select a SID string to be assigned to the Sybase database. such as: Tg4sybs
Set Sybase DLL path to environment variable path (this step is important)
4.
Modify the initialization file by default:
Oracle_home\tg4sybs\admin\inittg4sybs.ora
Setting parameters
Hs_fds_connect_info
Format: hs_fds_connect_info= server_name. Database_name[,interface= Interface_file]
server_name. database_name is case sensitive.
Interface Optional
Examples: as follows
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
# This is a sample agent init file, contains the HS parameters that are
# needed for the ' transparent Gateway for Sybase
#
# Environment variables required for Sybase
#
Set Sybase=d:ybase
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
In the example above
server_name is Migration_serv.
database_name is tax.
5.
Configure the Listener for Oracle network services, which is: Listener.ora
Default path: Oracle_home\network\admin
Add the following
Gateway_sid is the 3 SID string selected
Oracle_home_directory is oracle_home.
Tg4sybs if Sybase is specific. If it is another database, it will be different.
Examples are as follows:
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
(sid_desc=
(SID_NAME=TG4SYBS)
(Oracle_home = D:\oracle\ora92)
(PROGRAM=TG4SYBS)
)
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
6.
Stop listening
Lsnrctl stop
Restarting the Listener
Lsnrctl start
7.
Configure Oracle Server's Tnsnames.ora to enable it to access Sybase
Connect_descriptor=
(description=
(address=
(PROTOCOL=TCP)
(host= host_name)
(port= port_number)
)
(Connect_data=
(sid= Gateway_sid))
(Hs=ok))
Connect_descriptor is a connection string, optional, generally sybs
Name of Host_name:oracle server
Port_number:oracle Listening Port
Gateway_sid is the 3 SID string selected
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.