云题海 - 专业文章范例文档资料分享平台

当前位置:首页 > ORACLE RAC 11Gr2 升级PSU 从11.2.0.3.0到11.2.0.3.8

ORACLE RAC 11Gr2 升级PSU 从11.2.0.3.0到11.2.0.3.8

  • 62 次阅读
  • 3 次下载
  • 2025/5/8 0:06:15

11.2.0.3RAC 打PSU 11.2.0.3

软件包

PSU包p17272731_112030_Linux-x86-64.zip 此包包含GI和DATABASE的PSU

安装前准备

1、opatchshould be 11.2.0.3.4 or later. 两个节点grid和oracle的版本都要最新 [grid@rac1 OPatch]$ ./opatch version OPatch Version: 11.2.0.3.12 2、生成ocm.rsp 两个节点都要执行 login as oracle

$ORACLE_HOME/OPatch/ocm/bin/emocmrsp-no_banner -output /home/oracle/ocm.rsp 3、Validation of Oracle Inventory

$ $ORACLE_HOME/OPatch/opatch lsinventory -detail -oh

4、Stop EM Agent Processes Prior to Patching and Prior to Rolling Back the Patch $ $ORACLE_HOME/bin/emctl stop dbconsole

安装

1、自动安装 login as root

安装前注意ORACLE_HOME的所属组不可以为root

opatch auto -ocmrf

节点1:

[root@rac1 OPatch]# /u01/app/grid/OPatch/opatch auto /opt/soft/11g/gi_psu_11.2.0.3.8 -ocmrf /home/oracle/ocm.rsp

Can't locate Switch.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /u01/app/grid/OPatch/crs/auto_patch.pl line 2734.

BEGIN failed--compilation aborted at /u01/app/grid/OPatch/crs/auto_patch.pl line 2734. 报错是因为少包,安装perl-Switch包

[root@rac1 ~]# /u01/app/grid/OPatch/opatch auto /opt/soft/11g/gi_psu_11.2.0.3.8 -ocmrf /home/oracle/ocm.rsp

Executing /u01/app/grid/perl/bin/perl /u01/app/grid/OPatch/crs/patch11203.pl -patchdir

perl-Switch-2.16-7.el7.noarch.rpm/opt/soft/11g -patchn gi_psu_11.2.0.3.8 -ocmrf /home/oracle/ocm.rsp -paramfile /u01/app/grid/crs/install/crsconfig_params

This is the main log file: /u01/app/grid/cfgtoollogs/opatchauto2016-10-15_19-49-07.log

This file will show your detected configuration and all the steps that opatchauto attempted to do on your system:

/u01/app/grid/cfgtoollogs/opatchauto2016-10-15_19-49-07.report.log

2016-10-15 19:49:07: Starting Clusterware Patch Setup

Using configuration parameter file: /u01/app/grid/crs/install/crsconfig_params

Unable to determine if /u01/app/oracle/product/11.2.0.3/db1 is shared oracle home

Enter 'yes' if this is not a shared home or if the prerequiste actions are performed to patch this shared home (yes/no):yes

Unable to determine if /u01/app/grid is shared oracle home

Enter 'yes' if this is not a shared home or if the prerequiste actions are performed to patch this shared home (yes/no):yes

Stopping RAC /u01/app/oracle/product/11.2.0.3/db1 ...

Stopped RAC /u01/app/oracle/product/11.2.0.3/db1 successfully

patch /opt/soft/11g/gi_psu_11.2.0.3.8/17076717/custom/server/17076717 apply successful for home /u01/app/oracle/product/11.2.0.3/db1

patch /opt/soft/11g/gi_psu_11.2.0.3.8/16902043 apply successful for home /u01/app/oracle/product/11.2.0.3/db1

Stopping CRS...

Stopped CRS successfully

patch /opt/soft/11g/gi_psu_11.2.0.3.8/17076717 apply successful for home /u01/app/grid patch /opt/soft/11g/gi_psu_11.2.0.3.8/16902043 apply successful for home /u01/app/grid

Starting CRS...

CRS-4123: Oracle High Availability Services has been started.

Starting RAC /u01/app/oracle/product/11.2.0.3/db1 ...

Started RAC /u01/app/oracle/product/11.2.0.3/db1 successfully

opatch auto succeeded. 节点2:

[root@rac2 ~]# /u01/app/grid/OPatch/opatch auto /opt/soft/11g/gi_psu_11.2.0.3.8 -ocmrf /home/oracle/ocm.rsp

Executing /u01/app/grid/perl/bin/perl /u01/app/grid/OPatch/crs/patch11203.pl -patchdir /opt/soft/11g -patchn gi_psu_11.2.0.3.8 -ocmrf /home/oracle/ocm.rsp -paramfile /u01/app/grid/crs/install/crsconfig_params

This is the main log file: /u01/app/grid/cfgtoollogs/opatchauto2016-10-15_20-54-32.log

This file will show your detected configuration and all the steps that opatchauto attempted to do on your system:

/u01/app/grid/cfgtoollogs/opatchauto2016-10-15_20-54-32.report.log

2016-10-15 20:54:32: Starting Clusterware Patch Setup

Using configuration parameter file: /u01/app/grid/crs/install/crsconfig_params

Unable to determine if /u01/app/oracle/product/11.2.0.3/db1 is shared oracle home

Enter 'yes' if this is not a shared home or if the prerequiste actions are performed to patch this shared home (yes/no):yes

Unable to determine if /u01/app/grid is shared oracle home

Enter 'yes' if this is not a shared home or if the prerequiste actions are performed to patch this shared home (yes/no):yes

Stopping RAC /u01/app/oracle/product/11.2.0.3/db1 ...

Stopped RAC /u01/app/oracle/product/11.2.0.3/db1 successfully

patch /opt/soft/11g/gi_psu_11.2.0.3.8/17076717/custom/server/17076717 apply successful for home /u01/app/oracle/product/11.2.0.3/db1

patch /opt/soft/11g/gi_psu_11.2.0.3.8/16902043 apply failed for home /u01/app/oracle/product/11.2.0.3/db1

Stopping CRS...

Stopped CRS successfully

patch /opt/soft/11g/gi_psu_11.2.0.3.8/17076717 apply successful for home /u01/app/grid patch /opt/soft/11g/gi_psu_11.2.0.3.8/16902043 apply failed for home /u01/app/grid

Starting CRS...

CRS-4123: Oracle High Availability Services has been started.

Starting RAC /u01/app/oracle/product/11.2.0.3/db1 ...

Started RAC /u01/app/oracle/product/11.2.0.3/db1 successfully

opatch auto succeeded. 报错

Missing command :fuser UtilSession failed:

Prerequisite check \ Prerequisite check \ Prerequisite check \ Prerequisite check \ Prerequisite check \ Prerequisite check \ Prerequisite check \ Prerequisite check \

安装psmisc包

[root@rac2 ~]# /u01/app/grid/OPatch/opatch auto /opt/soft/11g/gi_psu_11.2.0.3.8 -ocmrf /home/oracle/ocm.rsp

Executing /u01/app/grid/perl/bin/perl /u01/app/grid/OPatch/crs/patch11203.pl -patchdir /opt/soft/11g -patchn gi_psu_11.2.0.3.8 -ocmrf /home/oracle/ocm.rsp -paramfile /u01/app/grid/crs/install/crsconfig_params

This is the main log file: /u01/app/grid/cfgtoollogs/opatchauto2016-10-15_21-55-47.log

This file will show your detected configuration and all the steps that opatchauto attempted to do on your system:

/u01/app/grid/cfgtoollogs/opatchauto2016-10-15_21-55-47.report.log

2016-10-15 21:55:47: Starting Clusterware Patch Setup

Using configuration parameter file: /u01/app/grid/crs/install/crsconfig_params

Unable to determine if /u01/app/oracle/product/11.2.0.3/db1 is shared oracle home

Enter 'yes' if this is not a shared home or if the prerequiste actions are performed to patch this shared home (yes/no):yes

Unable to determine if /u01/app/grid is shared oracle home

Enter 'yes' if this is not a shared home or if the prerequiste actions are performed to patch this shared home (yes/no):yes

Stopping RAC /u01/app/oracle/product/11.2.0.3/db1 ...

Stopped RAC /u01/app/oracle/product/11.2.0.3/db1 successfully

patch /opt/soft/11g/gi_psu_11.2.0.3.8/17076717/custom/server/17076717 apply successful for home /u01/app/oracle/product/11.2.0.3/db1

patch /opt/soft/11g/gi_psu_11.2.0.3.8/16902043 apply successful for home /u01/app/oracle/product/11.2.0.3/db1

Stopping CRS...

Stopped CRS successfully

搜索更多关于: ORACLE RAC 11Gr2 升级PSU 从11.2.0 的文档
  • 收藏
  • 违规举报
  • 版权认领
下载文档10.00 元 加入VIP免费下载
推荐下载
本文作者:...

共分享92篇相关文档

文档简介:

11.2.0.3RAC 打PSU 11.2.0.3 软件包 PSU包p17272731_112030_Linux-x86-64.zip 此包包含GI和DATABASE的PSU 安装前准备 1、opatchshould be 11.2.0.3.4 or later. 两个节点grid和oracle的版本都要最新 [grid@rac1 OPatch]$ ./opatch version OPatch Version: 11.2.0.3.12 2、生成ocm.rsp 两个节点都要执行 login as oracle $ORACLE_HOME/OPatch/ocm/bin/emocmrsp-no_banner -output /home/oracle/ocm.rsp 3、Validation of Oracle Inven

× 游客快捷下载通道(下载后可以自由复制和排版)
单篇付费下载
限时特价:10 元/份 原价:20元
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信:fanwen365 QQ:370150219
Copyright © 云题海 All Rights Reserved. 苏ICP备16052595号-3 网站地图 客服QQ:370150219 邮箱:370150219@qq.com