ITPub博客

首页 > Linux操作系统 > Linux操作系统 > 升级CRS10.2.0.5到10.2.0.5.2psu

升级CRS10.2.0.5到10.2.0.5.2psu

原创 Linux操作系统 作者:大米嗵嗵 时间:2011-08-09 13:56:02 0 删除 编辑

关闭相关进程:

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博客 ” ,链接:https://blog.itpub.net/24005010/viewspace-710273/ ,如需转载,请注明出处,否则将追究法律责任。

下一篇: linux配置rsh信任
请登录后发表评论 登录
全部评论

注册时间:2010-07-31

  • 博文量
    75
  • 访问量
    157827