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

2015-10-21 09:02:20 +08:00
 bestsanmao
今天收到 DO 的推广邮件,说是出新功能了,新功能叫 Floating IP ,点进去看了半天没看明白到底干什么用的
谁清楚?麻烦讲解一下!
4832 次点击
所在节点    问与答
6 条回复
jasontse
2015-10-21 09:24:41 +08:00
IP 层面的 HA ,主机挂了 IP 切到备机上,有点类似 VRRP 。
Moker
2015-10-21 09:25:30 +08:00
@jasontse 那这个似乎是能用它的当作备机?感觉还是 DNS 切好啊
tobyxdd
2015-10-21 09:26:06 +08:00
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
2015-10-21 09:26:31 +08:00
dns 切毕竟生效慢
jasontse
2015-10-21 09:27:10 +08:00
@Moker DNS 有 TTL Cache 切换不及时,这个是备机直接接管 IP 。
nyacat
2015-10-21 12:54:52 +08:00
貌似有点想 Linode 的 ip clone?

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/229722

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX