grid psu 安装
【摘要】 补丁版本:11.2.0.4.210420解压,修改权限,并执行安装:[root@db01 soft]# unzip p32495145_112040_Linux-x86-64.zip [root@db01 soft]# chown -R grid:oinstall 32495145/[root@db01 soft]# /u01/app/11.2.0/grid/OPatch/opopatch ...
补丁版本:11.2.0.4.210420
解压,修改权限,并执行安装:
[root@db01 soft]# unzip p32495145_112040_Linux-x86-64.zip
[root@db01 soft]# chown -R grid:oinstall 32495145/
[root@db01 soft]# /u01/app/11.2.0/grid/OPatch/op
opatch opatch.bat opatch_env.sh opatchprereqs/ operr operr.bat oplan/
[root@db01 soft]# /u01/app/11.2.0/grid/OPatch/opatch auto /soft/32495145/
[root@db01 soft]# /u01/app/11.2.0/grid/OPatch/opatch auto /soft/32495145/
Executing /u01/app/11.2.0/grid/perl/bin/perl /u01/app/11.2.0/grid/OPatch/crs/patch11203.pl -patchdir /soft -patchn 32495145 -paramfile /u01/app/11.2.0/grid/crs/install/crsconfig_params
This is the main log file: /u01/app/11.2.0/grid/cfgtoollogs/opatchauto2021-08-10_00-21-23.log
This file will show your detected configuration and all the steps that opatchauto attempted to do on your system:
/u01/app/11.2.0/grid/cfgtoollogs/opatchauto2021-08-10_00-21-23.report.log
2021-08-10 00:21:23: Starting Clusterware Patch Setup
Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params
Stopping RAC /u01/app/oracle/product/11.2.0/dbhome_1 ...
Stopped RAC /u01/app/oracle/product/11.2.0/dbhome_1 successfully
patch /soft/32495145/29938455/custom/server/29938455 apply successful for home /u01/app/oracle/product/11.2.0/dbhome_1
patch /soft/32495145/32328626 apply successful for home /u01/app/oracle/product/11.2.0/dbhome_1
Stopping CRS...
Stopped CRS successfully
patch /soft/32495145/29938455 apply successful for home /u01/app/11.2.0/grid
patch /soft/32495145/32328626 apply successful for home /u01/app/11.2.0/grid
patch /soft/32495145/29509309 apply successful for home /u01/app/11.2.0/grid
Starting CRS...
Installing Trace File Analyzer
CRS-4123: Oracle High Availability Services has been started.
Starting RAC /u01/app/oracle/product/11.2.0/dbhome_1 ...
Started RAC /u01/app/oracle/product/11.2.0/dbhome_1 successfully
opatch auto succeeded.
检查集群状态:
[grid@db01 ~]$ crsctl stat res -t
--------------------------------------------------------------------------------
NAME TARGET STATE SERVER STATE_DETAILS
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.DATA.dg
ONLINE ONLINE db01
ONLINE ONLINE db02
ora.LISTENER.lsnr
ONLINE ONLINE db01
ONLINE ONLINE db02
ora.asm
ONLINE ONLINE db01 Started
ONLINE ONLINE db02 Started
ora.gsd
OFFLINE OFFLINE db01
OFFLINE OFFLINE db02
ora.net1.network
ONLINE ONLINE db01
ONLINE ONLINE db02
ora.ons
ONLINE ONLINE db01
ONLINE ONLINE db02
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.LISTENER_SCAN1.lsnr
1 ONLINE ONLINE db02
ora.cvu
1 ONLINE ONLINE db02
ora.db01.vip
1 ONLINE ONLINE db01
ora.db02.vip
1 ONLINE ONLINE db02
ora.oc4j
1 ONLINE ONLINE db02
ora.ora.db
1 ONLINE ONLINE db01 Open
2 ONLINE ONLINE db02 Open
ora.scan1.vip
1 ONLINE ONLINE db02
检查gi版本
[root@db01 soft]# su - grid
[grid@db01 ~]$ /u01/app/11.2.0/grid/OPatch/opatch lspatches
29509309;ACFS Patch Set Update : 11.2.0.4.190716 (29509309)
32328626;Database Patch Set Update : 11.2.0.4.210420 (32328626)
29938455;OCW Patch Set Update : 11.2.0.4.191015 (29938455)
[root@db01 soft]# su - oracle
[oracle@db01 ~]$ /u01/app/oracle/product/11.2.0/dbhome_1/OPatch/opatch lspatches
32328626;Database Patch Set Update : 11.2.0.4.210420 (32328626)
29938455;OCW Patch Set Update : 11.2.0.4.191015 (29938455)
【版权声明】本文为华为云社区用户原创内容,转载时必须标注文章的来源(华为云社区)、文章链接、文章作者等基本信息, 否则作者和本社区有权追究责任。如果您发现本社区中有涉嫌抄袭的内容,欢迎发送邮件进行举报,并提供相关证据,一经查实,本社区将立刻删除涉嫌侵权内容,举报邮箱:
cloudbbs@huaweicloud.com
- 点赞
- 收藏
- 关注作者
评论(0)