Building Oracle agent executable using build_oraapi.sh

Last published : Oct 21, 2026
To build the Oracle agent executable using the build_oraapi.sh script
  1. Log in as root user on the node.
  2. Set the Oracle home directory path.
# export ORACLE_HOME=/u01/oraHome
where, /u01/oraHome is the Oracle home directory that stores files.
  1. Access the Oracle agent directory.
# cd /opt/VRTSagents/ha/bin/Oracle
  1. Run the following command from the Oracle agent directory.
# ./build_oraapi.sh
  1. Alternatively, if you did not set the ORACLE_HOME variable, you can set the oracle_home parameter as a command line option.
#./build_oraapi.sh -oracle_home /u01/oraHome
where /u01/oraHome is the Oracle home directory path, which is set as the ORACLE_HOME variable value.
The script generates binaries under agent directory /opt/VRTSagents/ha/bin/Oracle. Oracle health check binaries generated on a node is based on the system architecture (32 bit or 64 bit) available on that node, and the full Oracle version.
For example, oraapi_64_121010 is a binary created with Oracle version 12 on a 64-bit system.