Configuring transparent GATEWAY for Sybase steps

Source: Internet
Author: User
Tags sybase sybase client sybase database

1.oracle to install Sybase client on the server (or install Oracle, Sybase server on one server) to ensure access to the Sybase database;

2. Install the transparent GATEWAY for Sybase option to use a custom installation. Select the Sybase installation directory correctly;

3. Select a SID string to be assigned to the Sybase database. For example: Tg4sybs set Sybase DLL path to environment variable path (this step is important);

4. Modify initialization files 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 that contains the HS parameters that are
# needed for the Transparent Gateway for Sybase
#
# HS init parameters
#
HS_FDS_CONNECT_INFO=migration_serv.tax
HS_FDS_TRACE_LEVEL=OFF
HS_FDS_RECOVERY_ACCOUNT=RECOVER
HS_FDS_RECOVERY_PWD=RECOVER
#
# Environment variables required for Sybase
#
set SYBASE=d:\sybase
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$

In the example above

server_name is Migration_serv.

database_name is tax.

5. Configure the Listener for Oracle network services, the configuration file is: Listener.ora

Default path: Oracle_home\network\admin

Add the following:

SID_LIST_LISTENER=
(SID_LIST=
(SID_DESC=
(SID_NAME= gateway_sid)
(ORACLE_HOME= oracle_home_directory)
(PROGRAM=tg4sybs)
)
)

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.