Using the exadcli Utility to Collect Cell Metric Data for Guest VMs (domUs)
Use the exadcli utility to run ExaCLI commands on multiple remote nodes and collect cell metric data for guest VMs (domUs).
Remote nodes can be specified by host name or IP address.
Prerequisites
Before using exadcli, ensure that the following requirements are met:
- Use ExaCLI to accept the identity certificate of each cell or database node.
You need to accept the certificate only once for each node unless:
- The cell is upgraded.
- A new certificate is uploaded to the remote database or cell node.
Accept the certificate on every applicable cell or database node and save the authentication cookies.
The
cookie-jarfile is valid for 24 hours. Java 1.8 or later is installed.
To determine the installed Java version, run:
java -version- Set the
JAVA_HOMEenvironment variable to the installation directory of the required Java version.
Collect Cell Metric Data
Note:
Cell metric collection using this method is supported only on cloud systems.
Run Oracle Exachk with the workload-capacity profile:
exachk -profile workload-capacity
Oracle Exachk collects the cell metric data by using exadcli.
The resulting data is stored in the capacity_exadcli.out file.
For example, you can locate the file under the Oracle Exachk collection directory:
/opt/oracle.ahf/data/.../exachk_<autostart_client_capacity>/CELLDIR/capacity_exadcli.out
For example:
ls -ltra /opt/oracle.ahf/data/.../exachk_<autostart_client_capacity>/CELLDIR/capacity_exadcli.out