Configure Dynamic Logon Load Distribution for RFC Calls
Use
Dynamic logon load distribution should ensure that the load is distributed as evenly as possible over all available application servers in a logon group. To achieve this, a program runs automatically every five minutes, determines the logon quality for each application server, and writes the quality to a table on the message server. This quality is a numerical value that is calculated from various performance values, such as the number of users logged on and the response time. The server with the best quality within a logon group is used for the next logon.This mechanism is sufficient for dialog logons; for external RFC logons, which often have thousands of logons per second, this is not the case. The information about quality in the message server is too static, meaning that the RFC server with the best quality would have to process too many requests before the table is updated. The RFC client would also have to query with the message server which RFC server had the best quality for every logon, which would create additional load.
Instead of this, an additional mechanism with the following properties was introduced as an extension with SAP Web Application Server 6.10:

The mechanism for dynamic logon load distribution for RFC logons does not replace the distribution mechanism for dialog logons, but rather extends it in the respect that an RFC client can find the RFC server with the best quality locally.
Prerequisites
You have already defined logon groups for dialog applications in transaction SMLG (CCMS: Logon Group Maintenance) (see
Configuring Logon Groups). You can also use these logon groups for RFC logons.Activating Dynamic RFC Load Distribution for a Logon Group
Display Parameters for Dynamic RFC Load Distribution
|
Parameter |
Meaning |
|
Version |
Version = 1: External RFC is not enabledVersion = 2. External RFC is enabled |
|
Selection criteria |
Best : The server for which the best quality was calculated is used for the next logonRound Robin : Each server in the group is used in turn for the next logon. |
|
Time to read |
Time after which the RFC client reads new values for quality and delta quality from the message server |
|
Number logons to read |
Number of logons after which the RFC client reads new values for quality and delta quality from the message server |

You can only display the parameters in this window. To make changes to the parameters, follow this procedure:
Change Parameters for Dynamic RFC Load Distribution
|
Column |
Parameter |
Default Value |
|
TIMERERD |
Time to read |
120 seconds |
|
LOGRERD |
Number logons to read |
200 |
|
FAVTYPE |
Selection criteria (possible values are B for Best or R for Round Robin) |
B |