1 软件环境
OPatch:12.2.0.1.14
PSU:p28828717_180000_Linux-x86-64.zip
2 查看GI组件版本
set line 200
col BANNER_FULL for a39
col banner for a39
col banner_legacy for a39
select * from v$version;
3 查看OPatch版本
$ORACLE_HOME/OPatch/opatch version
4 查看已安装PSU信息
$ORACLE_HOME/OPatch/opatch lsinventory
5 安装PSU
停HAS服务
crsctl stop has -f
解锁grid_home目录
$ORACLE_HOME/crs/install/roothas.sh -unlock
安装patch
#ORACLE_HOME
export ORACLE_HOME=/app/grid/product/18.3.0/crs#进入patch目录
cd /app/grid/psu/28980105#安装patch
/app/grid/product/18.3.0/crs/OPatch/opatchauto apply --oh /app/grid/product/18.3.0/crs/
执行relink脚本
$ORACLE_HOME/bin/relink
注:$ORACLE_HOME和$ORACLE_HOME/bin需要写权限
锁定grid_home目录
$ORACLE_HOME/crs/install/roothas.sh -lock
启动HAS服务
crsctl start has
6 验证GI版本
set line 200
col BANNER_FULL for a39
col banner for a39
col banner_legacy for a39
select * from v$version;
至此GI PSU安装完毕