安装结束,提示在所有节点运行脚本:
先在第一个节点上运行:
[root@b87 ~]# /opt/u01/Oracle/product/crs/bin/crsctlstop crs
Stopping resources.
Successfully stopped CRS resources
Stopping CSSD.
Shutting down CSS daemon.
Shutdown request successfully issued.
[root@b87 ~]#/opt/u01/oracle/product/crs/install/root102.sh
Creating pre-patch directory for saving pre-patchclusterware files
Completed patching clusterware files to/opt/u01/oracle/product/crs
Relinking some shared libraries.
Relinking of patched files is complete.
WARNING: directory '/opt/u01/oracle/product' is notowned by root
WARNING: directory '/opt/u01/oracle' is not owned byroot
WARNING: directory '/opt/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.
.
10205 patch successfully applied.
clscfg: EXISTING configuration version 3 detected.
clscfg: version 3 is 10G Release 2.
Successfully deleted 1 values from OCR.
Successfully deleted 1 keys from OCR.
Successfully accumulated necessary OCR keys.
Using ports: CSS=49895 CRS=49896 EVMC=49898 andEVMR=49897.
node <nodenumber>: <nodename> <privateinterconnect name> <hostname>
node 1: b87 b87-priv b87
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
clscfg -upgrade completed successfully
Creating'/opt/u01/oracle/product/crs/install/paramfile.crs' with data used for CRSconfiguration
Setting CRS configuration values in/opt/u01/oracle/product/crs/install/paramfile.crs
在第二个节点上运行:
[root@b88 ~]# /opt/u01/oracle/product/crs/bin/crsctlstop crs
Stopping resources.
Successfully stopped CRS resources
Stopping CSSD.
Shutting down CSS daemon.
Shutdown request successfully issued.
[root@b88 ~]#/opt/u01/oracle/product/crs/install/root102.sh
Creating pre-patch directory for saving pre-patchclusterware files
Completed patching clusterware files to/opt/u01/oracle/product/crs
Relinking some shared libraries.
Relinking of patched files is complete.
WARNING: directory '/opt/u01/oracle/product' is notowned by root
WARNING: directory '/opt/u01/oracle' is not owned byroot
WARNING: directory '/opt/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 takea while on some systems.
.
10205 patch successfully applied.
clscfg: EXISTING configuration version 3 detected.
clscfg: version 3 is 10G Release 2.
Successfully deleted 1 values from OCR.
Successfully deleted 1 keys from OCR.
Successfully accumulated necessary OCR keys.
Using ports: CSS=49895 CRS=49896 EVMC=49898 andEVMR=49897.
node <nodenumber>: <nodename> <privateinterconnect name> <hostname>
node 2: b88 b88-priv b88
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
clscfg -upgrade completed successfully
Creating'/opt/u01/oracle/product/crs/install/paramfile.crs' with data used for CRSconfiguration
Setting CRS configuration values in /opt/u01/oracle/product/crs/install/paramfile.crs
到此clusterware升级完成,crs已经重启,下面我们开始升级数据库软件。
4.升级database software
在升级clusterware的时候,升级结束的时候会启动CRS服务。但是在升级数据库的时候要关闭这些服务,命令如下(以下关闭命令也是正常关闭RAC的方法):
[oracle@b88 ~]$ srvctl stop database -d racdb
[oracle@b88 ~]$ srvctl stop service -d racdb
[oracle@b88 ~]$ srvctl stop asm -n b87
[oracle@b88 ~]$ srvctl stop asm -n b88
[oracle@b88 ~]$ srvctl stop listener -n b87
[oracle@b88 ~]$ srvctl stop listener -n b88
开始升级数据库软件,还是运行补丁包下的runInstaller
[oracle@b87 Disk1]$ ./runInstaller
Starting Oracle Universal Installer...
Checking installer requirements...
Checking operating system version: must be RedHat-3,SUSE-9, SuSE-10, redhat-4, redhat-5, redhat-6, UnitedLinux-1.0, asianux-1,asianux-2, asianux-3, enterprise-4, enterprise-5 or SuSE-11
Passed
All installer requirements met.
Preparing to launch Oracle Universal Installer from/tmp/OraInstall2012-12-25_03-19-06PM. Please wait ...[oracle@b87 Disk1]$ OracleUniversal Installer, Version 10.2.0.5.0 Production
Copyright (C) 1999, 2010, Oracle. All rights reserved.

首先出来欢迎界面,next。
