升级CRS10.2.0.5到10.2.0.5.2psu

关闭相关进程:

To shut down the RDBMS instance on all nodes, enter the following command:

% $ORACLE_HOME/bin/srvctl stop database -d

To shut down ASM instances, enter the following command on each node:

% $ORACLE_HOME/bin/srvctl stop asm -n

To shut down nodeapps, enter the following command on each node:

% $ORACLE_HOME/bin/srvctl stop nodeapps -n

To shut down CRS daemons on each node, enter the following command as root:

# $CRS_HOME/bin/crsctl stop crs

If the oprocd is running, then as root stop the oprocd:

% $CRS_HOME/bin/oprocd stop

$ custom/scripts/prerootpatch.sh -crshome $ORA_CRS_HOME -crsuser oracle

$ custom/scripts/prepatch.sh -crshome $ORA_CRS_HOME

$ custom/server/9952245/custom/scripts/prepatch.sh -dbhome $ORACLE_HOME

$ /oracle/product/10.2.0/crs_1/OPatch/opatch napply -local -oh $ORA_CRS_HOME -id 9952245

$ /oracle/product/10.2.0/crs_1/OPatch/opatch napply custom/server/ -local -oh $ORACLE_HOME -id 9952245

$ custom/scripts/postpatch.sh -crshome $ORA_CRS_HOME

$ custom/server/9952245/custom/scripts/postpatch.sh -dbhome $ORACLE_HOME

$ custom/scripts/postrootpatch.sh -crshome $ORA_CRS_HOME

打CRS的PSU过程可以有两种

一。当安装升级CRS到10205后,先安装数据库软件,再按照以上步骤进行

二。安装升级CRS到10205后直接先打PSU,但这种情况下,上文中加粗的3步需要在数据库软件装好后再按序执行。

另外,$ custom/server/9952245/custom/scripts/prepatch.sh的脚本与$ custom/server/9952245/custom/scripts/postpatch.sh存在相应的关系,

$ custom/server/9952245/custom/scripts/prepatch.sh

# 1) invoked as a the Oracle Home user (non-root)

# 2) harvests configuration values specified by the user

# at install time

# 3) saves the values in $ORACLE_HOME/install/params.ora

# in a specific format to be later consumed by postpatch.sh.

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/24005010/viewspace-710273/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/24005010/viewspace-710273/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值