Professional Documents
Culture Documents
You can use a function of the dbaasapi to determine the current tools version and the image
version.
$ sudo -s
#
{
"object": "os",
"action": "get",
"operation": "info_version",
"params": {
"infofile":"/home/opc/info.json"
},
"outputfile": "/home/opc/out.json",
"FLAGS": "debug"
}
# dbaasapi -i /home/opc/input.json
# 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
$ exit