You can use the
dbpatchm subcommand of the
dbaascli utility to apply a patch to a database deployment hosting a single-instance database.
Before you begin
Before you apply a patch, make sure the database deployment has the latest cloud tooling because some patches require a certain minimum level of cloud tooling. For more information, see Updating the Cloud Tooling by Using the dbpatchm Subcommand.
Before you apply a patch, you should back up the deployment. For instructions, see Creating an On-Demand Backup.
To apply a patch to a database deployment by using the
- Connect to the compute node as the
For detailed instructions, see Connecting to a Compute Node Through Secure Shell (SSH).
- Start a root-user command shell:
$ sudo -s #
- If you have not already done so, edit the
/var/opt/oracle/patch/dbpatchm.cfgpatching configuration file, setting the keys to apply the desired patch. For more information about this file and its keys, see The dbpatchm.cfg Configuration File.
- Apply the patch to the deployment using the
# dbaascli dbpatchm --run -apply
dbpatchmsubcommand displays progress as the patch is applied.
Patching operations are performed with a minimum of impact on the functioning of the database. However, during part of the operation the database is shut down for a period of time, thus making it inaccessible.
- Exit the root-user command shell:
# exit $