Load balancer management in the dashboard

In the Horizon dashboard, load balancers can be managed from the Project panel by clicking on Load Balancers in the menu on the left-hand side of the screen:

Load balancer management in the dashboard

Figure 10.24

From the Load Balancers screen, pools, members, and monitors can be managed from their respective tab.

Creating a pool in the dashboard

To create a pool, perform the following steps:

  1. Click on the Add Pool button within the Pools section. A window will pop up that resembles the one shown in the following screenshot:
    Creating a pool in the dashboard

    Figure 10.25

  2. From the Add Pool window, you can specify a name for the pool and choose the subnet, protocol, and load balancing method. To create the pool, click on the blue button labeled Add. Once created, the pool will be listed in the Pools section, as follows:
    Creating a pool in the dashboard

    Figure 10.26

Creating pool members in the dashboard

To create a pool member, perform the following steps:

  1. Click on the Add Member button within the Members section. A window will pop up that resembles the one shown in the following screenshot:
    Creating pool members in the dashboard

    Figure 10.27

  2. From the Add Member window, you can add multiple members to a pool simultaneously and set a common weight and protocol port for the chosen pool members. To create the pool members, click on the blue button labeled Add. The pool members and their pool association will be listed in the Members window:
    Creating pool members in the dashboard

    Figure 10.28

  3. To edit a particular pool member, click on the Edit Member button under the Actions column next to the pool member:
    Creating pool members in the dashboard

    Figure 10.29

  4. From the Edit Member screen, you can move the member to another pool, change the weight, or mark the member as administratively down. To save your changes, click on the blue Save Changes button.

Creating a virtual IP in the dashboard

To create a virtual IP, perform the following steps:

  1. Navigate to the list of pools by clicking on the Pools tab in the Load Balancers section. Choose Add VIP from the More menu next to the pool:
    Creating a virtual IP in the dashboard

    Figure 10.30

  2. A window will pop up similar to the following:
    Creating a virtual IP in the dashboard

    Figure 10.31

  3. From the Add VIP window, you can assign a name to the VIP, specify an IP address, specify the protocol and listener port, define a type of session persistence, and set the connection limit. Information on session persistence types was discussed earlier in this chapter. Once configured, click on the blue Add button to associate the VIP with the pool.

Connecting to the virtual IP externally

In versions of OpenStack as far back as Havana, the ability to assign a floating IP to the virtual IP from the Add VIP window is not functional or is removed. Instead, you must perform the following steps:

  1. Navigate to the Instances pane and select Associate Floating IP from any of the instances listed:
    Connecting to the virtual IP externally

    Figure 10.32

  2. A window will pop up similar to the one in the following figure:
    Connecting to the virtual IP externally

    Figure 10.33

  3. From the Manage Floating IP Associations window, select a floating IP from the IP Address menu and select the address utilized by the virtual IP from the Port To Be Associated menu. Click on the blue Associate button to associate the floating IP with the virtual IP.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset