Ask Your Question

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

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: and, both serving the same nginx default index.html. We can access the VMs using the VIP (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 to be used on any of the VMs.

In the simple HA configuration:

VM1 IPs:


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

For more information read this blog:

Hope this helps.

edit flag offensive delete link more


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

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


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

Seen: 157 times

Last updated: Jul 21 '17