Lab 1.4: Deploy L4-L7 via Horizon --------------------------------- The F5 LBaaS integration will configure the Networking on the BIG-IP to connect to the OpenStack network. From Chrome click on the “BIG-IP” bookmark and login with the credentials “admin / admin”. Observe that there is only a single partition “Common”. Also note only one self-ip in Route Domain 0. |image20| Switch back to the OpenStack Horizon tab inside Chrome and do a forced refresh (Shift+[Reload]). You should now see a new menu item under “Network”. |image21| If you do not see “Load Balancers” verify that the Loadbalancer Agent is running from the previous lab. Click on the “Load Balancers” menu item, then click on “+Create Load Balancer”. |image22| Complete the following information. .. IMPORTANT:: Make sure to use the values below and not the GUI defaults! **Load Balancer Details** +----------+-------------------+ | name | value | +==========+===================+ | Name | lb1 | +----------+-------------------+ | Subnet | internal-subnet | +----------+-------------------+ **Listener Details** +------------+-------------+ | name | value | +============+=============+ | Name | listener1 | +------------+-------------+ | Protocol | HTTP | +------------+-------------+ | Port | 80 | +------------+-------------+ **Pool Details** +----------+----------------+ | name | value | +==========+================+ | Name | pool1 | +----------+----------------+ | Method | ROUND\_ROBIN | +----------+----------------+ **Pool Members** +------------+--------+ | name | port | +============+========+ | server-1 | 80 | +------------+--------+ | server-2 | 80 | +------------+--------+ **Monitor type** +----------------+---------+ | name | value | +================+=========+ | Monitor type | HTTP | +----------------+---------+ Then click on “Create Load Balancer” |image23| On the BIG-IP take a look at the Partition. You should see that a new partition was created. |image24| Change to that partition and inspect the Self IPs items under Network. You should see that a VXLAN tunnel that was created connected to the tenant network. Verify the tenant network is the internal network from viewing the ``neutron subnet-list`` command you ran in the previous lab. |image25| Under Network Map you will see the entries that were created by LBaaS via the Horizon Panel. |image26| Observe that the BIG-IP Pool name uses the OpenStack Pool ID from the load balancer configuration. Horizon>Network>Load Balancers>lb1>Listeners>Listener 1 – Default Pool ID (yours will differ in value from the example). |image27| To test this configuration we will need to add a Floating IP to be able to access the Tenant Subnet externally. On the main “Load Balancers” page, click on the downward arrow next to “Edit” and select “Associate Floating IP” |image28| Specify the “public” pool. |image29| And click “Associate”. Click on “lb1” and you will see the Floating IP Address. |image30| Enter this value into the Chrome URL and you should see (colors may vary, there’s a chance they may be the same). |image31| Adding “/simple.shtml” you can see the Server IP and see the service being load balanced. +-------------+-------------+ | |image32| | |image33| | +-------------+-------------+ .. |image20| image:: /_static/class1/image22.png :scale: 50% .. |image21| image:: /_static/class1/image23.png :scale: 50% .. |image22| image:: /_static/class1/image24.png :scale: 50% .. |image23| image:: /_static/class1/image25.png :scale: 50% .. |image24| image:: /_static/class1/image26.png :scale: 50% .. |image25| image:: /_static/class1/image27.png :scale: 50% .. |image26| image:: /_static/class1/image28.png :scale: 50% .. |image27| image:: /_static/class1/image29.png :scale: 50% .. |image28| image:: /_static/class1/image30.png :scale: 50% .. |image29| image:: /_static/class1/image31.png :scale: 50% .. |image30| image:: /_static/class1/image32.png :scale: 50% .. |image31| image:: /_static/class1/image33.png :scale: 50% .. |image32| image:: /_static/class1/image34.png :scale: 50% .. |image33| image:: /_static/class1/image35.png :scale: 50%