处理oracle 10g rac心跳网卡变更一例(转)

一天sa打电话来说有台机器宕了,问我们是不是有 数据库出问题了,引起了主机的宕机,赶紧登上去,tail一下alter.log,发现数据库启动时报下面错误:
8k$tp,I2Y nZG0Interface type 1 eth1 192.168.11.0 configured from OCR for use as a cluster interconnect ITPUB个人空间/~%C1uYs0A1x:Rv
WARNING 192.168.11.0 could not be translated to a network address error 1 ITPUB个人空间d'^e$F H6~XPH
Interface type 1 eth0 10.23.11.0 configured from OCR for use as a public interface ITPUB个人空间B_;aUK8@
Cluster communication is configured to use the following interface(s) for this instance ITPUB个人空间Z!H5L1_-e"H,DP
10.23.11.33 ITPUB个人空间w[g\S%]j(Y.c
意思就是说私有网络192.168.11.0不能通信,现在集群使用共有网10.23.11.33 ITPUB个人空间ND0dr#t G
进行通信,联想到前几天主机的网卡坏了,把私有网卡换了一个,是不是这个引起的,ifconfig看了一下,私有网卡信息如下: ITPUB个人空间SD2SjBw D
eth2 Link encap:Ethernet HWaddr 00:0C:22:3A:92:EF
Qh&\G R6_ K0 inet addr:192.168.11.33 Bcast:192.168.11.255 Mask:255.255.255.0 ITPUB个人空间Z {)a zV%B{ vG
现在已经变成了eth2,看下ocr配置里使用的是那个网卡:oifcfg iflist -p -n,结果如下:
7_agA,ler%zg0eth0 10.23.11.0 PRIVATE 255.255.255.0 ITPUB个人空间)C7s"V\G%cO*K
eth1 192.168.11.0 PRIVATE 255.255.255.0 ITPUB个人空间#@3Z1u-Z9]Q+R
这里的配置用的还是ech1,当然就报错了 ITPUB个人空间a Gg:sl5e['r\/O
先把eth1的删掉:oifcfg delif -node oc1 eth1/192.168.11.0 ITPUB个人空间x/e2w@&V Me
然后把eth2加进去:oifcfg setif -node oc1 eth2/192.168.11.0:cluster_interconnect ITPUB个人空间{"M*[P'`P-ZG8o
重启了一下库srvctl stop database -d dba srvctl start database -d dba ITPUB个人空间7lw a@w"|'q/I
后台不再报错,原来上次网卡坏了后,把心跳IP换到另外一个空闲网卡上去了,当时处理问题的同时没想到这点,以为IP一样就可以了,呵呵,一个教训。

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/7836777/viewspace-723561/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/7836777/viewspace-723561/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值