温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

oracle 10g,11g RAC中vip有什么用

发布时间:2021-11-11 10:11:34 来源:亿速云 阅读:315 作者:小新 栏目:关系型数据库

小编给大家分享一下oracle 10g,11g RAC中vip有什么用,相信大部分人都还不怎么了解,因此分享这篇文章给大家参考一下,希望大家阅读完这篇文章后大有收获,下面让我们一起去了解一下吧!

Why do we have a Virtual IP (VIP) in Oracle RAC 10g or 11g? 

  The goal is application availability.
  RAC 中VIP的目的是实现app应用的高可用 
  
    When a node fails, the VIP associated with it is automatically failed over to some other node.
    当rac系统中其中一个节点down掉时,被分配的vip会自动的故障转移到健康的节点 
When this occurs, the following things happen. 
当发生failover时,会有以下动作发生

(1) VIP detects public network failure which generates a FAN(Fast Application Notification,
FAN is an event generated by the EVM) event. 
    VIP检测网络故障产生的扇出事件   FAN事件(Fast Application Notification,FAN is an event generated by the EVM)
     
(2) the new node re-arps the world indicating a new MAC address for the IP. 
    在新的节点重新解析,表明一个新的MAC地址的IP
    
(3) connected clients subscribing to FAN immediately receive ORA-3113 error or equivalent. 
Those not subscribing to FAN will eventually time out. 
    已连接的客户端通过订制的FAN事件将迅速收到ORA3113错误,未开启FAN事件的客户端最终将超时
    
(4) New connection requests rapidly traverse the tnsnames.ora address list skipping over the dead nodes, 
instead of having to wait on TCP-IP timeouts 
   新的连接迅速请求通过tnsnames.ora文件的地址列表跳过无效的节点,而不是等待TCP-IP超时
   
    Without using VIPs or FAN, clients connected to a node that died will often wait for a TCP timeout period 
(which can be up to 10 min) before getting an error. 
如果未用vip或者FAN,连接到宕机节点的客户端在报错之前经常会等待TCP超时

以上是“oracle 10g,11g RAC中vip有什么用”这篇文章的所有内容,感谢各位的阅读!相信大家都有了一定的了解,希望分享的内容对大家有所帮助,如果还想学习更多知识,欢迎关注亿速云行业资讯频道!

向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

AI