vmware 中实验 RHLE 5 Oracle RAC 10.2.0.1 升级到 10.2.0.4 遇到的问题

[复制链接]
查看11 | 回复9 | 2011-11-1 16:19:41 | 显示全部楼层 |阅读模式
本帖最后由 guxiang818 于 2012-11-20 13:16 编辑
请教一下各位大侠,因为要给生产环境升级,所以先在虚拟机里面进行了升级测试,但是升级过程中遇到操作系统重启的现象。
升级Clusterware的过程是没有问题的,接着通过OUI升级database软件,在这个过程中操作系统总是会重启,造成OUI升级失败。
经过多次尝试后发现,如果升级database软件前,将CRS守护进程停掉后再通过OUI升级,就不会发生操作系统重启的现象。
但是根据官方文档的描述,并没有要求升级database软件前要停止CRS守护进程,官方描述如下:

8.8.3 Stopping All Processes for an Oracle RAC Installation
Shut down the following Oracle Database 10g processes before installing the patch set:
1.Shut down all processes in the Oracle home on each node that might be accessing a database, for example Oracle Enterprise Manager Database Control or iSQL*Plus:
$ emctl stop dbconsole
$ isqlplusctl stop
2.Shut down all services in the Oracle home on each node that might be accessing a database:
$ srvctl stop service -d db_name [-s service_name_list [-i inst_name]]
3.Shut down all Oracle RAC instances on the nodes, which run from the Oracle home on which you are going to apply the patch set. To shut down all Oracle RAC instances for a database,
enter the following command where db_name is the name of the database:
$ srvctl stop database -d db_name
4.If Automatic Storage Management instance is present, then shut down all Automatic Storage Management instances on all nodes. To shut down an Automatic Storage Management instance,
enter the following command where node is the name of the node where the Automatic Storage Management instance is running:
$ srvctl stop asm -n node
This must be done only when patching the home from where Oracle ASM runs. It is recommended that Oracle ASM run from a different ORACLE_HOME than the database.
5.Stop any listeners that are running from the Oracle home that you are patching on all nodes. To stop the listener running on a node, enter the following command, where node is the name
of the node where the listener is running:
$ srvctl stop listener -n node [-l listenername]
不知道是不是需要在database升级前停止CRS守护进程.

回复

使用道具 举报

千问 | 2011-11-1 16:19:41 | 显示全部楼层
昨日刚升级完。
db软件升级前,crs_stop -all 确认都停了即可。
我得环境是redhat5.5+emc
回复

使用道具 举报

千问 | 2011-11-1 16:19:41 | 显示全部楼层
谢谢这位朋友,真的很感谢。
回复

使用道具 举报

千问 | 2011-11-1 16:19:41 | 显示全部楼层
能否再请教一下,如果clusterware升级错误或者database软件升级错误,是不是利用之前对CRS_HOME和ORACLE_HOME的tar备份,进行恢复就可?
回复

使用道具 举报

千问 | 2011-11-1 16:19:41 | 显示全部楼层
dbwyl 发表于 2012-11-20 14:12
昨日刚升级完。
db软件升级前,crs_stop -all 确认都停了即可。
我得环境是redhat5.5+emc

谢谢这位朋友
能否再请教一下,如果clusterware升级错误或者database软件升级错误,是不是利用之前对CRS_HOME和ORACLE_HOME的tar备份,进行恢复就可?
回复

使用道具 举报

千问 | 2011-11-1 16:19:41 | 显示全部楼层
本帖最后由 dbwyl 于 2012-11-20 14:45 编辑
理论上是的。
升级主要是写rac1和rac2的crs_home和oracle_home,ASM在盘阵上,最后升级实例才用到。
以防万一,备份整个oracle_base。
回复

使用道具 举报

千问 | 2011-11-1 16:19:41 | 显示全部楼层
dbwyl 发表于 2012-11-20 14:45
理论上是的。
升级主要是写rac1和rac2的crs_home和oracle_home,ASM在盘阵上,最后升级实例才用到。
以防 ...

明白了,谢谢您了
回复

使用道具 举报

千问 | 2011-11-1 16:19:41 | 显示全部楼层
重启有2种可能:
1、时间不同步。请用ntp同步。
2、vmware的问题。请用vbox。
回复

使用道具 举报

千问 | 2011-11-1 16:19:41 | 显示全部楼层
rac时间同步很重要。
回复

使用道具 举报

千问 | 2011-11-1 16:19:41 | 显示全部楼层
节点重启和升级数据库根本就没关系,重启是因为某些条件导致crs重启了主机,比如两节点时间不同步,心跳段了,内存不足等等,不需要关闭crs或者执行crs_stop -all
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行