ORACLE 10gR2 RAC升级至10.2.0.4-(2)安装clusterware补丁集

二、安装clusterware补丁集

  首先以oracle用户登陆到视窗界面(如果以root用户登陆后su到oracle下的话,注意设置环境变量DISPLAY,或在执行su命令前执行xhost +命令),找到补丁包的路径,执行runInstaller即可:

[root@jssdbn1 ~]# xhost +

access control disabled, clients can connect from any host

[root@jssdbn1 ~]# su - oracle

[oracle@jssdbn1 ~]$ cd /data/software/oraupdate/Disk1/

[oracle@jssdbn1 Disk1]$ ./runInstaller 

Starting Oracle Universal Installer...

Checking installer requirements...

Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2

                                      Passed

.........................

.........................

  弹出OUI的欢迎窗口如下,直接点击下一步:

7607759_200912091051451.jpg

  选择软件的目录,这里我们要首先选择OraCrs10g的主目录,点击Name中的下拉框:

7607759_200912091051452.jpg

  OUI 自动选中的cluster的安装方式,并选中了所有可用的节点:

7607759_200912091051453.jpg

  安装环境的检查,如无异常,直接点击下一步即可:

7607759_200912091051454.jpg

  显示摘要信息,如无异常点击install:

7607759_200912091051455.jpg

  文件复制中:

7607759_200912091051456.jpg

  提示安装结束:

7607759_200912091051457.jpg

  图形界面操作完成,不过认真看了窗口中提示信息的朋友(就是Please remember下面的信息),会发现接下来还需要执行两个命令,具体操作如下:

  首先在节点1上执行下列命令,注意是root用户执行哟:

[root@jssdbn1 software]#  /data/ora10g/product/10.2.0/crs_1/bin/crsctl stop crs

Stopping resources.

Successfully stopped CRS resources 

Stopping CSSD.

Shutting down CSS daemon.

Shutdown request successfully issued.

[root@jssdbn1 software]#  /data/ora10g/product/10.2.0/crs_1/install/root102.sh 

Creating pre-patch directory for saving pre-patch clusterware files

Completed patching clusterware files to /data/ora10g/product/10.2.0/crs_1

Relinking some shared libraries.

Relinking of patched files is complete.

WARNING: directory ¨/data/ora10g/product/10.2.0¨ is not owned by root

WARNING: directory ¨/data/ora10g/product¨ is not owned by root

WARNING: directory ¨/data/ora10g¨ is not owned by root

WARNING: directory ¨/data¨ 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 :   

node 1: jssdbn1 jssdbn1-priv jssdbn1

Creating OCR keys for user ¨root¨, privgrp ¨root¨..

Operation successful.

clscfg -upgrade completed successfully

  随后,在节点2上执行相同命令,操作如下:

[root@jssdbn2 ~]#  /data/ora10g/product/10.2.0/crs_1/bin/crsctl stop crs

Stopping resources.

Successfully stopped CRS resources 

Stopping CSSD.

Shutting down CSS daemon.

Shutdown request successfully issued.

[root@jssdbn2 ~]#  /data/ora10g/product/10.2.0/crs_1/install/root102.sh 

Creating pre-patch directory for saving pre-patch clusterware files

Completed patching clusterware files to /data/ora10g/product/10.2.0/crs_1

Relinking some shared libraries.

Relinking of patched files is complete.

WARNING: directory ¨/data/ora10g/product/10.2.0¨ is not owned by root

WARNING: directory ¨/data/ora10g/product¨ is not owned by root

WARNING: directory ¨/data/ora10g¨ is not owned by root

WARNING: directory ¨/data¨ 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 :   

node 2: jssdbn2 jssdbn2-priv jssdbn2

Creating OCR keys for user ¨root¨, privgrp ¨root¨..

Operation successful.

clscfg -upgrade completed successfully

查看之前的文章:

=====================================

ORACLE 10gR2 RAC升级至10.2.0.4-(1)停止相关进程

fj.pngcrs_01.JPG

fj.pngcrs_02.JPG

fj.pngcrs_03.JPG

fj.pngcrs_04.JPG

fj.pngcrs_05.JPG

fj.pngcrs_06.JPG

fj.pngcrs_07.JPG

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/7607759/viewspace-622012/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/7607759/viewspace-622012/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值