Jump to: navigation, search

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.

Important
You can also create a configuration that uses both types of load balancing.

To configure Memory Balancing on a WFM Server, Configuring Memory Balancing

Back to Top

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.

Tip
All WFM Servers run the Locator Service and any server can act as Locator.

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

  1. Open Configuration Manager.
  2. Open the WFM Server Application that will be the Locator.
  3. Add all other WFM Servers (except the Locator) to the Connections list.
  4. Save and close the Locator.
  5. Open the WFM Web Application.
  6. Add the WFM Server Application that will be the Locator to the Connections list.
  7. Save and close the WFM Web Application.

End of Procedure

Tip
Advanced users can add cross-references in the Connections lists between all configured WFM Servers, so that any of them could act as Locator. For example, if you are running two instances of WFM Web, you might want to assign a different WFM Server to each WFM Web instance to act as Locator, but still have load balancing enabled.

|-| 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

  1. Open Configuration Manager.
  2. Open the Connections list of the WFM Server Application that you have designated to act as Locator.
  3. 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

  1. Open WFM Configuration Utility.
  2. Go to Configuration > Organization.
  3. 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.
  4. Important
    To disable Memory Balancing, select none in the drop-down list WFM Server Name for every site. Otherwise, the Locator will direct sessions to the selected WFM Server, in defiance of Processor Balancing.
  5. Open Configuration Manager.
  6. 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>

Back to Top

This page was last edited on April 25, 2014, at 20:31.
Comments or questions about this documentation? Contact us for support!