fiozhang 发表于 2013-12-17 17:23:26

关于rootcrs.pl -patch

本帖最后由 fiozhang 于 2013-12-17 17:27 编辑

Database11.2.0.3 Patch13
WINDOWS 2008 R2

之前已经在3节点rac上升级了此patch,但是在升级grid过程中并没有对crs进行patch(rootcrs.pl -patch)
现在发现一个bug 需要执行rootcrs.pl -patch进行修复。

请问现在我能不能单独再运行rootcrs.pl -patch给crs打补丁?

文档说明如下3.3.3Patch Installation Instructions for RAC
Follow these steps:

Please note that this patch is RAC rolling upgradable for GRID, and RDBMS homes.

Stop the Oracle services only in the home where the patch is being applied.

The order of patching in RAC install is GRID_HOME, then RDBMS_HOME

1.Before Patching GRID_HOME, stop OCR related resources, Oracle HASD Services (OHASD) Services and all Oracle Services:

> srvctl stop service -d <database name> -s <configured workload management service> -i <instancename>
> srvctl stop instance -d <dbname> -i <instance name> -o abort
> crsctl stop crs
To verify all resources have been moved to the other nodes, run the following command from another node with GRID running:
> crsctl status resource -t
Then use the Computer Management Services GUI or the net stop command to stop ALL Oracle services running on that node:

◦net stop OracleService<SID>

◦net stop Oracle<CRShome>TNSListenerLISTENER_<nodename>

◦net stop Oracle<CRShome>TNSListenerLISTENER_SCANn

◦net stop OracleDBConsole<SID>

◦net stop OracleASMService<ASMSID>

◦net stop "Oracle <SID> VSS Writer Service"

◦net stop OracleREMExecService

◦net stop OracleOHService

◦net stop "Oracle Object Service"

◦net stop OracleClusterVolumeService

◦net stop ocfs (required only for OCFS installation)

◦net stop orafenceservice

◦Note: An explicit 'srvctl start listener -n <nodename>' should be issued after patching

2.Before Patching RDBMS_HOME, the GRID and ASM services can be running.
Stop OCR related resources and Oracle Services on the current node as listed below:

> srvctl stop service -d <database name> -s <configured workload management service> -i <instancename>
> srvctl stop instance -d <dbname> -i <instance name> -o abort
◦net stop OracleService<SID>

◦net stop Oracle<SID>VSSWriterService

◦net stop OracleDBConsole<SID>

3.Set the ORACLE_HOME environment variable properly

4.Go to the directory where you downloaded the patch:

> cd 14828076
5.Ensure that the directory containing the OPatch script appears in your PATH setting. Patch this node using the command listed below.

> %ORACLE_HOME%\perl\bin\perl -I%ORACLE_HOME%\perl\lib -I%ORACLE_HOME%\crs\install %ORACLE_HOME%\crs\install\rootcrs.pl -unlock
> opatch apply
opatch will attempt to apply the patch on all the nodes in the cluster sequentially. However will prompt for user input to start patching other nodes. At this time ensure that the Oracle services on target node are stopped before proceeding to patch. Once the opatch session completes patching this node, start the services and proceed applying patch to the next node.

NOTE: When patching GRID_HOME on a node.
Once the opatch session completes patching GRID_HOME on a node, run the following before proceeding to patch GRID_HOME on the next node.
%ORACLE_HOME%\bin\acfsroot install
%ORACLE_HOME%\perl\bin\perl -I%ORACLE_HOME%\perl\lib -I%ORACLE_HOME%\crs\install %ORACLE_HOME%\crs\install\rootcrs.pl -patch


Liu Maclean(刘相兵 发表于 2013-12-17 17:25:27

原帖子只有陈述句 没有疑问句

fiozhang 发表于 2013-12-17 17:31:42

问题已经更新了,主要就是对次序上的疑问,原来要求的顺序是:
节点1 grid opatch打补丁,然后节点1 rootcrs.pl -patch,完了以后再打下一个节点。
现在我所有节点grid opatch都打完了,再返回来想打crs补丁,不知道可不可行

Liu Maclean(刘相兵 发表于 2013-12-17 19:43:09

理论上我觉得没问题, 需要实际测试

fiozhang 发表于 2013-12-18 16:25:22

昨晚上顺利打完补丁,看来这个最后打没问题
页: [1]
查看完整版本: 关于rootcrs.pl -patch