Institutional Data Integration Using ODBC with Oracle Heterogeneous ous Services. Mingguang Xu. email: mxu@uga.edu



Similar documents
How Do I Load Data Stored in a Microsoft Excel File?

Accessing SQL Server Data from Oracle on Linux. for FREE!

Using DataDirect Connect for ODBC with Oracle Heterogeneous Services

How-to configure Auditing for IDENTIKEY Authentication Server 3.2 to a remote Oracle Database on a standalone Microsoft machine.

Incremental Replication from SQL Server to Oracle. Kane McKenzie Liberty University

Using DataDirect Connect for JDBC with Oracle Real Application Clusters (RAC)

Database Assessment. Vulnerability Assessment Course

Using Oracle Real Application Clusters (RAC)

Steps for connecting MS-ACCESS to ORACLE database

> ACCESSING SQL SERVER FROM IBM COGNOS BI SERVER.

Connect to an SSL-Enabled Microsoft SQL Server Database from PowerCenter on UNIX/Linux

Failover Support. DataDirect Connect for ODBC Drivers. Introduction. Connection Failover

HYPERION ESSBASE SYSTEM 9

Oracle Essbase Integration Services. Readme. Release

Querying Databases Using the DB Query and JDBC Query Nodes

OpenLane 5.3 supports a distributed architecture with either an Oracle 8i SQL database or a Sybase database. Refer to: Oracle Integration on page 2.

Installation and configuration op5 Oracle Extension

AD207: Advances in Data Integration with Lotus Enterprise Integrator for Domino 6.5. Sarah Boucher, Manager Enterprise Integration Development

Release Bulletin Sybase ETL Small Business Edition 4.2

SequeLink Server for ODBC Socket

Benchmarks of SQL Query Performance for ODBC and Oracle Call Interface

About This Service Fix... 1 New Features... 1 Defects Fixed... 1 Known Issues in Release Documentation Updates... 6

Getting Dedicated with Shared Servers, and how not to.

Using the Caché SQL Gateway

DB2 Connect for NT and the Microsoft Windows NT Load Balancing Service

Data Warehouse Center Administration Guide

Oracle Easy Connect Naming. An Oracle White Paper October 2007

IBM Lotus Enterprise Integrator (LEI) for Domino. Version August 17, 2010

Oracle Transparent Gateway for Microsoft SQL Server

ODBC Overview and Information

Different ways to guess Oracle database SID

AVALANCHE MC 5.3 AND DATABASE MANAGEMENT SYSTEMS

OBIEE Cloning. Cloning the OBIEE 11g database migration to a new host. Ashok Thiyagarajan ADVANS MARLBOROUGH, MA AND CHENNAI, INDIA

VMware vcenter Update Manager Administration Guide

Sagent DataFlow Supported Databases

On Building Integrated and Distributed Database Systems

Working with the Cognos BI Server Using the Greenplum Database

SEER Enterprise Shared Database Administrator s Guide

Using SQL-server as database engine

Setting up SQL Translation Framework OBE for Database 12cR1

ORACLE ESSBASE INTEGRATION SERVICES RELEASE SYSTEM ADMINISTRATOR S GUIDE

Oracle Net Services for Oracle10g. An Oracle White Paper May 2005

Oracle Database Gateways. An Oracle White Paper July 2007

Configuring and Integrating Oracle

Voyager Reporting System (VRS) Installation Guide. Revised 5/09/06

Increasing Driver Performance

Oracle 10g ODBC Installation Guide. Voyager Version 9.0+

Business Intelligence Platform Installation Guide for Windows

ReportBy ODBC Connection setup

SOLUTION BRIEF. Advanced ODBC and JDBC Access to Salesforce Data.

Using the DataDirect Connect for JDBC Drivers with the Sun Java System Application Server

Module 5 Introduction to Processes and Controls

Version Overview. Business value

Connecting to SQL server

CA Workload Automation Agent for Databases

Connecting LISTSERV to an Existing Database Management System (DBMS)

How to Connect to CDL SQL Server Database via Internet

JDBC. It is connected by the Native Module of dependent form of h/w like.dll or.so. ex) OCI driver for local connection to Oracle

Windows Authentication on Microsoft SQL Server

Integration Service Database. Installation Guide - Oracle. On-Premises

BusinessObjects Enterprise XI Release 2 for Solaris

Heterogeneous Database Replication Gianni Pucciani

Real-time Data Replication

Backing Up Oracle Databases with Handy Backup

SQL Express to SQL Server Database Migration MonitorIT v10.5

Oracle Access Manager for AS/400

PrivateWire Gateway Load Balancing and High Availability using Microsoft SQL Server Replication

Quest InTrust. Version 8.0. What's New. Active Directory Exchange Windows

