V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
bestsanmao
V2EX  ›  问与答

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

  •  
  •   bestsanmao · Oct 21, 2015 · 5609 views
    This topic created in 3846 days ago, the information mentioned may be changed or developed.
    今天收到 DO 的推广邮件,说是出新功能了,新功能叫 Floating IP ,点进去看了半天没看明白到底干什么用的
    谁清楚?麻烦讲解一下!
    6 replies    2015-10-21 12:54:52 +08:00
    jasontse
        1
    jasontse  
       Oct 21, 2015 via iPad
    IP 层面的 HA ,主机挂了 IP 切到备机上,有点类似 VRRP 。
    Moker
        2
    Moker  
       Oct 21, 2015
    @jasontse 那这个似乎是能用它的当作备机?感觉还是 DNS 切好啊
    tobyxdd
        3
    tobyxdd  
       Oct 21, 2015 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  
       Oct 21, 2015 via Android
    dns 切毕竟生效慢
    jasontse
        5
    jasontse  
       Oct 21, 2015 via iPad
    @Moker DNS 有 TTL Cache 切换不及时,这个是备机直接接管 IP 。
    nyacat
        6
    nyacat  
       Oct 21, 2015 via Android
    貌似有点想 Linode 的 ip clone?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   739 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 44ms · UTC 21:33 · PVG 05:33 · LAX 14:33 · JFK 17:33
    ♥ Do have faith in what you're doing.