rac一节点crs启动不起来
系统环境:suse 10 sp2
数据库版本:10.2.0.4.0
存储:raw+asm
故障:节点一crs无法启动,节点二正常
RAC1:/oracle_crs/product/10.2/crs/bin # ./olsnodes -n
rac1 1
rac2 2
RAC2:/oracle_crs/product/10.2/crs/bin # ./crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora.orcl.db application ONLINE ONLINE rac2
ora....l1.inst application ONLINE OFFLINE
ora....l2.inst application ONLINE ONLINE rac2
ora....SM1.asm application ONLINE OFFLINE
ora....C1.lsnr application ONLINE OFFLINE
ora.rac1.gsd application ONLINE OFFLINE
ora.rac1.ons application ONLINE OFFLINE
ora.rac1.vip application ONLINE ONLINE rac2
ora....SM2.asm application ONLINE ONLINE rac2
ora....C2.lsnr application ONLINE ONLINE rac2
ora.rac2.gsd application ONLINE ONLINE rac2
ora.rac2.ons application ONLINE ONLINE rac2
ora.rac2.vip application ONLINE ONLINE rac2
hosts配置;
节点一:
RAC1:~ # cat /etc/hosts | grep -v ^#|grep -v ^$
127.0.0.1 localhost
::1 localhost ipv6-localhost ipv6-loopback
fe00::0 ipv6-localnet
ff00::0 ipv6-mcastprefix
ff02::1 ipv6-allnodes
ff02::2 ipv6-allrouters
ff02::3 ipv6-allhosts
192.168.1.23 RAC1
192.168.1.25 RAC2
10.10.10.1 RAC1-priv
10.10.10.2 RAC2-priv
192.168.1.24 RAC1-vip
192.168.1.26 RAC2-vip
节点二:
RAC2:~ # cat /etc/hosts| grep -v ^#|grep -v ^$
127.0.0.1 localhost
::1 localhost ipv6-localhost ipv6-loopback
fe00::0 ipv6-localnet
ff00::0 ipv6-mcastprefix
ff02::1 ipv6-allnodes
ff02::2 ipv6-allrouters
ff02::3 ipv6-allhosts
192.168.1.23 RAC1
192.168.1.25 RAC2
10.10.10.1 RAC1-priv
10.10.10.2 RAC2-priv
192.168.1.24 RAC1-vip
192.168.1.26 RAC2-vip
网络
节点一:
RAC1:/oracle_crs/product/10.2/crs/bin # ./oifcfg getif
eth0 192.168.1.0 global public
eth1 10.10.10.0 global cluster_interconnect
节点二:
RAC2:/oracle_crs/product/10.2/crs/bin # ./oifcfg getif
eth0 192.168.1.0 global public
eth1 10.10.10.0 global cluster_interconnect
存储:
节点一:
RAC1:~ # ll /dev/raw/
total 0
crw-rw---- 1 root oinstall 162, 1 Feb 1 10:55 raw1
crw-rw---- 1 root oinstall 162, 2 Feb 1 10:55 raw2
crw-rw---- 1 oracle oinstall 162, 3 Feb 1 14:17 raw3
crw-rw---- 1 oracle oinstall 162, 4 Feb 1 14:17 raw4
crw-rw---- 1 oracle oinstall 162, 5 Feb 1 14:17 raw5
节点二:
RAC2:~ # ll /dev/raw/
total 0
crw-rw---- 1 root oinstall 162, 1 Feb 1 14:17 raw1
crw-rw---- 1 root oinstall 162, 2 Feb 1 14:17 raw2
crw-rw---- 1 oracle oinstall 162, 3 Feb 1 14:17 raw3
crw-rw---- 1 oracle oinstall 162, 4 Feb 1 14:17 raw4
crw-rw---- 1 oracle oinstall 162, 5 Feb 1 14:17 raw5
ocr信息:
RAC1:/oracle_crs/product/10.2/crs/bin # ./ocrcheck
Status of Oracle Cluster Registry is as follows :
Version : 2
Total space (kbytes) : 511264
Used space (kbytes) : 3848
Available space (kbytes) : 507416
ID : 1274702016
Device/File Name : /dev/raw/raw1
Device/File integrity check succeeded
Device/File Name : /dev/raw/raw2
Device/File integrity check succeeded
Cluster registry integrity check succeeded
RAC2:/oracle_crs/product/10.2/crs/bin # ./ocrcheck
Status of Oracle Cluster Registry is as follows :
Version : 2
Total space (kbytes) : 511264
Used space (kbytes) : 3848
Available space (kbytes) : 507416
ID : 1274702016
Device/File Name : /dev/raw/raw1
Device/File integrity check succeeded
Device/File Name : /dev/raw/raw2
Device/File integrity check succeeded
Cluster registry integrity check succeeded
节点一在断电后,重启服务器在启crs启动不起来。
附件为日志信息
具体过程见:http://t.askmaclean.com/thread-279-1-1.html
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/22779291/viewspace-715844/
,如需转载,请注明出处,否则将追究法律责任。