Configure access to Oracle

Use Campaign Federated Data Access (FDA) option to process information stored in an external databases. Follow the steps below to configure access to Oracle.

  1. Configure Oracle on Linux or Windows
  2. Configure the Oracle external account in Campaign

Oracle on Linux

Connecting to an Oracle external database in FDA requires additional configurations below on the Adobe Campaign server.

  1. Install the Oracle full client corresponding to your version of Oracle.

  2. Add your TNS definitions to your installation. To do this, specify them in a tnsnames.ora file in the /etc/oracle repository. If this repository does not exist, create it.

    Then create a new TNS_ADMIN environment variable: export TNS_ADMIN=/etc/oracle and restart the machine.

  3. Integrate Oracle into your Adobe Campaign server (nlserver). To do this, check that the customer.sh file is present in the “nl6” folder of the Adobe Campaign server tree structure and that it includes the links to the Oracle libraries.

    For example, for a client in 11.2:

    export ORACLE_HOME=/usr/lib/oracle/11.2
    export TNS_ADMIN=/etc/oracle
    export LD_LIBRARY_PATH=$ORACLE_HOME/client64/lib:$LD_LIBRARY_PATH
    
    NOTE

    These values (particularly ORACLE_HOME), depends on your installation repositories. Make sure to check your tree structure before referencing these values.

  4. Install the libraries necessary for Oracle:

    • libclntsh.so

      cd /usr/lib/oracle/<version>/client<architecture>/lib
      ln -s libclntsh.so.<version> libclntsh.so
      
    • libaio1

      aptitude install libaio1
      or
      yum install libaio1
      
  5. In Campaign Classic, you can then configure your Oracle external account. For more on how to configure your external account, refer to this section.

Oracle on Windows

Connecting to an Oracle external database in FDA requires additional configurations below on the Adobe Campaign server.

  1. Install the Oracle client.

  2. In the C:Oracle folder, create a tnsnames.ora file containing your TNS definition.

  3. Add a TNS_ADMIN environment variable with C:Oracle as value and restart the machine.

  4. In Campaign Classic, you can then configure your Oracle external account. For more on how to configure your external account, refer to this section.

Oracle external account

The Oracle external account allows you to connect your Campaign instance to your Oracle external database.

  1. From Campaign Explorer, select Administration ‘>’ Platform ‘>’ External accounts.

  2. Choose New.

  3. Select External database as your external account’s Type.

  4. Configure the Oracle external account, you must specify:

    • Type: Oracle

    • Server: Name of the DNS

    • Account: Name of the user

    • Password: User account password

    • Time zone: Server time zone

On this page

Adobe Maker Awards Banner

Time to shine!

Apply now for the 2021 Adobe Experience Maker Awards.

Apply now
Adobe Maker Awards Banner

Time to shine!

Apply now for the 2021 Adobe Experience Maker Awards.

Apply now