Ask Your Question
0

How to understand the VIP in the OpenStack, what's its function?

asked 2017-07-21 01:37:18 -0500

liaodalin19903 gravatar image

In the OpenStack we often here about the VIP, what's it?
What effect does it have?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-07-21 03:18:29 -0500

nuriel77 gravatar image

updated 2017-07-21 03:22:02 -0500

Virtual IP, or shared IP. Can come in handy for both high availability (e.g. keepalived/vrrp) scenario and/or loadbalancing (e.g. haproxy) For example, think of a situation where you have 2 VM's with IP addresses: 10.10.0.1 and 10.10.0.2, both serving the same nginx default index.html. We can access the VMs using the VIP 10.10.0.3 (which will be available on one of the VMs at any given time) We can use neutron's allow address pairs in order to allow the 10.10.0.3 to be used on any of the VMs.

In the simple HA configuration:

VM1 IPs: 10.10.0.1 10.10.0.3

VM2 IP: 10.10.0.2

In a fail over situation if VM1 goes down, the 10.10.0.3 IP will become available on VM2.

For more information read this blog: https://blog.codecentric.de/en/2016/1...

Hope this helps.

edit flag offensive delete link more

Comments

I'd like to add that HA and/or load balancing are not part of OpenStack, and neither is VIP. They work for all sorts of applications, in particular web servers. They work well for OpenStack because all OpenStack services are in fact stateless web servers.

Bernd Bausch gravatar imageBernd Bausch ( 2017-07-21 20:59:59 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2017-07-21 01:37:18 -0500

Seen: 58 times

Last updated: Jul 21 '17