helps you achieve understanding, develop good practices, and operate your team and organization for maximum DevOps awesomeness
Thursday, October 10, 2019
Oracle DB Connection with Sybase
Oracle DB Connect to Sybase database steps:
1. Install Oracle Gateway software in Oracle database
2. Configure Sybase server details
$ORACLE_HOME/dg4sybs/admin/initdg4sybs.ora
# This is a customized agent init file that contains the HS parameters
# that are needed for the Database Gateway for Sybase
#
# HS init parameters
#
HS_FDS_CONNECT_INFO=<sybase_server_host_name>:<port>/<schema>
HS_FDS_TRACE_LEVEL=OFF
HS_FDS_RECOVERY_ACCOUNT=RECOVER
HS_FDS_RECOVERY_PWD=RECOVER
HS_KEEP_REMOTE_COLUMN_SIZE = ALL
HS_NLS_LENGTH_SEMANTICS = CHAR
HS_LANGUAGE=AMERICAN_AMERICA.WE8ISO8859P15
3. add below entry into your listener file (if rac then grid home).
(SID_DESC =
(SID_NAME = dg4sybs)
(ORACLE_HOME = /u02/app/oracle/product/12.2.0/dbhome_2)
(PROGRAM = dg4sybs)
)
)
4. create tnsentry into ORACLE_HOME Which will connect to database
ORACLE_TO_SYBASE=
(DESCRIPTION=
(ADDRESS=
(PROTOCOL=TCP)
(HOST=<oracle db host name>)
(PORT=1522)
)
(CONNECT_DATA=
(SID=dg4sybs))
(HS=OK))
5. create database link into oracle database
CREATE PUBLIC DATABASE LINK SYBASE_TO_ORACLE CONNECT TO "sybase_db_username" IDENTIFIED BY "sybase_db_password" USING 'ORACLE_TO_SYBASE';
6. Test database connection
select * from dual@SYBASE_TO_ORACLE;
Subscribe to:
Posts (Atom)
apt-key warning when sudo apt update run
Issue: apt-key warning when sudo apt update run Update below file: cat /etc/apt/sources.list.d/download_docker_com_linux_ubuntu.list ...
-
Install htop in Oracle Linux 7 htop is not default install and it's not part of default repo so when we try to install htop it throw...
-
How to Stop Firewall on Oracle Linux 7 [root@ebs121db1 ~]# iptables -L Chain INPUT (policy ACCEPT) target prot opt source ...
-
Oracle EBS 12.2.6 - DB Tire configuration error WARNING: [AutoConfig Error Report] The following report lists errors AutoConfig encounter...