- [root@rac1 ~]# cat /etc/redhat-release
- Red Hat Enterprise Linux Server release 5.4 (Tikanga)
- [root@rac1 ~]# uname -a
- Linux rac1 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:48 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
看下面的告警日志:
- 2012-12-22 23:10:22.713
- [cssd(5414)]CRS-1604:CSSD 表决文件脱机: /dev/raw/raw4。详细资料见 /u01/app/oracle/product/10.2.0/crs/log/rac1/cssd/ocssd.log
- vi /u01/app/oracle/product/10.2.0/crs/log/rac1/cssd/ocssd.log
- [ CSSD]2012-12-22 23:10:19.882 >USER: Oracle Database 10g CSS Release 10.2.0.1.0 Production Copyright 1996, 2004 Oracle. All rights reserved.
- [ CSSD]2012-12-22 23:10:19.882 >USER: CSS daemon log for node rac1, number 1, in cluster crs
- [ CSSD]2012-12-22 23:10:19.905 [441742528] >TRACE: clssscmain: local-only set to false
- [ CSSD]2012-12-22 23:10:19.944 [441742528] >TRACE: clssnmReadNodeInfo: added node 1 (rac1) to cluster
- [ CSSD]2012-12-22 23:10:19.969 [441742528] >TRACE: clssnmReadNodeInfo: added node 2 (rac2) to cluster
- [ clsdmt]Listening to (ADDRESS=(PROTOCOL=ipc)(KEY=rac1DBG_CSSD))
- [ CSSD]2012-12-22 23:10:20.510 [1098017088] >TRACE: clssnm_skgxnmon: skgxn init failed, rc 1
- [ CSSD]2012-12-22 23:10:20.510 [441742528] >TRACE: clssnm_skgxnonline: Using vacuous skgxn monitor
- [ CSSD]2012-12-22 23:10:20.516 [441742528] >TRACE: clssnmInitNMInfo: misscount set to 60
- [ CSSD]2012-12-22 23:10:20.529 [441742528] >TRACE: clssnmDiskStateChange: state from 1 to 2 disk (0//dev/raw/raw4)
- [ CSSD]2012-12-22 23:10:22.686 [1098017088] >TRACE: clssnmvDiskOpen: corrupt kill block on disk (0x00!=0x636c73536b696c4c)
- [ CSSD]2012-12-22 23:10:22.686 [1098017088] >TRACE: clssnmDiskStateChange: state from 2 to 3 disk (0//dev/raw/raw4)
在每个节点上执行下面的命令:
- raw /dev/raw/raw1 8 17
- raw /dev/raw/raw2 8 33
- raw /dev/raw/raw3 8 49
- raw /dev/raw/raw4 8 65
重新启动crs,crs成功启动
- [root@rac1 crs]# bin/crsctl start crs
- [root@rac1 crs]# bin/crsctl check crs
- CSS appears healthy
- CRS appears healthy
- EVM appears healthy
- [root@rac1 crs]# bin/crs_stat -t -v
- Name Type R/RA F/FT Target State Host
- ----------------------------------------------------------------------
- ora....C1.lsnr application 0/5 0/0 ONLINE ONLINE rac1
- ora.rac1.gsd application 0/5 0/0 ONLINE ONLINE rac1
- ora.rac1.ons application 0/3 0/0 ONLINE ONLINE rac1
- ora.rac1.vip application 0/0 0/0 ONLINE ONLINE rac1
- ora....C2.lsnr application 0/5 0/0 ONLINE OFFLINE
- ora.rac2.gsd application 0/5 0/0 ONLINE OFFLINE
- ora.rac2.ons application 0/3 0/0 ONLINE OFFLINE
- ora.rac2.vip application 0/0 0/0 ONLINE ONLINE rac1
以上错误归根于redhat5的自动映射出现问题,要将以下命令加到每个节点的/etc/rc.local中
- raw /dev/raw/raw1 8 17
- raw /dev/raw/raw2 8 33
- raw /dev/raw/raw3 8 49
- raw /dev/raw/raw4 8 65