Installing Oracle Database Instant Client

To install Oracle Database Instant Client and make the required Oracle Call Interface (OCI) library available to Ops Connector for OEM, perform the following steps:

  1. From the Oracle web site1The product is currently available on the web site www.oracle.com/technetwork/database/features/instant-client/index-100365.html, but the actual location may change., download the Basic or Basic Lite installation package of Oracle Database Instant Client. If needed, register for a free Oracle Account first.

  2. Unpack the installation package to a directory on the Operations Connector host. This directory will remain in permanent use.

  3. Depending on the operating system, perform the following:

    Windows:

    1. In the directory of the unpacked installation files, locate the oci.dll file.

    2. Append the semicolon (;) and the absolute path of the directory where oci.dll resides to the operating system variable Path.

    3. Run the following commands in sequence:

      ovc -stop

      ovc -kill

      ovc -start

    Linux:

    1. In the directory of the unpacked installation files, locate the libocci.so file.

    2. Append the colon (:) and the absolute path of the directory where libocci.so resides to the value of the variable LD_LIBRARY_PATH defined in the following files in the <OvDataDir>/installation/HPBsmIntOEM/ovc directory:

      HPBsmIntOEM_Topology.xml

      HPBsmIntOEM_Metrics.xml

    3. Identify versions of the libsoci_core.so and libsoci_oracle.so shared objects located in the /opt/OV/lib64 directory. If the versions differ from 3.2, run the following commands to create symbolic links (adjust properly the version numbers in link targets if needed):

      ln -s /opt/OV/lib64/libsoci_core.so.3.2.2 /opt/OV/lib64/libsoci_core.so.3.2

      ln -s /opt/OV/lib64/libsoci_oracle.so.3.2.2 /opt/OV/lib64 \
      /libsoci_oracle.so.3.2

    4. Change the current directory to /opt/OV/bin, and run the following commands:

      ./ovcreg -add <OvDataDir>/installation/HPBsmIntOEM/ovc \
      /HPBsmIntOEM_Topology.xml

      ./ovcreg -add <OvDataDir>/installation/HPBsmIntOEM/ovc \
      /HPBsmIntOEM_Metrics.xml