


[root@ORCL dbpatchm]# rpm -qa|grep -i dbaastools
dbaastools-1.0-1+18.1.4.0.0_180123.1336.x86_64
[root@ORCL dbpatchm]# dbaascli dbpatchm –run -list_tools -cli
[root@ORCL dbpatchm]# dbaascli dbpatchm –run -toolsinst -rpmversion=18.1.4.1.0_180312.1800
DBAAS CLI version 1.0.0
[root@ORCL dbpatchm]# rpm -qa|grep -i dbaastools
Dbaastools-1.0-1+18.1.4.1.0_180312.1800.x86_64


If you want errors to be ignored during the patching operation, select the Force apply patch option. Then, click Patch.
If the Force apply patch option is selected, patch conflicts or errors discovered during the precheck stage of the patching operation are ignored and the patch will be applied (space permitting). If the option is not selected and conflicts or errors are discovered, the patch will not be applied.


[root@MYTST dbpatchm]# pwd
/var/opt/oracle/log/dbpatchm
[root@MYTST dbpatchm]# tail -100f dbpatchm_2018-04-03_03:39:26.log
inflating: 26925311/26713565/files/lib/libserver12.a/ktsp.o
inflating: 26925311/26713565/files/lib/libserver12.a/kkpo.o
inflating: 26925311/26713565/files/lib/libserver12.a/kjp.o
creating: 26925311/26713565/files/lib/libasmclntsh12.a/

[root@MYTST ~]# dbaascli dbpatchm –run -list_patches
DBAAS CLI version 1.0.0
Executing command dbpatchm –run -list_patches -cli
/var/opt/oracle/patch/dbpatchm -list_patches -cli
Starting DBPATCHM
Logfile is /var/opt/oracle/log/dbpatchm/dbpatchm_2018-04-06_11:06:52.log
Config file is /var/opt/oracle/patch/dbpatchm.cfg
INFO: cdb is set to : yes
INFO: dbversion detected : 12102
INFO: patching type : psu
12.1.0.2.171017, ee
Available patches :26925311-EE
[root@MYTST ~]# vi /var/opt/oracle/patch/dbpatchm.cfg
[root@MYTST ~]# dbaascli dbpatchm –run -apply
DBAAS CLI version 1.0.0
Executing command dbpatchm –run -apply -cli
/var/opt/oracle/patch/dbpatchm -apply -cli
To perform a patching operation, the dbpatchm subcommand reads and acts on the content of the /var/opt/oracle/patch/dbpatchm.cfg patching configuration file. This file, which is created when the database deployment is created, provides information about the locations of various files that may be used in patching operations.
Before using dbpatchm to perform a patching operation, set the value of the psunum key in the dbpatchm.cfg file to the patch ID of the patch to apply.
The dbpatchm.cfg file contains additional keys you can edit to customize the patching operation, and comment lines describing the purpose of each key and how to set its value