Use the Oracle Database Appliance command line interface (ODACLI) to perform operations on the DCS agent.
Oracle Database Appliance establishes communication to the DCS agent is established using REST over HTTPS with the local DCS agent. The credentials and tokens are stored on an Oracle PKI wallet and the public certificates are stored on a Java (PKCS12) TrustStore. Once the secured communication is established correctly, the operation is invoked and the results are printed to the standard output.
Use the --json/-j
option for any command to print the output in JSON format, which is in a machine-readable form. For advanced interaction with the DCS agent, use Oracle Database Appliance REST APIs. In case of any issue during the operation, either on server or client side, use the respective logs to view the issues.
To query available operations, use odacli -h
. To view available operations on certain resource types, use odacli resource -h
.