Oracle 12c RAC VIP和监听故障

环境:AIX 7.1,Oracle 12.1.0.2 rac -3节点。

硬件故障后,硬件工程师更换了内联网卡,不知为何资源VIP也有问题,只好先添加了VIP

srvctl add vip -node rac-wy1 -address rac-wy1-vip.nsn.com/255.255.255.0/en8

修改了下nodeapps

srvctl modify nodeapps -node  rac-wy1 -address 10.48.186.99/255.255.255.0/en8

启动listener

srvctl start listener -node rac-wy1

报告故障。

--

查了不少资料,没有什么特别收获。

看了下grid下listener.ora中配置串出现问题,居然和gv$configured_interconnects中的不一致,也不知道那个狗蛋修改的!

不管了,先按照gv$的来修改吧,然后重启,结果ok!

-----

返回过来看,使用ifconfig -a查看:

rac-wy1.nsn.com:/oracle/app/12.1.0.2/grid/network/admin$ifconfig -a
en13: flags=5e080863,18c0<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,CHECKSUM_OFFLOAD(ACTIVE),PSEG,LARGESEND,CHAIN>
        inet 192.168.240.24 netmask 0xffffff00 broadcast 192.168.240.255
        tcp_sendspace 131072 tcp_recvspace 65536 rfc1323 1
en7: flags=1e080863,c0<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,CHECKSUM_OFFLOAD(ACTIVE),LARGESEND,CHAIN>
        inet 192.168.4.1 netmask 0xffffff00 broadcast 192.168.4.255
        inet 169.254.214.140 netmask 0xffff8000 broadcast 169.254.255.255
        tcp_sendspace 262144 tcp_recvspace 262144 rfc1323 1
en9: flags=1e084863,c0<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,CHECKSUM_OFFLOAD(ACTIVE),LARGESEND,CHAIN>
        inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255
        inet 169.254.39.147 netmask 0xffff8000 broadcast 169.254.127.255
        tcp_sendspace 262144 tcp_recvspace 262144 rfc1323 1
en8: flags=1e084863,18c0<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,CHECKSUM_OFFLOAD(ACTIVE),LARGESEND,CHAIN>
        inet 10.48.186.96 netmask 0xffffff00 broadcast 10.48.186.255
        inet 10.48.186.102 netmask 0xffffff00 broadcast 10.48.186.255
        inet 10.48.186.99 netmask 0xffffff00 broadcast 10.48.186.255
        tcp_sendspace 262144 tcp_recvspace 262144 rfc1323 1
lo0: flags=e08084b,c0<UP,BROADCAST,LOOPBACK,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,LARGESEND,CHAIN>
        inet 127.0.0.1 netmask 0xff000000 broadcast 127.255.255.255
        inet6 ::1%1/0
        tcp_sendspace 131072 tcp_recvspace 131072 rfc1323 1

从这个看,public,vip,scan在一个网卡上;而私有(内联)的,居然和LISTENER在一个卡上(被更换的)。

按照推测,应该是更换网卡之后,修改了这个ip(不确定是系统自己分配的,还是工程师修改的),但是没有修改grid的listener.ora文件导致的。

看来以后得加强沟通了!

相关推荐