V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
bestsanmao
V2EX  ›  问与答

DO (Digital Ocean) 新出的 Floating IP 功能是干什么用的,没太看明白!

  •  
  •   bestsanmao · 2015-10-21 09:02:20 +08:00 · 4818 次点击
    这是一个创建于 3104 天前的主题,其中的信息可能已经有所发展或是发生改变。
    今天收到 DO 的推广邮件,说是出新功能了,新功能叫 Floating IP ,点进去看了半天没看明白到底干什么用的
    谁清楚?麻烦讲解一下!
    6 条回复    2015-10-21 12:54:52 +08:00
    jasontse
        1
    jasontse  
       2015-10-21 09:24:41 +08:00 via iPad
    IP 层面的 HA ,主机挂了 IP 切到备机上,有点类似 VRRP 。
    Moker
        2
    Moker  
       2015-10-21 09:25:30 +08:00
    @jasontse 那这个似乎是能用它的当作备机?感觉还是 DNS 切好啊
    tobyxdd
        3
    tobyxdd  
       2015-10-21 09:26:06 +08:00 via Android
    A floating IP address is used to support failover in a high-availability cluster. The cluster is configured such that only the active member of the cluster "owns" or responds to that IP address at any given time. Should the active member fail, then "ownership" of the floating IP address would be transferred to a standby member to promote it as the new active member. Specifically, the member to be promoted issues a gratuitous ARP, announcing the new MAC address – to – IP address association.
    tobyxdd
        4
    tobyxdd  
       2015-10-21 09:26:31 +08:00 via Android
    dns 切毕竟生效慢
    jasontse
        5
    jasontse  
       2015-10-21 09:27:10 +08:00 via iPad
    @Moker DNS 有 TTL Cache 切换不及时,这个是备机直接接管 IP 。
    nyacat
        6
    nyacat  
       2015-10-21 12:54:52 +08:00 via Android
    貌似有点想 Linode 的 ip clone?
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2870 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 08:06 · PVG 16:06 · LAX 01:06 · JFK 04:06
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.