You can configure LBaaS using the Create a Load Balancer wizard in the VMware Integrated OpenStack user interface.
TLS cannot be configured on the GUI. If you want to use TLS, see Configure LBaaS Using the CLI.
Create a public subnet and router on your network. For an NSX-V deployment, the router type must be
You can create the load balancer on a tenant subnet, but you must assign it a floating IP address.
Configure at least one client and at least two server instances.
- Log in to the VMware Integrated OpenStack dashboard and select .
- Click Create Load Balancer.
- On the Load Balancer Details page, specify a subnet.
Only members of this subnet can be added to the LBaaS pool.
- Click Next. On the Listener Details page, create a listener for the new load balancer.
- Click Next. On the Pool Details page, create an LBaaS pool.
Supported load balancing methods are described as follows:
New client requests are sent to the server with the fewest connections.
Each server is used in turn according to the weight assigned to it.
All connections that originate from the same source IP address are handled by the same member of the pool.
- Click Next. On the Pool Members page, select the server and client instances to add to the load balancer pool.
- Click Next. On the Monitor Details page, set up the health monitor.
One of the predefined health monitor types. Specify HTTP, PING, or TCP.
Time in seconds between sending probes to members.
Number of connection failures allowed before changing the member status to
Time in seconds that a monitor will wait for a connection to be established before it times out.
The timeout value must be less than the interval value.
If you select HTTP, you must also configure the HTTP method, expected status code, and URL.
- If you created the load balancer on a tenant subnet, associate a floating IP address with the load balancer.
- Click the down arrow to the right of the load balancer and select Associate Floating IP.
- Select a floating IP address or pool and click Associate.
- (Optional) Send test requests to validate your LBaaS configuration.
- Log in to the OpenStack Management Server.
- Create a test index.html file.
- In the same directory, start a web server.
sudo python -m SimpleHTTPServer 80
- Log in to the client instance.
- Run the wget command to view whether your requests are being correctly load-balanced across the servers in the pool.
wget -O - http://mgmt-server-ip