Table of Contents

Search

  1. Preface
  2. Analyst Service
  3. Catalog Service
  4. Content Management Service
  5. Data Integration Service
  6. Data Integration Service Architecture
  7. Data Integration Service Management
  8. Data Integration Service Grid
  9. Data Integration Service REST API
  10. Data Integration Service Applications
  11. Data Privacy Management Service
  12. Enterprise Data Preparation Service
  13. Interactive Data Preparation Service
  14. Informatica Cluster Service
  15. Mass Ingestion Service
  16. Metadata Access Service
  17. Metadata Manager Service
  18. Model Repository Service
  19. PowerCenter Integration Service
  20. PowerCenter Integration Service Architecture
  21. High Availability for the PowerCenter Integration Service
  22. PowerCenter Repository Service
  23. PowerCenter Repository Management
  24. PowerExchange Listener Service
  25. PowerExchange Logger Service
  26. SAP BW Service
  27. Search Service
  28. System Services
  29. Test Data Manager Service
  30. Test Data Warehouse Service
  31. Web Services Hub
  32. Application Service Upgrade
  33. Appendix A: Application Service Databases
  34. Appendix B: Connecting to Databases from Windows
  35. Appendix C: Connecting to Databases from UNIX or Linux
  36. Appendix D: Updating the DynamicSections Parameter of a DB2 Database

Application Service Guide

Application Service Guide

Configuring Native Connectivity

Configuring Native Connectivity

You can configure native connectivity to an Oracle database to increase performance.
The following steps provide a guideline for configuring native connectivity through Oracle Net Services or Net8. For specific instructions, see the database documentation.
  1. To configure connectivity for the Data Integration Service, PowerCenter Integration Service, or PowerCenter Repository Service process, log in to the machine as a user who can start the server process.
  2. Set the ORACLE_HOME, NLS_LANG, TNS_ADMIN, and PATH environment variables.
    ORACLE_HOME
    . Set the variable to the Oracle client installation directory. For example, if the client is installed in the /HOME2/oracle directory. set the variable as follows:
    Using a Bourne shell:
    $ ORACLE_HOME=/HOME2/oracle; export ORACLE_HOME
    Using a C shell:
    $ setenv ORACLE_HOME /HOME2/oracle
    NLS_LANG
    . Set the variable to the locale (language, territory, and character set) you want the database client and server to use with the login. The value of this variable depends on the configuration. For example, if the value is american_america.UTF8, set the variable as follows:
    Using a Bourne shell:
    $ NLS_LANG=american_america.UTF8; export NLS_LANG
    Using a C shell:
    $ NLS_LANG american_america.UTF8
    To determine the value of this variable, contact the administrator.
    ORA_SDTZ
    . To set the default session time zone when the Data Integration Service reads or writes the Timestamp with Local Time Zone data, specify the ORA_SDTZ environment variable.
    You can set the ORA_SDTZ environment variable to any of the following values:
    • Operating system local time zone ('OS_TZ')
    • Database time zone ('DB_TZ')
    • Absolute offset from UTC (for example, '-05:00')
    • Time zone region name (for example, 'America/Los_Angeles')
    You can set the environment variable at the machine where Informatica server runs.
    TNS_ADMIN
    . If the tnsnames.ora file is not in the same location as the Oracle client installation location, set the TNS_ADMIN environment variable to the directory where the tnsnames.ora file resides. For example, if the file is in the /HOME2/oracle/files directory, set the variable as follows:
    Using a Bourne shell:
    $ TNS_ADMIN=$HOME2/oracle/files; export TNS_ADMIN
    Using a C shell:
    $ setenv TNS_ADMIN=$HOME2/oracle/files
    By default, the
    tnsnames.ora
    file is stored in the following directory:
    $ORACLE_HOME/network/admin
    .
    PATH
    . To run the Oracle command line programs, set the variable to include the Oracle bin directory.
    Using a Bourne shell:
    $ PATH=${PATH}:$ORACLE_HOME/bin; export PATH
    Using a C shell:
    $ setenv PATH ${PATH}:ORACLE_HOME/bin
  3. Set the shared library environment variable.
    The Oracle client software contains a number of shared library components that the Data Integration Service, PowerCenter Integration Service, and PowerCenter Repository Service processes load dynamically. To locate the shared libraries during run time, set the shared library environment variable.
    The shared library path must also include the Informatica installation directory
    (server_dir)
    .
    Set the shared library environment variable to LD_LIBRARY_PATH.
    For example, use the following syntax:
    • Using a Bourne shell:
      $ LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:$HOME/
      server_dir
      :$ORACLE_HOME/lib; export LD_LIBRARY_PATH
    • Using a C shell:
      $ setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:$HOME/
      server_dir
      :$ORACLE_HOME/lib
  4. Edit the .cshrc or .profile to include the complete set of shell commands. Save the file and either log out and log in again, or run the source command.
    Using a Bourne shell:
    $ source .profile
    Using a C shell:
    $ source .cshrc
  5. Verify that the Oracle client is configured to access the database.
    Use the SQL*Net Easy Configuration Utility or copy an existing
    tnsnames.ora
    file to the home directory and modify it.
    The
    tnsnames.ora
    file is stored in the following directory:
    $ORACLE_HOME/network/admin
    .
    Enter the correct syntax for the Oracle connect string, typically
    databasename.world
    .
    Here is a sample
    tnsnames.ora
    file. Enter the information for the database.
    mydatabase.world =    (DESCRIPTION    (ADDRESS_LIST =         (ADDRESS =            (COMMUNITY = mycompany.world            (PROTOCOL = TCP)            (Host = mymachine)            (Port = 1521)         )    )    (CONNECT_DATA =       (SID = MYORA7)       (GLOBAL_NAMES = mydatabase.world)
    Here is a sample
    tnsnames.ora
    file to connect to Oracle using Oracle Connection Manager:
    ORCL19C_CMAN = (description= (address_list= (source_route=yes) (address=(protocol=tcp)(host=inrh74ocm.mycompany.com)(port=1521)) (address=(protocol=tcp)(host=inrh74oradb.mycompany.com)(port=1521)) ) (connect_data= (service_name=ORCL19C.mycompany.com) ) )
  6. Verify that you can connect to the Oracle database.
    To connect to the Oracle database, launch SQL*Plus and enter the connectivity information. If you fail to connect to the database, verify that you correctly entered all of the connectivity information.
    Enter the user name and connect string as defined in the
    tnsnames.ora
    file.

0 COMMENTS

We’d like to hear from you!