You use the Oracle Instant Client.
Before you begin
Review the following topic to verify the requirements based on your installation path: Oracle Instant Client.
Download and install the Visual Studio Redistributable from Microsoft. For example, Oracle Instant Client 19 requires the Visual Studio 2017 Redistributable. For more information, see the Oracle documentation.
Procedure
- Log on to the application server as an
administrator.
- Download the 64-bit Instant Client Basic Package, SQL*Plus Package, and the Tools
Package.
For example:
- instantclient-basic-windows.x64-19.9.0.0.0dbru.zip
- instantclient-sqlplus-windows.x64-19.9.0.0.0dbru.zip
- instantclient-tools-windows.x64-19.9.0.0.0dbru.zip
- Create a new directory for the Oracle client home directory,
ORACLE_HOME
. For example:
C:\oracle\
The
following steps use C:\oracle\. If you are using a different path, replace
C:\oracle\ with your directory.
- Expand the Instant Client packages into the same directory under
C:\oracle\.
You now have a
C:\oracle\instantclient_19_9 directory.
- Set the following environment variables:
ORACLE_BASE=C:\oracle\instantclient_19_9
ORACLE_HOME=C:\oracle\instantclient_19_9
JAVA_HOME=<path_to_java_home>
Append the following directory to the
PATH
environment
variable:
C:\oracle\instantclient_19_9
- In the C:\oracle\instantclient_19_9 directory, create a
\network\admin directory:
You now have
C:\oracle\instantclient_19_9\network\admin
- Copy the tnsnames.ora file from the database server, update it, and
then test the database connection.
- Update property files with the new Oracle client directory,
C:\oracle\instantclient_19_9.
- Repeat these steps on each application server.
- Repeat these steps on each reporting server, with the following differences:
What to do next
See the following topic to determine your next task: Oracle Instant Client.