3.2.3 停止每个节点上的CRS
[root@rac1 ~]# /u01/app/Oracle/product/crs/bin/crsctl stop crs
3.3 用Nomachine工具运行runInstaller
该工具的使用,参考:
远程桌面工具 -- NoMachine
http://www.linuxidc.com/Linux/2011-05/35995.htm
3.3.1进行升级包的目录,运行runInstaller
[oracle@rac1 p6810189_10204_Linux-x86]$ pwd
/mnt/OracleSoftware/p6810189_10204_Linux-x86
[oracle@rac1 p6810189_10204_Linux-x86]$ cd Disk1/
[oracle@rac1 Disk1]$ ls
10204_buglist.htm install patch_note.htm response runInstaller stage
[oracle@rac1 Disk1]$ ./runInstaller -ignoreSysPreReqs
-- 因为我用的是RedHat 5,所以忽略了版本检查
3.3.2 在可视化的安装窗口选择CRS_HOME。看清楚,不要选错了。然后一下步进行安装。
3.3.3 安装结束会提示运行2个脚本
The installer has detected that your Cluster Ready Services (CRS) installation is shared amongst the following nodes:
rac1
rac2
Because of the shared nature of this installation, you cannot perform a rolling upgrade of your CRS software.
To complete the installation of this patchset, you must perform the following tasks:
1. On each node, do the following:
a. Log in as the root user.
b. As root, shutdown the CRS daemons on the node
using the following command:
/u01/app/oracle/product/crs/bin/crsctl stop crs
Repeat this step until the CRS daemons on all the nodes are shutdown.
2. After all the CRS daemons on all the nodes are shutdown, run the shell script located at:
/u01/app/oracle/product/crs/install/root102.sh
This script will automatically start the CRS daemons on the patched node upon completion.
3. Wait until the script finishes and then proceed to the next node and repeat step 2.
[root@rac1 ~]# /u01/app/oracle/product/crs/bin/crsctl stop crs
Stopping resources.
Successfully stopped CRS resources
Stopping CSSD.
Shutting down CSS daemon.
Shutdown request successfully issued.
[root@rac1 ~]# /u01/app/oracle/product/crs/install/root102.sh
Creating pre-patch directory for saving pre-patch clusterware files
Completed patching clusterware files to /u01/app/oracle/product/crs
Relinking some shared libraries.
Relinking of patched files is complete.
WARNING: directory '/u01/app/oracle/product' is not owned by root
WARNING: directory '/u01/app/oracle' is not owned by root
WARNING: directory '/u01/app' is not owned by root
WARNING: directory '/u01' is not owned by root
Preparing to recopy patched init and RC scripts.
Recopying init and RC scripts.
Startup will be queued to init within 30 seconds.
Starting up the CRS daemons.
Waiting for the patched CRS daemons to start. This may take a while on some systems.
10204 patch successfully applied.
clscfg: EXISTING configuration version 3 detected.
clscfg: version 3 is 10G Release 2.
Successfully accumulated necessary OCR keys.
Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.
node <nodenumber>: <nodename> <private interconnect name> <hostname>
node 2: rac1 rac1-priv rac1
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
clscfg -upgrade completed successfully
四. 升级数据库软件
升级clusterware的时候,升级结束的时候会启动CRS服务。 我们在升级数据库的时候需要关闭这些服务。
