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 a PostgreSQL database to increase performance.
The following steps provide a guideline for configuring native connectivity through PostgreSQL. For specific instructions, see the database documentation.
  1. To configure connectivity for the PowerCenter Integration Service and PowerCenter Repository Service process, log in to the machine as a user who can start the server process.
  2. To configure a PostgreSQL database for the PowerCenter repository, set values for the PostgreSQL database host, port, and service name for the pg_service.conf file in the following format:
    [PCRS_DB_SERVICE_NAME] host=Database host IP port=Database port dbname=PowerCenter repository database service name
    Ensure that the entries for the [PCRS_DB_SERVICE_NAME] match the configuration for the PowerCenter Repository Service. In the pg_service.conf file, you can securely connect to PostgreSQL for the PowerCenter repository. To set the secure connect, set the security property and the required database properties in the pg_service.conf file in the following format:
    sslmode=require
  3. Set the PGSERVICEFILE, PGHOME, and PATH environment variables.
    PGSERVICEFILE
    . Set the variable to the pg_service.conf file that contains the connection parameters for PostgreSQL database connection. For example, set the variable as follows:
    Using a Bourne shell:
    $ export PGSERVICEFILE; PGSERVICEFILE=<pg_service.conf file directory>/pg_service.conf
    Using a C shell:
    $ setenv PGSERVICEFILE <pg_service.conf file directory>/pg_service.conf
    PGHOME
    . Set the variable to the PostgreSQL installation path where you have installed the PostgreSQL client. For example, set the variable as follows:
    Using a Bourne shell:
    $ export PGHOME; PGHOME=/usr/pgsql-10
    Using a C shell:
    $ setenv PGHOME /usr/pgsql-10
    PATH
    . To run the PostgreSQL command line programs, set the variable to include the PostgreSQL client directory, psql. For example, set the variable as follows:
    Using a Bourne shell:
    $ export PATH; PATH=${PATH}:${PGHOME}
    Using a C shell:
    $ setenv PATH ${PGHOME}:${PATH}
  4. Set the shared library environment variable.
    The PostgreSQL client software contains a number of shared library components that the 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:
      $ export LD_LIBRARY_PATH; LD_LIBRARY_PATH $PGHOME/lib $ LD_LIBRARY_PATH <InstallationDirectory>/server/bin:${LD_LIBRARY_PATH}
    • Using a C shell:
      $ setenv LD_LIBRARY_PATH $PGHOME/lib $ setenv LD_LIBRARY_PATH <InstallationDirectory>/server/bin:${LD_LIBRARY_PATH}
  5. Verify that you can connect to the PostgreSQL database.
    To connect to the PostgreSQL database, launch the psql utility and enter the connectivity information.

0 COMMENTS

We’d like to hear from you!