Introduction
This article provides guidance on using multiple versions of the Vault Oracle database plugin (both open-source and enterprise) alongside multiple Oracle Instant Client versions on the same node. It addresses package conflicts with RPM-based installations and outlines best practices for environment configuration, plugin registration, and client management.
Problem Statement
When installing multiple versions of Oracle Instant Client using RPM packages on a single system, users encounter conflicts, as RPM does not support installing multiple versions of the same package simultaneously. This becomes problematic in environments where different versions of the Vault Oracle plugin require different versions of the Oracle Instant Client.
Solution
- Do not use RPMs for multiple versions: RPM-based installations conflict when installing more than one version of Oracle Instant Client.
- Manual installation: Download and manually unzip each Instant Client version into its own dedicated directory.
- Separate plugin and client directories: Place each plugin version and its corresponding Instant Client libraries in unique, versioned directories.
- Configure environment variables per plugin: Use LD_LIBRARY_PATH and PATH to ensure each plugin version references the correct Instant Client libraries.
- Register plugins with environment variables: Use Vault’s plugin registration options to associate each plugin version with its required environment variables.
References