Oracle Business Intelligence Publisher. 1 Oracle Business Intelligence Publisher Certification. Certification Information 10g Release 3 (

Business Intelligence Platform Installation Guide for Windows

Cloud Services. Introduction...2 Overview...2. Security considerations Installation...3 Server Configuration...4

Service Desk Intelligence System Requirements

Accessing Your Database with JMP 10 JMP Discovery Conference 2012 Brian Corcoran SAS Institute

Deloitte Solutions Network (SNET) Disaster Recovery POC on Amazon EC2

SAP Data Services and SAP Information Steward Document Version: 4.2 Support Package 7 ( ) PUBLIC. Master Guide

Installing and Configuring Guardium, ODF, and OAV

Business Intelligence Platform Installation Guide for Windows

Installation Companion Oracle Data Guard on Amazon EC2 Configuration Guide

SAP Crystal Server Document Version: 2013 SP SAP Crystal Server Installation Guide for Windows

SAP Crystal Server Document Version: SAP Crystal Server Installation Guide for Windows

DataDirect XQuery Technical Overview

SAP BusinessObjects Business Intelligence platform Document Version: Business Intelligence Platform Installation Guide for Unix

Release Bulletin EDI Products 5.2

FREQUENTLY ASKED QUESTIONS

FileMaker 12. ODBC and JDBC Guide

Installing The SysAidTM Server Locally

How to Configure Informix Connect and ODBC

Configuring an Alternative Database for SAS Web Infrastructure Platform Services

Informatica Corporation Proactive Monitoring for PowerCenter Operations Version 3.0 Release Notes May 2014

PowerSchool Student Information System

Architecting the Future of Big Data

ORACLE BUSINESS INTELLIGENCE WORKSHOP. Prerequisites for Oracle BI Workshop

Architecting the Future of Big Data

Comparison of DBI Products and BMC SmartDBA

Readme File for All Platforms

Define ODBC Database Library using Management Console

Transcription:

Institutional Data Integration Using ODBC with Oracle Heterogeneous ous Services Mingguang Xu email: mxu@uga.edu

Data Integration Challenges Information integration is a challenge that affects many organizations ations At the Office of Institutional Research, UGA, we need several data sources for web applications and reporting 1. IBM IMS 2. IBM DB2 3. Flat files 4. Oracle databases Our goal is to build a centralized data repository, either in traditional ER model or dimensional model

Oracle s s Solution Oracle Transparent Gateways Oracle Transparent Gateway works in conjunction with the Heterogeneous eneous Services component of the Oracle Database server to access a particular, commercially available, non-oracle system. For example, you use the Oracle Transparent Gateway ay for Sybase on Solaris to access a Sybase database operating on a Sun Solaris platform Generic Connectivity Oracle provides a set of agents, containing only generic code, that t interface with the Heterogeneous Services component and comprise Generic Connectivity. ty. These agents require drivers to provide access to the non-oracle systems. Oracle provides Generic Connectivity agents for ODBC and OLE DB that enable you to use ODBC and OLE DB drivers to access non-oracle data sources

What Can HS Do for You Both Oracle Generic Connectivity and Oracle Transparent Gateways provide the ability to transparently access data in non-oracle systems from an Oracle environment 1. Remote data can be accessed transparently 2. There is no unnecessary data duplication 3. SQL statements can query several different databases 4. Oracle's application development and end user tools can be used 5. Users can talk to a remote database in its own language

Advantages of Generic Connectivity No installation on data source machine No requirement to modify Oracle Client Library Easy to configure Easy to maintain Low cost Reliable

Generic Connectivity Architecture Generic Connectivity is implemented by using a Heterogeneous Services ODBC agent. An ODBC agent is included as part of your Oracle system. When Oracle DBMS installed, the agents are installed. From Oracle 10g, HS agents are available to Linux OS To access the non-oracle data source using Generic Connectivity, the agent works with an ODBC driver. The ODBC driver that you use must be on the same platform as the ODBC agent. The non-oracle data stores can reside on the same machine as the Oracle database or a different machine.

Architecture of Generic Services

Architecture of Generic Services - continued 1. The client contacts the Oracle listener after resolving the service s name 2. The listener redirect the connection request to HS agent 3. HS agent contacts ODBC driver by resolving Data Source Name (DSN)( 4. Connect to non-oracle data source based on DSN

Use Generic Connectivity with ODBC Set up ODBC driver Configure HSODBC

Set Up ODBC Driver We use the ODBC driver from Data-Direct Direct (http://www.datadirect( http://www.datadirect-technologies.com) Built-in in mechanism to test ODBC connectivity Good support Reasonably priced

Set Up ODBC Driver _ Continued 1. Create a directory to contain the ODBC driver and related files, i.e. create an ODBC_HOME E.g.: /u01/app/odbc 2. Configure the odbc.ini file in $ODBC_HOME: this file is similar to an address book for the odbc drivers

Configure odbc.ini file # define all odbc data source name # (DSN) here. The DSN can be anything you prefer [ODBC Data Sources] peach=datadirect 5.1 DB2 Wire Protocol dbase=datadirect 5.1 dbasefile(*.dbf) #Text=DataDirect 5.1 TextFile(*.*) # DS specification [peach] Driver=$odbc_home/lib/ivdb221.so Description=DataDirect DataDirect 5.1 DB2 Wire Protocol ApplicationUsingThreads=1 Collection=D21 IpAddress=host_name_of_DS Location=D21 TcpPort=1234 UseCurrentSchema=0 [dbase] Driver=/opt/odbc32v51/lib/ivdbf21.so Description=DataDirect DataDirect 5.1 dbasefile(*.dbf) ApplicationUsingThreads=1 CacheSize=4

Configure HSODBC 1. tnsnames 2. listener 3. init<sid_name> of the HS subsystem 4. Oracle database

Modify tnsnames File location: $oracle_home$ oracle_home/network/admin Add a new service name. Suppose the service_name=juice Juice = # you may need to add a domain name suffix - ask your DBA (DESCRIPTION= (ADDRESS_LIST= (ADDRESS= (PROTOCOL=TCP) # edit to point to your LISTENER (HOST=host_of_oracle server) # edit to point to your LISTENER (PORT=8888) # edit to point to your LISTENER ) ) (CONNECT_DATA=(SID=apple)) (HS=OK) )

Modify tnsnames _ continued 1. (HS=OK) key word must be added manually. If opened with Oracle e NCA, the entry will be erased. 2. (HS=OK) must be outside of SID section 3. After adding the new service, test it using > tnsping juice

Modify listener.ora File location: $oracle_home/newwork/admin Add a new SID entry in this file. Suppose SID=apple (SID_DESC= (SID_NAME=apple) (ORACLE_HOME=$oracle_home oracle_home) ) # change this to your oracle home (PROGRAM=hsodbc hsodbc) ) #critical information (ENVS=LD_LIBRARY_PATH=$oracle_home/lib:$odbc_home/lib ) This instructs the listener to service this sid apple'. You'll need to stop and start the listener to get it to pick up the changes

Configure HS Initiation File File location: $oracle_home/hs/admin$ oracle_home/hs/admin.. File name= init<sid>.ora # initapple.ora # This is a sample agent init file that contains the HS parameters rs that are # needed for an ODBC Agent. # HS init parameters HS_FDS_CONNECT_INFO = peach #match DSN in $odbc_home/odbc.ini$ HS_FDS_TRACE_LEVEL = off HS_FDS_SHAREABLE_NAME = /opt/odbc32v51/lib/libodbc.so # ODBC specific environment variables set ODBCINI= $odbc_home/odbc.ini$

Configure Oracle Database Create a database link to point to the new service defined in $oracle_home/network/admin/tnsnames.ora Example: create database link magic_link connect to UID_at_YourDS -- double quote is essential for some system Identified by PW_at_YourDS -- double quote is essential for some system using juice

Configuration Summary 1. Define 3-names: 3 DSN (peach), SID_NAME (apple), SERVICE_NAME (juice) 2. Modify 4 files: $odbc_home/odbc.ini$ odbc_home/odbc.ini, $oracle_home/hs/admin/initsid.ora, $oracle_home/network/admin/listener.ora $oracle_home/network/admin/tnsnames.ora 3. Define environment variables for odbc driver 4. Create database link to point to the outside data source

Common Errors ORA-28500: connection from ORACLE to a non-oracle system returned this message: [Generic Connectivity Using ODBC][Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified (SQL State: 00000; SQL Code: 0) ORA-02063: preceding 2 lines from CUSTARD The DSN name specified by "HS_FDS_CONNECT_INFO = SPONGE" in your %ORACLE_HOME%\hs hs\admin\initsid.orainitsid.ora could not be found. Check your inisid.ora file and the ODBC manager. ORA-28545: Failed to make RSLV connection listener is not running, or has not been restarted. Could be that the PROGRAM in listener.ora is not 'hsodbc' hsodbc' Could be that the SID in tnsnames.ora is incorrect ORA-28500: connection from ORACLE to a non-oracle system returned this message: [Generic Connectivity Using ODBC][H006] The init parameter <HS_FDS_CONNECT_INFO> is not set. Please set it in init<orasid orasid>. >.ora file. ORA-02063: preceding 2 lines from JELLY Could be that the initsid.ora file is not named correctly. Match the SID to that in the listener.ora and tnsnames.ora files. ------------------------- ORA-12154: TNS:could not resolve service name The TNS Service name in your tnsnames.ora file does not match that specified in the 'using' clause of your database link.