Virtual IP address

只是翻译一下维基百科的内容。

概念

虚拟IP地址(VIP或VIPA)是一个IP地址指向多个应用程序驻留的单个服务器,多个域名,或者多个服务器,而不是被指向一个特定的服务器或网卡(NIC)。传入的数据包会发送到虚拟地址并路由到真实的网络接口。

一个服务器IP地址依赖于网卡上的MAC地址。并且每一个逻辑IP地址只能指向一个网卡。然而,VIP地址能够让若干不同应用和虚拟应用的服务器集合只使用一个逻辑IP地址。

VIP有若干变化和实现场景,包括通用地址冗余协议(CARP)和代理地址解析协议(proxy ARP)。

使用

VIPs大多用于合并资源通过为每个应用群分配一个网络接口。

它也用于连接冗余,通过为每个机器提供备用的故障恢复。一个VIP地址会在主机或网卡失效时依然保持有效,因为备用计算机或网卡会答复连接。

转载请注明:旅途@KryptosX » Virtual IP address

时间: 2024-08-03 19:52:41

Virtual IP address的相关文章

Virtual IP Address的实现

VIP在HA的使用 目前的互联网业务对服务器的依赖度极高,几乎不能容忍非计划的停机.但是机器的故障是无法100%避免的,所以,出现了HA技术,使用冗余的来保证服务可用. 但是,光有冗余还不行,还需要检测故障,故障切换. 目前的流程就是: 正常情况时,灾备系统只是监控服务器的运行. 服务器宕机,灾备系统发现故障. 灾备系统把流量切换到备份服务器. VIP就是用在最后一步,它保证了灾备切换的透明.因为IP无需改变. 一种VIP实现方法 有一种方法就是通过ARP协议实现VIP,因为在数据链路层,数据帧

11G Highly Available Virtual IP (haip)

Highly Available Virtual IPStarting with Oracle RAC 11.2.0.2, Oracle has introduced Redundant Interconnect Usage feature to support IP failover. Oracle uses its ora.cluster_interconnect.haip resource to provide this functionality. The Highly Availabl

POJ 2105 IP Address (strtoll函数)

Time Limit: 1000MS Memory Limit: 30000K Description Suppose you are reading byte streams from any device, representing IP addresses. Your task is to convert a 32 characters long sequence of '1s' and '0s' (bits) to a dotted decimal format. A dotted de

[J2MEQ&A]WTK初始化WMAClient报错XXX has no IP address的解释

[J2ME]WTK初始化WMAClient报错XXX has no IP address的解释   [现象] 当通过WTK运行一个J2ME程序时,KToolbar显示这样的错误: 错误形态一 WMAClient: localhost has no IP address: java.net.UnknownHostException: xxxx: xxxx Warning: Failed to initialize WMA message routing support ClientConnecto

Get ip address from hostname in C using Linux sockets

Here are 2 methods to get the ip address of a hostname : The first method uses the traditional gethostbyname function to retrieve information about a hostname/domain name.Code 1 #include<stdio.h> //printf 2 #include<string.h> //memset 3 #inclu

获取本机外网IP地址(External IP Address)示例

原文:http://www.cnblogs.com/Csharpblogs/articles/2218156.html import java.io.IOException; import java.io.InputStream; import java.net.HttpURLConnection; import java.net.MalformedURLException; import java.net.URL; import java.util.regex.Matcher; import

POJ 2105 IP Address

Problem Description Suppose you are reading byte streams from any device, representing IP addresses. Your task is to convert a 32 characters long sequence of '1s' and '0s' (bits) to a dotted decimal format. A dotted decimal format for an IP address i

The host file--map a name to an IP address

The host file is located at \windows\system32\drivers\etc\* and the format is ----------------------------------------------------------------------------------------------------------------- # Copyright (c) 1993-2009 Microsoft Corp. # # This is a sa

126.3. HAProxy and Keepalived (Virtual IP)

# yum install -y keepalived # chkconfig keepalived on # echo "net.ipv4.ip_nonlocal_bind = 1" >> /etc/sysctl.conf # sysctl -p 例 126.2. /etc/keepalived/keepalived.conf Master vrrp_script chk_haproxy { script "killall -0 haproxy" #