Error: Invalid spaceKey on retrieving a related space config.

f5 load balancer sample configuration

Use the f5 load balancer to ensure seamless failover when the mid tiers are operating in a multi-tenant environment. The following topic provides information on how to prepare and configure f5 load balancer.

Note

This topic provides only a sample configuration of the f5 load balancer. BMC Quality Assurance department used this configuration for operating mid tiers in a multi-tenant environment. Your f5 configuration can vary depending on your requirements. For more information about f5 documentation, see http://www.f5.com/products/documentation/.

To configure f5 load balancer, perform the following:

  1. Create a pool
  2. Create a node
  3. Add nodes to a pool
  4. Create a virtual server

Creating a pool

You need to create a pool to which nodes can be added.

To create a pool

  1. From the f5 home page, click Local Traffic > Pools > Pool list.
  2. From the Pool List page, click Create.
  3. Enter the following information in the New Pool page.
    1. From the Configuration drop-down list, select Basic.
    2. In the Name field, enter a name for the pool. For example, add a pool named pool_rod_arsys.
    3. Optionally, in the Description field, enter a brief description for your pool.
    4. For Health Monitors, select the appropriate health monitor from the Available list, and move it to the Active list. You need health monitors to ping the defined URLs at a defined interval and check whether the node is alive.
    5. In the Resources area, select the appropriate load balancing method from the Load Balancing Method drop-down list. For example, Round Robin.
  4. Click Finished. The new pool with the specified name is created.

Creating a node

A node represents a Tomcat instance in the cluster. For example, if you have a cluster of 4 tomcat instances, you will have to create 4 nodes in f5.

To create a node

  1. From the f5 home page, click Local Traffic > Nodes > Node List.
  2. Click Create.
  3. In the New Node page, enter the following information:
    1. In the Name field, enter a name for the node. For example, add a node named Node1_RoD.
    2. In the Address field, enter the IP address of the node.
    3. Optionally, in the Description field, enter a brief description for the node.
    4. In the Configuration area, keep the default configurations.
  4. Click Finished. The new node is created.

Adding nodes

When a cluster is created, you need to add the nodes to a single pool.

To add nodes to a pool

  1. From the f5 home page, click Local Traffic > Pools > Pool list.
  2. Click the Members tab.
  3. Click Add.
  4. Click Node List.
  5. From the Address drop-down list, click to select the node that you want to add to the pool.
  6. Enter the service port number.
  7. Keep the default configurations.
  8. Click Finished.

Repeat these steps for as many nodes you want to add to the pool.

Creating a Virtual Server

You must create virtual server so that the f5 load balancer can re-route the requests to a working server, in-case of a failure. After creating a virtual server, f5 can redirect such URL requests to the right mid tier.

To create a virtual server

  1. From the f5 home page, click Local Traffic > Virtual Servers > Virtual Server List.
  2. Click Create.
  3. Click the Properties tab.
  4. In the General Properties area, enter the following information:
    1. In the Name field, enter a name for the virtual server. For example, add a virtual server named vs_rod_arsys.
    2. In the Destination field, enter the appropriate IP address that has been allocated for your virtual server.
    3. Enter the service port number.
  5. Click the Resources tab, from the Default Pool drop-down list select the pool you have created. For more information on creating a pool, see To create a pool
  6. Click Finished.
Was this page helpful? Yes No Submitting... Thank you

Comments

  1. Jan Israelsson

    There seems to be some text missing in the "To create a virtual server..." and 4.b "In the Destination field, select the..."

    regards, Jan.

    Aug 09, 2018 06:46
    1. Anagha Deshpande

      Hello Jan,

      Thanks for bringing this to our notice. We will update the content soon.

      Regards,

      Anagha

      Aug 09, 2018 10:11
      1. Onkar Telkikar

        Hello Jan,

        We have updated the content in this topic.

        Thanks,

        Onkar

        Sep 17, 2018 07:02