`
wsql
  • 浏览: 12111555 次
  • 性别: Icon_minigender_1
  • 来自: 深圳
文章分类
社区版块
存档分类
最新评论

Troubleshoot CRS 10.2.0.4 on EL5

阅读更多

昨天浪费了大半天时间升级10.2.0.1 to 10.2.0.4,平台是RHEL5,Kernel信息:

Linux xxx 2.6.18-8.0.0.4.1.el5 #1 SMP Tue Jun 5 23:09:11 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux

考虑到目前可能会有不少同学都要升级10201到10204或者更高的patchset,所以把昨天遇到的问题和troubleshooting的方法总结在这里:

install 10201 clustereare on /u01/app/cluster/crs
then 10201 RAC software on /u01/app/base/product/11g

upgrade 10204 cluster first,结束的时候,提示需要在每个节点按照顺序执行 crsctl stop crs; $CRS_HOME/install/root102.sh

问题就出在这里,有的时候,root102.sh在有些节点可能因为一些原因失败,最常见的就是timeout,这个时候cssd起来了,但是crsd无法正常启动。这个时候的状态是:
已经运行root102.sh的节点已经完成了升级,crs的software版本(crsctl query crs softwareversion)和active版本(crsctl query crs activeversion)都已经是10204了,但是别的节点software version是10204,但是activeversion仍然是10201

失败了以后,要重新在失败的节点上执行root102.sh,不能直接再次运行,需要作一些修改,恢复到运行root102.sh之前的状态,需要作如下修改:
1)从没有运行过root102.sh的节点上,打包 $CRS_HOME/install/patch102目录,并放在$CRS_HOME/install目录下 (运行过root102.sh一次之后,这个目录就不见了,所以为了稳妥起见,在运行最后一个节点的root102.sh之前,把这个目录备份一次,否则你就没地方找去了)
2)修改这个目录的属性为:oinstall,注意用 chown -Rf,确保子目录的权限也得到修改
3)改名或者删除CRS_HOME/install目录下生成的prepatch10204目录,make.log和files10204.log,这些都是root102.sh脚本运行的中间产物
4)修改$CRS_HOME/install目录下的文件属性为之前的用户和组。
5)把所有的clusterware相关的进程杀掉,可以用 ps -ef | grep -e d.bin 查看这些进程。
6)再次运行root102.sh

如果用上面的方法运行,依然无法成功的话,那么就把其余节点的crs stack 用crsctl stop crs停止,然后重复上面的步骤,再次运行,直到成功。

因为patchset是没法回退的,所以如果root102.sh一直无法成功的话,最差的办法,就是卸载之前的10201+10204 (both crs and rac),然后重新进行安装,这是我们最不希望看到的,所以按照之前的方法,多尝试几次。就会成功的。如果不幸,在这期间,你的节点重启了,也不要紧,节点回来以后,还是按照这个方法进行。最后升级成功:


[root@xxxxxx install]# pwd
/u01/app/cluster/crs/install
[root@xxxxxx install]# ls -lrt
total 260
-rwxr-xr-x 1 ractest oinstall 0 Feb 23 2005 install.incl
-rwxr-xr-x 1 ractest oinstall 38 Apr 20 2005 install.excl
-rw-rw-r-- 1 ractest oinstall 2808 Jul 14 2005 templocal
-rwxr-xr-x 1 ractest oinstall 4408 Apr 20 2006 rootaddnode.sbs
-rwxr-xr-x 1 ractest oinstall 1119 Oct 10 2007 cmdllroot.sh
-rw-rw---- 1 ractest oinstall 651 Aug 3 06:09 paramfile.crs
-rw-rw---- 1 ractest oinstall 42 Aug 3 06:10 cluster.ini
-rw-rw---- 1 ractest oinstall 179 Aug 3 06:10 envVars.properties
-rwxr-xr-x 1 ractest oinstall 17916 Aug 3 06:59 rootupgrade
-rwxr-xr-x 1 ractest oinstall 3642 Aug 3 06:59 rootinstall
-rwxr-xr-x 1 ractest oinstall 12842 Aug 3 06:59 rootdelete.sh
-rwxr-xr-x 1 ractest oinstall 3963 Aug 3 06:59 rootdeletenode.sh
-rwxr-xr-x 1 ractest oinstall 8261 Aug 3 06:59 rootdeinstall.sh
-rwxr-xr-x 1 ractest oinstall 32954 Aug 3 06:59 rootconfig
-rwxr-xr-x 1 ractest oinstall 24798 Aug 3 06:59 root102.sh
-rwxr-xr-x 1 ractest oinstall 5668 Aug 3 06:59 preupdate.sh
-rw-rw-r-- 1 ractest oinstall 10019 Aug 3 06:59 rootlocaladd
drwxr-xr-x 32 ractest oinstall 4096 Aug 3 08:54 prepatch10204
-rw-r--r-- 1 root root 67039 Aug 3 08:54 files10204.log
-rw-rw---- 1 ractest oinstall 8025 Aug 3 08:55 make.log
drwxrwx--- 2 ractest oinstall 4096 Aug 4 01:47 checkpoints
[root@xxxxxx install]#

分享到:
评论

相关推荐

    Fortigate防火墙抓包命令

    例如,抓包IP地址10.2.22.21与202.103.24.68之间所有的DNS通信,可以使用以下命令: FG200D3915807028 # diagnose sniffer packet any 'port 53 and host 10.2.22.21 and 202.103.24.68' 输出结果示例: ...

    6.3.4-packet-tracer---troubleshoot-etherchannel.pka

    6.3.4-packet-tracer---troubleshoot-etherchannel.pka

    troubleshoot_4.14MB.zip

    对于“troubleshoot_4.14MB.zip”这个压缩包,可能是包含了一份无线网络故障排查的指南或工具。解压后,我们可以找到具体的步骤和工具来帮助解决无线网络的问题。这可能包括详细的故障排除流程、配置示例、诊断脚本...

    Pro.SQL.Server.Always.On.Availability.Groups.1484220706.epub

    This book is your field guide to planning, deploying, managing, and troubleshooting Always On Availability Groups. The Always On Availability Groups feature is an enterprise-level solution for high ...

    [手工整理]208个Oracle安装文档,包含各个平台各个版本的单实例RAC以及DataGuard(1).xlsx

    1 ADG 11.2 dg部署测试 2 ADG 12c Cascaded-...125 RAC Installation walk-through - Oracle Grid-RAC 11.2.0.4 on Oracle Linux 7 126 RAC install-Oracle-11gR2-RAC-on-HP-UX-11.31 127 RAC linux 7.2 Oracle 1

    Java 9 High Performance(pdf、epub、源码合集,英文版)

    Chapter 1, Learning Java 9's Underlying Performance Improvements Chapter 2, Identifying Performance Bottlenecks Chapter 3, Learning How to Troubleshoot Code ......

    troubleshoot

    根据提供的标题、描述以及部分配置内容,我们可以深入探讨与网络排错相关的几个关键知识点,特别是针对上述路由器配置中出现的问题。 ### 网络基础知识回顾 #### 1....在配置文件中可以看到多个IP地址及其对应的子网...

    Learn CentOS Linux Network Services

    This book teaches you to set up the latest CentOS Linux network services including DNS, DHCP, SSH and VNC, Web, FTP, Mail, Firewall, and LDAP, enabling you to provide these services on your own ...

    SettingsHandlers_Troubleshoot.dll

    SettingsHandlers_Troubleshoot

    troubleshoot.rar

    新版本troubleshoot(文件大小4.14MB)在保留原有功能外,还增加如下功能: 1、支持修改智能交换机的管理vlan 2、支持修改智能交换机网口状态、速率、接口类型、vlan属性等配置 注意:仅支持修改SW2.6(NAC3.8.0.3...

    Learning PostgreSQL(PACKT,2015)

    It then moves on to covering data definition language (DDL) with emphasis on PostgreSQL and common DDL commands supported by ANSI SQL. You will then learn the data manipulation language (DML), and ...

    Double Recorder and Go-devil.pdf

    Information in this manual should enable qualified personnel to install, operate and troubleshoot this system. Every effort has been made to ensure the accuracy of the information contained herein.

    SERV2_03C_Troubleshoot.ppt

    SERV2_03C_Troubleshootppt,SERV2_03C_Troubleshoot

    wireshark数据包分析实战(第二版)+源码.rar

    Practical Packet Analysis will teach you to make sense of your packet captures so that you can better troubleshoot network problems. You’ll find added coverage of IPv6 and SMTP, a new chapter on the ...

    4.4.8- Troubleshoot Inter-VLAN Routing

    4.4.8 Packet Tracer - Troubleshoot Inter-VLAN Routing Cisco Packet Tracer 思科模拟器 正确答案文件 可直接上交正确答案文件 本答案版权归mewhaku所有,严禁再次转载!!! Copyright @mewhaku 2022 All ...

    SQL Server AlwaysOn Revealed(Apress,2ed,2016)

    Get a fast start to using AlwaysOn, the SQL Server solution to high-availability and disaster recovery. This second edition is newly-updated to cover the 2016 editions of both SQL Server and Windows ...

Global site tag (gtag.js) - Google Analytics