Professional Documents
Culture Documents
19 9补丁升级验证
19 9补丁升级验证
补丁更新测试通过!还需配合其他基准测试确认补丁对性能和功能无影响。
测试步骤
补丁参考文档:
https://updates.oracle.com/Orion/PatchDetails/view_readme?
plat_lang=226P&patch_file=&file_id=&password_required=&password_required_readme
=&merged_trans=&aru=23869619&patch_num=31750108&patch_num_id=3744116&de
fault_release=600000000101150&default_plat_lang=226P&default_compatible_with=&pa
tch_password=&orderby=&direction=&no_header=0&sortcolpressed=&tab_number=
安装前检查步骤:
#su - grid
$ opatch -v
Oracle Interim Patch Installer version 11.2.0.3.21
Copyright (c) 2020, Oracle Corporation. All rights reserved.
#su - oracle
$ opatch -v
Oracle Interim Patch Installer version 11.2.0.3.21
Copyright (c) 2020, Oracle Corporation. All rights reserved.
2、安装此补丁需要确认数据库已经安装上。
3、检查/opt/grid/oraInventory/ContentsXML 目录权限
确保是可读写的,当该文件权限不对的时候可导致补丁不能打上。
4、下载并解压补丁检查补丁冲突情况:
给补丁文件赋权:
#chown -R grid:oinstall /tmp/31750108
#chmod -R 777 /tmp/31750108
Grid 用户下执行冲突检测:
Oracle 用户下执行冲突检测:
5、补丁所需空间大小检测:
Grid 用户下执行检测:
$ vi /tmp/patch_list_gihome.txt
/tmp/31750108/31771877
/tmp/31750108/31772784
/tmp/31750108/31773437
/tmp/31750108/31780966
执行检测命令:
Oracle 用户下执行检测:
$ vi /tmp/patch_list_dbhome.txt
/tmp/31750108/31771877
/tmp/31750108/31772784
执行检查命令:
6、检测一次性补丁冲突
root 用户下执行冲突检测:
# export PERL5LIB=/opt/grid/products/19.3.0/perl/lib
7、打补丁
root 用户下两节点依次执行:
# su - grid
$ su root
# export PERL5LIB=/opt/grid/products/19.3.0/perl/lib
8、升级完成确认