ITPUX技术网

交流 . 资讯 . 分享
Make progress together!

12c 新特性 - OPatch Automation Tool - opatchauto

2016-5-27 20:51| 发布者: 风哥| 查看: 1112| 评论: 0|原作者: 风哥|来自: Oracle数据库教程

摘要: 从12c开始,在集群GRID/RAC环境下,通过root用户使用opatchauto命令安装patch (注:11.2 GRID通过opatch auto)。 opatchauto命令详细参数: $ cd $GRID_HOME/OPatch $ ./opatchauto -help OPatch Automation ...
从12c开始,在集群GRID/RAC环境下,通过root用户使用opatchauto命令安装patch
(注:11.2 GRID通过opatch auto)。

opatchauto命令详细参数:

12c 新特性 - OPatch Automation Tool - opatchauto

$ cd $GRID_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.

查看 apply 选项的详细输出


$ ./opatchauto apply -help
OPatch Automation Tool
Copyright (c) 2015, Oracle
Corporation. All rights reserved.

DESCRIPTION
Apply a System Patch to Oracle Home. User specified the patch
location or the current directory will be taken as the patch location.
opatchauto must run from the GI Home as root user.
SYNTAX
/OPatch/opatchauto apply
[-analyze]
[-database
]
[-generateSteps]
[-invPtrLoc
]
[-jre ]
[-norestart ]
[-nonrolling ]
[-ocmrf response file location> ]
[-oh
]
[ Location> ]

其中"-analyze"选项可以模拟OPatchauto apply,提前检查所有检查项目,但是运行"-analyze"选项不会真正改变系统。

在安装patch之前请下载最新的OPatch包:patch 6880880 ,以避免一些低版本OPatch包中的已知问题。

opatchauto 安装GI PSU 具体命令:

1. 同时对GI home 和 all Oracle  RAC database homes 打psu:
# opatchauto apply  /20996835 -ocmrf

2. 只单独对GI home 打psu:
# opatchauto apply  /20996835 -oh -ocmrf response file>

3.只单独对RAC database  homes 打psu:
# opatchauto apply  /20996835 -oh  , -ocmrf



鲜花

握手

雷人

路过

鸡蛋

本站推介

返回顶部