待安装完成,点击NEXT,出现下图:
依照提示,以root用户在两节点先后执行第一句,再先后执行第二句。
点击退出,安装完成。
六、安装CRS补丁(升级到10.2.0.5.0)
1、以orasrv用户在DISK1目录下执行./runInstaller 待安装过程到最后一步时,如下:
1)先在节点YCWEB1上,以root执行,
#/rdbm/orasrv/product/10g/crs/bin/crsctl stop crs //该过程顺利执行 #/rdbm/orasrv/product/10g/crs/install/root102.sh 该脚本执行到如下时:
waiting for the patched CRS daemons to start This may take a while on some systems 另开一终端,以root用户执行下操作: #/etc/init.d/init.evmd run & # /etc/init.d/init.cssd fatal & # /etc/init.d/init.crsd run & 最终执行root102.sh脚本结果如下:
#/rdbm/orasrv/product/10g/crs/install/root102.sh
Creating pre-patch directory for saving pre-patch clusterware files Completed patching clusterware files to /rdbm/orasrv/product/10g/crs Relinking some shared libraries.
Relinking of patched files is complete.
WARNING: directory '/rdbm/orasrv/product/10g' is not owned by root WARNING: directory '/rdbm/orasrv/product' is not owned by root WARNING: directory '/rdbm/orasrv' is not owned by root WARNING: directory '/rdbm' 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 and EVMR=49897.
node
Creating OCR keys for user 'root', privgrp 'root'.. Operation successful.
clscfg -upgrade completed successfully
Creating '/rdbm/orasrv/product/10g/crs/install/paramfile.crs' with data used for CRS configuration
Setting CRS configuration values in
/rdbm/orasrv/product/10g/crs/install/paramfile.crs [root@ycweb1 install]#
2)再在YCWEB2节点上,以下执行:
#/rdbm/orasrv/product/10g/crs/bin/crsctl stop crs //该过程顺利执行 #/rdbm/orasrv/product/10g/crs/install/root102.sh 该脚本执行到如下时:
waiting for the patched CRS daemons to start This may take a while on some systems 另开一终端,以root用户执行下操作: #/etc/init.d/init.evmd run & # /etc/init.d/init.cssd fatal & # /etc/init.d/init.crsd run & 待脚本顺利执行完后,退出。
[orasrv@ycweb2 ~]$ crs_stat -t
Name Type Target State Host ------------------------------------------------------------ ora.ycweb1.gsd application ONLINE ONLINE ycweb1 ora.ycweb1.ons application ONLINE ONLINE ycweb1 ora.ycweb1.vip application ONLINE ONLINE ycweb1 ora.ycweb2.gsd application ONLINE ONLINE ycweb2 ora.ycweb2.ons application ONLINE ONLINE ycweb2 ora.ycweb2.vip application ONLINE ONLINE ycweb2 [orasrv@ycweb2 ~]$
七、安装oracle补丁(升级补丁到10.2.0.5.0)
以orasrv用户到DISK1目录下执行./runInstaller,该过程会顺利执行完成,并根据脚本提示两节点分别执行。 八、创建数据库 1、创建监听
以orasrv用户执行netca
点击NEXT
点击NEXT
点击NEXT