Configuring WFM Server Load Balancing
Use the information in this topic to load balance Workforce Management (WFM) Server when you have multiple computers available, and one computer alone cannot handle the work load. Use the procedures provided to assist you when configuring the load balancing method you choose for WFM Server in your environment.
This topic includes the following sections:
Load Balancing Methods
There are two main methods of load balancing: Processor and Memory. WFM Server supports both types.
Processor Balancing
Processor Balancing support is based on the assignment of a session to the best-qualified processor and is the more common type of balancing required. It is often needed when one computer does not have enough processor power to handle a large number of simultaneous users. WFM accomplishes this method by balancing WFM Server requests between several different WFM Server instances running on different computers. Each server/computer instance is known as a location.
WFM Server's built-in load balancing service is called Locator Service. Every time you open a new user session, Locator Service identifies the location that is best suited to serve the new session. Usually that is the location that is currently handling the fewest requests. From then on, all requests from that particular session are handled exclusively by the assigned location.
To configure the Processor Balancing on a WFM Server, Configuring Process Balancing
Memory Balancing
Memory Balancing support is based on reconfiguring at the site level. As you create multiple WFM Servers, you can assign each to a different site as required.
Here is an example application of Memory Balancing: if your configuration has 50,000 agents, you will likely need more than 2-3 GB of RAM (the limit on 32-bit Windows applications). One computer alone does not have enough memory to handle this huge configuration.
In Memory Balancing, as you start each new session, you associate it with a site. The session is then directed to the WFM Server instance that is assigned to that site. This allows different servers to work with different subsets of data—thereby reducing the amount of memory needed per server.
To configure Memory Balancing on a WFM Server, Configuring Memory Balancing
Configuration
As noted previously, WFM Server's built-in load balancing service is called Locator Service. Normally, one WFM Server instance is designated as Locator.
Any client that wants to open a user session with WFM Server must first ask Locator for the URL of the WFM Server that is best suited to serve the new session, from a load-balancing point of view. Usually that is the location that is currently handling the fewest requests. The URL is obtained and the client opens the new session on that server.
To configure the Locator Server on a WFM Server, see Configuring the Locator Service
Procedures
Click the red arrow to view procedures that relate to the topics on this page.
<multistep>
|-| Configuring the Locator Service=
Purpose: To enable load balancing correctly
Start of Procedure
- Open Configuration Manager.
- Open the WFM Server Application that will be the Locator.
- Add all other WFM Servers (except the Locator) to the Connections list.
- Save and close the Locator.
- Open the WFM Web Application.
- Add the WFM Server Application that will be the Locator to the Connections list.
- Save and close the WFM Web Application.
End of Procedure
|-| Configuring Processor Balancing=
Purpose: To configure processor balancing. (Processor Balancing is the default method of load balancing.)
Prerequisite: You have configure the Locator Service. See Configuring the Locator Service
Start of Procedure
- Open Configuration Manager.
- Open the Connections list of the WFM Server Application that you have designated to act as Locator.
- Add a reference to each WFM Server that you want to balance.
End of Procedure
The result: Locator regularly checks the number of open sessions on the servers that it finds in its Connections list, and then directs new sessions to the server with the least number of open sessions. In this way, connected users are balanced across the servers.
|-| Configuring Memory Balancing=
Purpose: To enable Memory Balancing.
Prerequisites:
- You have configured the Locator Service. See Configuring the Locator Service.
- You have assigned WFM Servers to specific site(s). (Complete this procedure for each site.)
Start of Procedure
- Open WFM Configuration Utility.
- Go to Configuration > Organization.
- Select the Site Properties tab and assign a WFM Server to serve that site, by selecting a server from the drop-down list WFM Server Name.
- Open Configuration Manager.
- Add all WFM Servers Applications to the Connections list of the WFM Server Application that you designate to act as Locator.
End of Procedure
The result: When you open a new session and identify it with a site, the session is automatically directed to the WFM Server that is assigned to that site. </multistep>