如何在Linux云上的Avi Vantage中设置VIP [英] How to setup the VIP in Avi Vantage on a Linux Cloud

查看:196
本文介绍了如何在Linux云上的Avi Vantage中设置VIP的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在尝试使用此处描述的docker安装方法,通过单一主机部署"方法,使Avi Vantage在单个Linux机器上运行:

I've been trying to get Avi Vantage running on a single linux box using the docker installation method described here, using the "single host deployment" method:

http://kb.avinetworks.com /installing-avi-vantage-for-a-linux-server-cloud/

我已经运行了Controller和Service Engine,并且Controller可以看到Service Engine.现在,我正在尝试创建虚拟服务,但是不确定如何配置虚拟IP(VIP).

I've got the Controller and the Service Engine running and the Controller can see the Service Engine. Now, I'm trying to create a Virtual Service, but I'm not sure how to configure the Virtual IP (VIP).

我应该将VIP绑定到哪个网络接口?

What network interface should I bind the VIP to?

推荐答案

VIP根据可达性绑定到接口.这是由展示位置管理器自动完成的.

VIP is bound to interface based on the reachability. This is done automatically by placement manager.

案例1 假设eth0-1.1.1.2/24,并且当vip位于同一子网中(例如1.1.1.100)时,vs放置逻辑将选择eth0.

case-1 Say eth0 - 1.1.1.2/24 and when vip is in the same subnet (say 1.1.1.100), vs placement logic will choose eth0.

情况2: 说eth0-1.1.1.2/24,并且当vip位于其他子网(例如100.100.100.100)中时,可以在vs中设置放置子网(高级设置).这将迫使vs放置在eth0上

case-2: Say eth0 - 1.1.1.2/24 and when vip is in the different subnet (say 100.100.100.100), you can set the placement subnet in vs (advanced settings). That will force the vs to be placed on eth0

情况3: 通过使用BGP,可以在不放置子网的情况下完成上述操作.在VS(advanced_settings)中配置BGP对等体和enable_rhi. VS将放置在eth0上,此外,我们还将通过bgp宣传vip.这样可以避免在第一跳路由器上手动配置到达VIP的路由.

case-3: The above can be done without placement subnet by using BGP. Configure BGP peers and enable_rhi in the VS (advanced_settings). VS will be placed on eth0 and additionally we will advertise vip though bgp. This will avoid manual configuration of routes to reach vip on the first hop router.

这篇关于如何在Linux云上的Avi Vantage中设置VIP的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