Striim 3.9.4 / 3.9.5 documentation

Installing the Oracle Instant Client

To use OracleReader with XStream Out you must perform the following steps for each Striim server or Forwarding Agent that will run the OracleReader source. The Striim servers and Forwarding Agent hosts must be running Linux.

  1. Download the Oracle Instant Client .rpm file for your version of Oracle (11.2.0.2, 11.2.0.3, or 11.2.0.4) from http://www.oracle.com/technetwork/topics/linuxx86-64soft-092277.html and install it with rpm -i -v <file name>. The instructions below assume that the installation directory is /usr/lib/oracle/instantclient_11_2. If it is in a different location, adjust the environment variables accordingly.

  2. Add /usr/lib/oracle/instantclient_11_2/xstreams.jar:/usr/lib/oracle/instantclient_11_2/ojdbc6.jar to the CLASSPATH environment variable. In Centos, if Striim is owned by root, you may do this by editing /root/.bash_profile. For example, if the PATH portion of that file is:

    PATH=$PATH:$HOME/bin
    export PATH
    

    change that to:

    PATH=$PATH:$HOME/bin:/usr/lib/oracle/11.2/client64/lib
    export PATH
    
  3. Add /usr/lib/oracle/instantclient_11_2/ to the LD_LIBRARY_PATH environment variable.

  4. Add /usr/lib/oracle/instantclient_11_2/ to the PATH environment variable.

  5. Add the IP address and name of the Oracle server(s) to which you will connect to the hosts file.