You use the
dbpatchm subcommand of the
dbaascli utility to update the cloud tooling on database deployments hosting a single-instance database or an Oracle Data Guard configuration of single-instance databases.
Note:When updating the cloud tooling on database deployments hosting a Data Guard configuration, you must perform the following steps on both nodes; that is, on the one hosting the primary database and on the one hosting the standby database.
Connect as the
opcuser to the compute node.
Start a root-user command shell:
$ sudo -s #
Check whether any cloud tooling updates are available:
# dbaascli dbpatchm --run -list_tools
If you receive an error message stating that the
-list_toolsoption is not supported, the cloud tooling on the compute node is too old to support this method of updating cloud tooling. In this case, follow the instructions in I can’t use dbaascli to update my cloud tooling.
In the command response, locate the patch ID of the cloud tooling update.
The patch ID is listed as the "Patchid" value. If multiple patches are listed, choose the latest one.
Check your current version of cloud tooling:
# rpm -qa|grep -i dbaastools dbaastools-version_number-release_number
After confirming that the latest update is newer than your current version, download and apply the patch containing the cloud tooling update:
# dbaascli dbpatchm --run -toolsinst -rpmversion=patch-id
patch-idis the patch ID you located earlier.
Note: if you get a warning message indicating that the toolsinst parameter is invalid, you can ignore the message.
Reset the backup configuration:
Exit the root-user command shell and disconnect from the compute node:
# exit $ exit
If you are updating cloud tooling on a database deployment hosting a Data Guard configuration, repeat the preceding steps on the other compute node of the deployment.