環境: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 ...
環境: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文件導致的。
看來以後得加強溝通了!