手机版
你好,游客 登录 注册 搜索
背景:
阅读新闻

VMware 下Oracle RAC搬家引起CRS-1006/CRS-0215/CRS-0233

[日期:2013-01-04] 来源:Linux社区  作者:Robinson [字体:大 中 小]
4、解决故障
#将网卡统一重命名,方法参照:http://www.linuxidc.com/Linux/2013-01/77309.htm
#下面是重命名后的结果
Oracle@bo2dbp:~> oifcfg iflist
bond1 192.168.7.0
bond2 10.10.7.0
oracle@bo2dbs:~> oifcfg iflist
bond1 192.168.7.0
bond2 10.10.7.0

#下面的查询中集群层的public与cluster_interconnect还是之前的配置信息
#应该需要改成一致,此处我们先不改,看看会出现什么错误
oracle@bo2dbp:~> oifcfg getif -global
eth3 192.168.7.0 global public
eth4 10.10.7.0 global cluster_interconnect
oracle@bo2dbs:~> oifcfg getif -global
eth3 192.168.7.0 global public
eth4 10.10.7.0 global cluster_interconnect

#重新启动crs
oracle@bo2dbp:~> sudo -s /u01/oracle/crs/bin/crsctl start crs
root'''s password:
Attempting to start CRS stack
The CRS stack will be started shortly

#下面的查询表明crs后台进程正常
oracle@bo2dbp:~> crsctl check crs
CSS appears healthy
CRS appears healthy
EVM appears healthy

#下面查询的结果还是跟以前一样
oracle@bo2dbp:~> ./crs_stat.sh |grep bo2dbp
Resource name Target State
-------------- ------ -----
ora.bo2dbp.ASM1.asm ONLINE ONLINE on bo2dbp
ora.bo2dbp.LISTENER_BO2DBP.lsnr ONLINE OFFLINE
ora.bo2dbp.LISTENER_ORA10G_BO2DBP.lsnr ONLINE OFFLINE
ora.bo2dbp.gsd ONLINE ONLINE on bo2dbp
ora.bo2dbp.ons ONLINE OFFLINE
ora.bo2dbp.vip ONLINE OFFLINE
ora.ora10g.db ONLINE ONLINE on bo2dbp
ora.ora10g.ora10g1.inst ONLINE ONLINE on bo2dbp

#将所有的资源全部关闭
oracle@bo2dbp:~> crs_stop -all

#使用oifcfg修改集群层网络配置
oracle@bo2dbp:~> oifcfg delif -global
oracle@bo2dbp:~> oifcfg getif -global
oracle@bo2dbp:~> oifcfg setif -global bond1/192.168.7.0:public
oracle@bo2dbp:~> oifcfg setif -global bond2/10.10.7.0:cluster_interconnect
oracle@bo2dbp:~> oifcfg getif -global
bond1 192.168.7.0 global public
bond2 10.10.7.0 global cluster_interconnect

#reboot之后,资源状态还是跟之前一样
#先查看vip日志信息,我们先来解决vip的问题
bo2dbp:/u01/oracle/crs/log/bo2dbp/racg # tail -50 ora.bo2dbp.vip.log
2012-12-28 11:25:13.783: [RACG][2151948784] [16581][2151948784][ora.bo2dbp.vip]:
clsrcexecut: env ORACLE_CONFIG_HOME=/u01/oracle/crs

2012-12-28 11:25:13.783: [RACG][2151948784] [16581][2151948784][ora.bo2dbp.vip]:
clsrcexecut: cmd = /u01/oracle/crs/bin/racgeut -e _USR_ORA_DEBUG=0 54 /u01/oracle/crs/bin/racgvip start bo2dbp

2012-12-28 11:25:13.783: [RACG][2151948784] [16581][2151948784][ora.bo2dbp.vip]: clsrcexecut: rc = 1, time = 3.220s

2012-12-28 11:25:16.979: [RACG][2151948784] [16581][2151948784][ora.bo2dbp.vip]:
clsrcexecut: env ORACLE_CONFIG_HOME=/u01/oracle/crs

2012-12-28 11:25:16.979: [RACG][2151948784] [16581][2151948784][ora.bo2dbp.vip]: clsrcexecut:
cmd = /u01/oracle/crs/bin/racgeut -e _USR_ORA_DEBUG=0 54 /u01/oracle/crs/bin/racgvip check bo2dbp

2012-12-28 11:25:16.979: [RACG][2151948784] [16581][2151948784][ora.bo2dbp.vip]: clsrcexecut: rc = 1, time = 3.190s

2012-12-28 11:25:16.979: [RACG][2151948784] [16581][2151948784][ora.bo2dbp.vip]: end for resource =
ora.bo2dbp.vip, action = start, status = 1, time = 6.430s

2012-12-28 11:25:23.807: [RACG][695611888] [17488][695611888][ora.bo2dbp.vip]: eth3: error
fetching interface information: Device not found #此处提示eth3没有找到,我们希望使用的是bond1
checkIf: interface eth3 is down
Invalid parameters, or failed to bring up VIP (host=bo2dbp)

2012-12-28 11:25:23.807: [RACG][695611888] [17488][695611888][ora.bo2dbp.vip]:
clsrcexecut: env ORACLE_CONFIG_HOME=/u01/oracle/crs

2012-12-28 11:25:23.807: [RACG][695611888] [17488][695611888][ora.bo2dbp.vip]: clsrcexecut:
cmd = /u01/oracle/crs/bin/racgeut -e _USR_ORA_DEBUG=0 54 /u01/oracle/crs/bin/racgvip start bo2dbp

2012-12-28 11:25:23.807: [RACG][695611888] [17488][695611888][ora.bo2dbp.vip]: clsrcexecut:
rc = 1, time = 3.220s

2012-12-28 11:25:27.018: [RACG][695611888] [17488][695611888][ora.bo2dbp.vip]: clsrcexecut:
env ORACLE_CONFIG_HOME=/u01/oracle/crs

2012-12-28 11:25:27.018: [RACG][695611888] [17488][695611888][ora.bo2dbp.vip]: clsrcexecut:
cmd = /u01/oracle/crs/bin/racgeut -e _USR_ORA_DEBUG=0 54 /u01/oracle/crs/bin/racgvip check bo2dbp

2012-12-28 11:25:27.018: [RACG][695611888] [17488][695611888][ora.bo2dbp.vip]: clsrcexecut: rc = 1, time = 3.210s

2012-12-28 11:25:27.018: [RACG][695611888] [17488][695611888][ora.bo2dbp.vip]: end for resource =
ora.bo2dbp.vip, action = start, status = 1, time = 6.450s

2012-12-28 11:25:33.822: [RACG][3600347632] [18308][3600347632][ora.bo2dbp.vip]: eth3: error
fetching interface information: Device not found #再次出现eth3没有找到的错误提示
checkIf: interface eth3 is down
Invalid parameters, or failed to bring up VIP (host=bo2dbp)

2012-12-28 11:25:33.822: [RACG][3600347632] [18308][3600347632][ora.bo2dbp.vip]: clsrcexecut:
env ORACLE_CONFIG_HOME=/u01/oracle/crs

2012-12-28 11:25:33.822: [RACG][3600347632] [18308][3600347632][ora.bo2dbp.vip]: clsrcexecut:
cmd = /u01/oracle/crs/bin/racgeut -e _USR_ORA_DEBUG=0 54 /u01/oracle/crs/bin/racgvip start bo2dbp

2012-12-28 11:25:33.822: [RACG][3600347632] [18308][3600347632][ora.bo2dbp.vip]: clsrcexecut: rc = 1, time = 3.210s

2012-12-28 11:25:37.063: [RACG][3600347632] [18308][3600347632][ora.bo2dbp.vip]: clsrcexecut:
env ORACLE_CONFIG_HOME=/u01/oracle/crs

2012-12-28 11:25:37.063: [RACG][3600347632] [18308][3600347632][ora.bo2dbp.vip]: clsrcexecut:
cmd = /u01/oracle/crs/bin/racgeut -e _USR_ORA_DEBUG=0 54 /u01/oracle/crs/bin/racgvip check bo2dbp

2012-12-28 11:25:37.063: [RACG][3600347632] [18308][3600347632][ora.bo2dbp.vip]: clsrcexecut: rc = 1, time = 3.240s

2012-12-28 11:25:37.063: [RACG][3600347632] [18308][3600347632][ora.bo2dbp.vip]: end for resource =
ora.bo2dbp.vip, action = start, status = 1, time = 6.490slinux
相关资讯       Oracle RAC  CRS-1006  CRS-0215  CRS-0233 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款