F5 load balancer sample configuration in Remedy AR System
Use the F5 load balancer to ensure seamless failover when the mid tiers are operating in a multi-tenant environment. This topic provides information about how to prepare and configure the F5 load balancer.
To configure F5 load balancer, perform the following steps:
Creating a pool
You need to create a pool to which nodes can be added.
To create a pool
- On the F5 home page, click Local Traffic > Pools > Pool list.
- On the Pool List page, click Create.
- Enter the following information on the New Pool page.
- In the Configuration list, select Basic.
- In the Name field, enter a name for the pool. For example, add a pool named pool_rod_arsys.
- Optionally, in the Description field, enter a brief description for your pool.
- For Health Monitors, select the appropriate health monitor in the Available list, and then 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.
- In the Resources area, select the appropriate load balancing method from the Load Balancing Method list. For example, Round Robin.
- 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 four tomcat instances, you need to create four nodes in F5.
To create a node
- On the F5 home page, click Local Traffic > Nodes > Node List.
- Click Create.
- On the New Node page, enter the following information:
- In the Name field, enter a name for the node. For example, add a node named Node1_RoD.
- In the Address field, enter the IP address of the node.
- Optionally, in the Description field, enter a brief description for the node.
- In the Configuration area, keep the default configurations.
- 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
- On the F5 home page, click Local Traffic > Pools > Pool list.
- Click the Members tab.
- Click Add.
- Click Node List.
- In the Address list, click to select the node that you want to add to the pool.
- Enter the service port number.
- Keep the default configurations.
- Click Finished.
A node is added to a pool. Repeat these steps for as many nodes you want to add to the pool.
Creating a Virtual Server
You must create a 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, the F5 load balancer can redirect such URL requests to the right mid tier.
To create a virtual server
- On the F5 home page, click Local Traffic > Virtual Servers > Virtual Server List.
- Click Create.
- Click the Properties tab.
- In the General Properties area, enter the following information:
- In the Name field, enter a name for the virtual server. For example, add a virtual server named vs_rod_arsys.
- In the Destination field, enter the appropriate IP address that is allocated for your virtual server.
- Enter the service port number.
- Click the Resources tab.
- In the Default Pool list, select the pool that you have created. For more information about creating a pool, see To create a pool.
- Click Finished.