Install the Progress Kemp LBaaS OpenStack Driver Package
- Last Updated: December 11, 2024
- 2 minute read
- LoadMaster
- LoadMaster LTSF
- Documentation
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:
- Edit the local_settings.py file:
vim /etc/openstack-dashboard/local_settings.py
- Find the following block of code:
OPENSTACK_NEUTRON_NETWORK = {
'enable_lb': False }
- 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. - Save the file.
- 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:
- Go to the following link: https://pypi.python.org/pypi/kemptech-openstack-lbaas/.
- Download the .tar.gz file provided.
- Extract the .tar.gz file.
- 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. - Copy the downloaded kemptech_openstack_lbaas folder into the dist-packages folder.
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:
- Edit the neutron.conf configuration file:
vim /etc/neutron/neutron.conf
- 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.
- 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>
- Save the changes made to the edited file.
- Edit the neutron_lbaas.conf configuration file:
vim /etc/neutron/neutron_lbaas.conf
- Save the changes made to the edited file.
- 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. - Restart Neutron by running the following command:
service neutron-server restart