ITPub博客

首页 > Linux操作系统 > Linux操作系统 > 处理oracle 10g rac心跳网卡变更一例

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

原创 Linux操作系统 作者:xfxyxh 时间:2008-07-25 10:33:17 0 删除 编辑

        一天sa打电话来说有台机器宕了,问我们是不是有数据库出问题了,引起了主机的宕机,赶紧登上去,tail一下alter.log,发现数据库启动时报下面错误:
Interface type 1 eth1 192.168.11.0 configured from OCR for use as a cluster interconnect
WARNING 192.168.11.0 could not be translated to a network address error 1
Interface type 1 eth0 10.23.11.0 configured from OCR for use as  a public interface
Cluster communication is configured to use the following interface(s) for this instance
  10.23.11.33
        意思就是说私有网络192.168.11.0不能通信,现在集群使用共有网10.23.11.33
进行通信,联想到前几天主机的网卡坏了,把私有网卡换了一个,是不是这个引起的,ifconfig看了一下,私有网卡信息如下:
eth2      Link encap:Ethernet  HWaddr 00:0C:22:3A:92:EF 
          inet addr:192.168.11.33  Bcast:192.168.11.255  Mask:255.255.255.0
        现在已经变成了eth2,看下ocr配置里使用的是那个网卡:oifcfg iflist -p -n,结果如下:
eth0  10.23.11.0  PRIVATE  255.255.255.0
eth1  192.168.11.0 PRIVATE  255.255.255.0
       这里的配置用的还是ech1,当然就报错了
       先把eth1的删掉:oifcfg delif -node oc1 eth1/192.168.11.0
       然后把eth2加进去:oifcfg setif -node oc1 eth2/192.168.11.0:cluster_interconnect
       重启了一下库srvctl stop database -d dba  srvctl start database -d dba
       后台不再报错,原来上次网卡坏了后,把心跳IP换到另外一个空闲网卡上去了,当时处理问题的同时没想到这点,以为IP一样就可以了,呵呵,一个教训。

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

下一篇: SCN概念(转)
请登录后发表评论 登录
全部评论

注册时间:2007-12-13

  • 博文量
    21
  • 访问量
    92412