You are on page 1of 1

Check the Cloud Tooling and Image Versions

You can use a function of the dbaasapi to determine the current tools version and the image
version.

1. Connect as the opc user to the compute node.

See Connecting to a Compute Node Through Secure Shell (SSH).

2. Start a root-user command shell:

 $ sudo -s
#

 Create a JSON file named input.json with the following content:

 {
"object": "os",
"action": "get",
"operation": "info_version",
"params": {
"infofile":"/home/opc/info.json"
},
"outputfile": "/home/opc/out.json",
"FLAGS": "debug"
}

 Run the dbaasapi command:

 # dbaasapi -i /home/opc/input.json

 Display the results:

# cat /home/opc/info.json

Example output:

 {
"dbtools_dbaas_monitor" : null,
"dbaas_image" :
"OL_6.8_UEKR4_x86_64_PSM_MANAGED-18.3.2-20180627-131137.tar.gz",
"dbtools_ords_sdw" :
"dbtools_ords_standalone-18.2.0-1.r1831332.el7.x86_64",
"dbaastools_version" : "dbaastools-1.0-1+18.4.3.0.0_181011.1252.x86_64"
...

 Exit the session:

# exit
$ exit

You might also like