Building Oracle agent executable using build_oraapi.sh
To build the Oracle agent executable using the
build_oraapi.sh script
-
Log in as root user on the node.
-
Set the Oracle home directory path.
# export ORACLE_HOME=/u01/oraHome
where, /u01/oraHome is the Oracle home directory that stores files.
-
Access the Oracle agent directory.
# cd /opt/VRTSagents/ha/bin/Oracle
-
Run the following command from the Oracle agent directory.
# ./build_oraapi.sh
-
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.