集群GRID/RAC环境下,从12c开始我们可以通过root用户使用opatchauto命令安装patch。
opatchauto参数:
$ cd $ORACLE_HOME/OPatch
$ opatchauto -help
OPatch Automation Tool
Copyright (c) 2015, Oracle
Corporation. All rights reserved.
Usage: opatchauto [ -help ] [ command ]
command := apply
resume
rollback
version
:= -help Displays the help message for the
command.
example:
'opatchauto -help'
'opatchauto -h'
'opatchauto apply -help'
'opatchauto resume -help'
'opatchauto rollback -help'
'opatchauto version -help'
opatchauto succeeded.
$ opatchauto apply -help
OPatch Automation Tool
Copyright (c) 2015, Oracle
Corporation. All rights reserved.
DESCRIPTION
Apply a System Patch to Orac