Search the VMware Knowledge Base (KB)
View by Article ID

Configuring and troubleshooting Load Balancing as a Service in Integrated Openstack 3.0 (2147657)

  • 0 Ratings


This article provides steps to configure and troubleshoot Load Balancing as a Service (LBaaSv2) in VMware Integrated Openstack (VIO) 3.0.

Note: This process only applies to VMware Integrated OpenStack deployments where NSX for vSphere (NSX-V) networking is in use.


VIO LBaaSConfiguration must use the Command Line Interface (CLI). LBaaS cannot be configured through the VMware Integrated OpenStack dashboard (Horizon).

All LBaaS version 2 commands have the prefixlbaas- to avoid ambiguities.
For example:
  • neutron lb-pool-create(V1)
  • neutron lbaas-pool-create(V2)

Configuring LBaaS

 To configure LBaaS, you must create an exclusive router, configure the relevant subnets, configure the LBaaS pool, configure the relevant server instance and related health services.

To configure LBaaS using the command line:
  1. Log in to the VMware Integrated OpenStack manager using SSH.
  2. Switch to root user by running this command:

    sudo su -

  3. Create an exclusive router by running this command:

    neutron router-create --router_type=exclusive

  4. Attach a subnet to the new router by running this command:

    neutron net-create network_name
    neutron subnet-create network_name CIDR_value --name subnet_name
    neutron router-interface-add routername_or_id subnetname _or_id

  5. Create the LBaaS pool by running this command:

    neutron lbaas-pool-create --lb-method load_balancing_method --name pool_name --protocol protocol_type --subnet-id subnet_id

  6. Create the instances for the servers and client by running this command:

    nova boot --image <image-uuid> --flavor <flavor> <server_1_name>
    nova boot --image <image-uuid> --flavor <flavor> <server_2_name>
    nova boot --image <image-uuid> --flavor 1 <client_name>

  7. To add the server instances to the LBaaS pool you created earlier, run this command:

    neutron lbaas-member-create --address server_ip --protocol-port 80 pool_name

  8. Create the health monitor by running this command:

    neutron lbaas-healthmonitor-create --delay time_in_seconds --type TCP/HTTP/HTTPS --max-retries number_of_retries --timeout time_in_seconds

  9. Associate the health monitor with the pool by running this command:

    neutron lbaas-healthmonitor-associate monitor-uuid pool_name

  10. Create a virtual IP (VIP) address that, when accessed through the load balancer, directs the requests to one of the pool members. Run this command to create the VIP:

    neutron lbaas-vip-create --name vipname --protocol-port 80 --protocol HTTP --subnet-id subnet_id pool_name

Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.


  • 0 Ratings

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.

What can we do to improve this information? (4000 or fewer characters)

Please enter the Captcha code before clicking Submit.
  • 0 Ratings