The method of applying an Oracle patch (e.g. Oracle PSR: Patch Set Release) varies depending on database mounting.
If a database does not need to be mounted before and after patch application, be sure to stop RMS before applying a patch.
If a database needs to be mounted before and after patch application, monitoring must be cancelled before applying a patch as follows:
Maintenance mode / Monitoring disruption
# hvutil -m on <userApplication> (Maintenance mode) # hvoradisable -a <userApplication> (Monitoring disruption)
Oracle stop (if necessary)
# su - <Oracle user> $ sqlplus /nolog SQL> connect / as sysdba SQL> shutdown immediate
Patch application
Apply patches according to the Oracle manual.
Oracle startup (if stopped)
# su - <Oracle user> $ sqlplus /nolog SQL> connect / as sysdba SQL> startup
Monitoring restart / Maintenance mode stop
# hvoraenable -a <userApplication> (Monitoring restart) # hvutil -m off <userApplication> (Maintenance mode stop)