The package can either be installed automatically (if a network connection is in place) or manually. Refer to the relevant section below for further information.

Enable LBaaS in OpenStack

To enable LBaaS, open the Command Line Interface (CLI) and follow the steps below:

  1. Edit the local_settings.py file:

    vim /etc/openstack-dashboard/local_settings.py

  2. Find the following block of code:

    OPENSTACK_NEUTRON_NETWORK = {

    'enable_lb': False }

  3. Change False to True:

    OPENSTACK_NEUTRON_NETWORK = {

    'enable_lb': True }

    Note: True is case sensitive and the case should be exactly as it is in this document.
  4. Save the file.
  5. Restart the web server:

    service apache2 restart

Automatically Install the Driver Package

To automatically install the driver package, open the Command Line Interface (CLI) and enter the following command:

pip install <NameOfKempOpenStackDriver>

For example:

pip install kemptech-openstack-lbaas

Manually Install the Driver Package

To manually install the driver package, follow the steps below:

  1. Go to the following link: https://pypi.python.org/pypi/kemptech-openstack-lbaas/.
  2. Download the .tar.gz file provided.
  3. Extract the .tar.gz file.
  4. In the CLI, find the relevant Python path by running the following commands:

    python

    import sys

    sys.path

    Note: The default path is usually /usr/lib/python2.7/dist-packages.
  5. Copy the downloaded kemptech_openstack_lbaas folder into the dist-packages folder.
Note: If updating the Progress Kemp driver package, overwrite the existing files.

Enable LBaaS Neutron with the LoadMaster Driver

Configure the neutron.conf and neutron_lbaas.conf files to use the Progress Kemp LBaaS plugin. To do this, follow the steps below:

  1. Edit the neutron.conf configuration file:

    vim /etc/neutron/neutron.conf

  2. Find the service_plugins line and add neutron_lbaas.services.loadbalancer.plugin .LoadBalancerPluginv2, for example:
    Note: A comma (,) is used to separate different service plugins.

  3. At the bottom of the file, add the following:

    [kemptechnologies]

    lm_address = 172.16.2.129

    lm_username = bal

    lm_password = test1234

    For example:

    [kemptechnologies]

    lm_address = <LoadMasterIPAddress>

    lm_username = <LoadMasterUsername>

    lm_password = <LoadMasterPassword>

  4. Save the changes made to the edited file.
  5. Edit the neutron_lbaas.conf configuration file:

    vim /etc/neutron/neutron_lbaas.conf

  6. Save the changes made to the edited file.
  7. Go down to the [service_providers] section and add (or append, as needed) the following line:

    service_provider = LOADBALANCERV2:kemptechnologies:neutron_lbaas.drivers.kemptechnologies.driver_v2.KempLoadMasterDriver:default

    Note: This is case sensitive.
    Note: If there are other LBaaS entries in the list, ensure the Progress Kemp one is set as the default.
  8. Restart Neutron by running the following command:

service neutron-server restart