Manual Chapter :
Dynamic Ratio Load Balancing
Applies To:
Show VersionsBIG-IP AAM
- 15.1.9, 15.1.8, 15.1.7, 15.1.6, 15.1.5, 15.1.4, 15.1.3, 15.1.2, 15.1.1, 15.1.0, 15.0.1, 15.0.0, 14.1.5, 14.1.4, 14.1.3, 14.1.2, 14.1.0
BIG-IP APM
- 17.1.1, 17.1.0, 17.0.0, 16.1.5, 16.1.4, 16.1.3, 16.1.2, 16.1.1, 16.1.0, 16.0.1, 16.0.0, 15.1.9, 15.1.8, 15.1.7, 15.1.6, 15.1.5, 15.1.4, 15.1.3, 15.1.2, 15.1.1, 15.1.0, 15.0.1, 15.0.0, 14.1.5, 14.1.4, 14.1.3, 14.1.2, 14.1.0
BIG-IP Analytics
- 17.1.1, 17.1.0, 17.0.0, 16.1.5, 16.1.4, 16.1.3, 16.1.2, 16.1.1, 16.1.0, 16.0.1, 16.0.0, 15.1.9, 15.1.8, 15.1.7, 15.1.6, 15.1.5, 15.1.4, 15.1.3, 15.1.2, 15.1.1, 15.1.0, 15.0.1, 15.0.0, 14.1.5, 14.1.4, 14.1.3, 14.1.2, 14.1.0
BIG-IP Link Controller
- 17.1.1, 17.1.0, 17.0.0, 16.1.5, 16.1.4, 16.1.3, 16.1.2, 16.1.1, 16.1.0, 16.0.1, 16.0.0, 15.1.9, 15.1.8, 15.1.7, 15.1.6, 15.1.5, 15.1.4, 15.1.3, 15.1.2, 15.1.1, 15.1.0, 15.0.1, 15.0.0, 14.1.5, 14.1.4, 14.1.3, 14.1.2, 14.1.0
BIG-IP LTM
- 17.1.1, 17.1.0, 17.0.0, 16.1.5, 16.1.4, 16.1.3, 16.1.2, 16.1.1, 16.1.0, 16.0.1, 16.0.0, 15.1.9, 15.1.8, 15.1.7, 15.1.6, 15.1.5, 15.1.4, 15.1.3, 15.1.2, 15.1.1, 15.1.0, 15.0.1, 15.0.0, 14.1.5, 14.1.4, 14.1.3, 14.1.2, 14.1.0
BIG-IP PEM
- 17.1.1, 17.1.0, 17.0.0, 16.1.5, 16.1.4, 16.1.3, 16.1.2, 16.1.1, 16.1.0, 16.0.1, 16.0.0, 15.1.9, 15.1.8, 15.1.7, 15.1.6, 15.1.5, 15.1.4, 15.1.3, 15.1.2, 15.1.1, 15.1.0, 15.0.1, 15.0.0, 14.1.5, 14.1.4, 14.1.3, 14.1.2, 14.1.0
BIG-IP AFM
- 17.1.1, 17.1.0, 17.0.0, 16.1.5, 16.1.4, 16.1.3, 16.1.2, 16.1.1, 16.1.0, 16.0.1, 16.0.0, 15.1.9, 15.1.8, 15.1.7, 15.1.6, 15.1.5, 15.1.4, 15.1.3, 15.1.2, 15.1.1, 15.1.0, 15.0.1, 15.0.0, 14.1.5, 14.1.4, 14.1.3, 14.1.2, 14.1.0
BIG-IP DNS
- 17.1.1, 17.1.0, 17.0.0, 16.1.5, 16.1.4, 16.1.3, 16.1.2, 16.1.1, 16.1.0, 16.0.1, 16.0.0, 15.1.9, 15.1.8, 15.1.7, 15.1.6, 15.1.5, 15.1.4, 15.1.3, 15.1.2, 15.1.1, 15.1.0, 15.0.1, 15.0.0, 14.1.5, 14.1.4, 14.1.3, 14.1.2, 14.1.0
BIG-IP ASM
- 17.1.1, 17.1.0, 17.0.0, 16.1.5, 16.1.4, 16.1.3, 16.1.2, 16.1.1, 16.1.0, 16.0.1, 16.0.0, 15.1.9, 15.1.8, 15.1.7, 15.1.6, 15.1.5, 15.1.4, 15.1.3, 15.1.2, 15.1.1, 15.1.0, 15.0.1, 15.0.0, 14.1.5, 14.1.4, 14.1.3, 14.1.2, 14.1.0
Dynamic Ratio Load Balancing
Introduction to dynamic ratio load balancing
You can configure Dynamic Ratio load balancing for pools that consist of RealNetworks®
RealServer™ servers, Microsoft®
Windows® servers equipped with Windows Management Instrumentation (WMI), or
any server equipped with an SNMP agent such as the UC Davis SNMP agent or Windows 2000 Server
SNMP agent.
To implement Dynamic Ratio load balancing for these types of servers,
BIG-IP®
Local Traffic Manager provides a special monitor plug-in file and a performance
monitor for each type of server. The exception is a server equipped with an SNMP agent. In this
case, the BIG-IP system provides the monitor only; no special plug-in file is required for a
server running an SNMP agent.
Monitor plug-ins and
corresponding monitor templates
For each server type, this table shows the required monitor
plug-in and the corresponding performance monitor types.
Server Type |
Monitor plug-in |
Monitor Type |
---|---|---|
RealServer Windows server |
F5RealMon.dll |
Real Server |
RealServer UNIX server |
f5realmon.so |
Real Server |
Windows server with WMI |
f5isapi.dll or F5Isapi64.dll or F5.IsHandler.dll
|
WMI |
Windows 2000 Server server |
SNMP agent |
SNMP DCA and SNMP DCA Base |
UNIX server |
UC Davis SNMP agent |
SNMP DCA and SNMP DCA Base |
Overview of implementing a RealServer monitor
For RealSystem® Server systems, the BIG-IP® system
provides a monitor plug-in that gathers the necessary metrics when you have installed the plug-in
on the RealSystem Server system. Configuring a RealSystem Server for Dynamic Ratio load balancing
consists of four tasks:
- Installing the monitor plug-in on the RealSystem Server system
- Configuring a Real Server monitor on the BIG-IP system
- Associating the monitor with the server to gather the metrics
- Creating or modifying the server pool to use Dynamic Ratio load balancing
Installing the monitor plug-in on a RealSystem server system (Windows version)
This task installs the monitor plug-in on a RealSystem Server system (Windows
version).
- Download the monitor plug-inF5RealServerPlugin.dllfrom the BIG-IP system.The plug-in is located in the folder/usr/local/www/docs/agents.
- CopyF5RealServerPlugin.dllto the RealServer plug-ins directory. (For example,C:\Program Files\RealServer\plug-ins.)
- If the RealSystem Server process is running, restart it.
Once the plug-in is installed and compiled, you must configure a Real Server monitor, associate the configured monitor with the node (a RealSystem Server server), and set the load balancing method to Dynamic Ratio.
Installing and compiling a Linux or UNIX RealSystem server monitor plug-in
This task installs and compiles a Linux or UNIX RealSystem Server monitor
plug-in.
- Using the.isoimage, burn a CD-ROM of the BIG-IP system software.
- On the CD, navigate to the directory/downloads/rsplug-ins.
- Copy the fileF5RealMon.src.tar.gzto the directory/var/tmpon the BIG-IP system.
- On the BIG-IP system, change to the directory/var/tmp:cd /var/tmp
- Use the UNIXcommand to uncompress the filetarF5RealMon.src.tar.gz:For example, you might entertar -xvzf F5RealMon.src.tar.
- Change to theF5RealMon.srcdirectory:cd F5RealMon.src
- Type thelscommand to view the directory contents.
- To compile the source, use the instructions in the filebuild_unix_note.
- Start RealSystem Server.
Once the plug-in is installed and compiled, you must configure a Real Server monitor, associate the configured monitor with the node (a RealSystem Server server), and set the load balancing method to Dynamic Ratio.
Overview of implementing a WMI monitor
For Windows running Windows Management Instrumentation (WMI), the BIG-IP®
system provides a Data Gathering Agent for the IIS server. Configuring a Windows platform for
Dynamic Ratio load balancing consists of these tasks:
- Installing the Data Gathering Agent on the IIS server
- Configuring a WMI monitor on the BIG-IP system
- Associating the monitor with the server to gather the metrics
- Creating or modifying the server pool to use the Dynamic Ratio load balancing method
To enable a user to access WMI metrics on a Windows server, you must configure the WMI monitor on the BIG-IP system correctly.
The procedure for installing the Data Gathering Agent on an IIS server differs depending on
whether the server is running IIS version 5.0, 6.0, or 7.0, and whether the Data Gathering Agent
is the file
f5isapi.dll
(or f5isapi64.dll
), or the file
F5.IsHandler.dll
. F5 Networks® recommends that you install only the Data
Gathering Agent file that pertains to your specific configuration. Installing multiple Data
Gathering Agent files could result in unwanted behavior.
IIS version support for the data gathering agent files
The procedure for installing the Data Gathering Agent on an Internet Information Services (IIS) server differs
depending on which IIS version the server is running and whether the Data Gathering Agent is the
file
f5isapi.dll
, f5isapi64.dll
, or
F5.IsHandler.dll
. The following table shows each of the Data Gathering Agent files
and the IIS versions that support each file.The IIS versions listed in the following table are tested for compatibility by F5. The Data Gathering Agent
F5.IsHandler.dll
can support newer versions of IIS that are not listed here.Data Gathering Agent | IIS 5.0 | IIS 6.0 | IIS 7.0 | IIS 7.5 | IIS 8.0 | IIS 8.5 |
---|---|---|---|---|---|---|
f5isapi.dll (32-bit) and f5isapi64.dll
(64-bit) | Yes | Yes | N/A | N/A | N/A | N/A |
F5.IsHandler.dll (32-bit, 64-bit, and .NET) | N/A | Yes | Yes | Yes | Yes | Yes |
Installing the Data Gathering Agent F5.IsHandler.dll on an IIS 7.5 server
Do not install the files
f5isapi.dll
or
f5isapi64.dll
on IIS version 7.5. For IIS servers running
version 7.5, always install the file F5.IsHandler.dll
.This task installs the Data Gathering Agent
F5.IsHandler.dll
on an IIS 7.5 server. - Create ascriptsdirectory under the directoryC:\Inetpub(C:\Inetpub\scripts).
- Create a\bindirectory under thescriptsdirectory (C:\Inetpub\scripts\bin).
- Copy the fileF5.IsHandler.dllto the directoryC:\Inetpub\scripts\bin.
- In theC:\Inetpub\scriptsdirectory, create the fileweb.config.<?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <handlers> <clear /> <add name="F5IsHandler" path="f5isapi.dll" verb="*" type="F5.IsHandler" modules="ManagedPipelineHandler" scriptProcessor="" resourceType="Unspecified" requireAccess="Script" preCondition="" /> </handlers> <security> <authentication> <anonymousAuthentication enabled="false" /> </authentication> </security> </system.webServer> </configuration>In this example, thepathvaluef5isapi.dllappears to be a mistake but is actually correct. It is thetypevalueF5.IsHandlerthat directs the server to the correct file.
- Allow anonymous authentication to be overridden by using theappcmdcommand to set the override mode in the machine-levelapplicationHost.configfile.appcmd set config "Default Web Site/scripts" /section:anonymousAuthentication /overrideMode:Allow /commit:APPHOSTappcmdis located in\windows\system32\intesrv.
- Set up a new application pool for the fileF5.IsHandler.dll:
- From theStartmenu, chooseControl Panel.
- ChooseAdministrative Tools.
- ChooseInternet Information Services (IIS) Manager.
- FromConnections, expandMachineName().MachineName\UserName
- Right click theApplication Poolsmenu and chooseAdd Application Pool.
- In theNamefield, typeF5 Application Pool.
- ClickOK.
- From theApplication Poolslist, right clickF5 Application Pooland chooseAdvanced Settings.
- Under theProcess ModelList, clickIdentity, and then click the button to the right ofApplicationPoolIdentity.
- FromBuilt-in accountselectNetworkService.
- ClickOK.
- ClickOK.
- Create a new application namedscripts:
- ExpandSites.
- Right clickDefault Web Siteand chooseAdd Application.
- In theAliasfield, typescripts.
- Change the application pool, clickSelect, selectF5 Application Poolfrom theApplication Poollist, and clickOK.
- For the physical path, type the directory you created in step 1 (C:\Inetpub\scripts\).
- ClickOK.
- Change theAuthenticationsetting toBasic Authentication:
- Selectscripts.
- In the center pane, double clickAuthentication.
- Verify that the status of all items underAuthenticationisDisabled, except for theBasic Authenticationitem. To enable or disable an authentication item, right click the name and chooseEnableorDisable.
Once you have installed the plug-in, you must configure a WMI monitor, associate
the configured monitor with the pool member, and set the load balancing method to
Dynamic Ratio.
Installing the Data Gathering Agent F5.IsHandler.dll on an IIS 8.0 or 8.5 server
Do not install the files
f5isapi.dll
or
f5isapi64.dll
on IIS version 8.0 or 8.5. For IIS servers
running version 8.0 or 8.5, always install the file
F5.IsHandler.dll
.This task installs the Data Gathering Agent
F5.IsHandler.dll
on an IIS 8.0 or 8.5 server. - Create ascriptsdirectory under the directoryC:\Inetpub(C:\Inetpub\scripts).
- Create a\bindirectory under thescriptsdirectory (C:\Inetpub\scripts\bin).
- Copy the fileF5.IsHandler.dllto the directoryC:\Inetpub\scripts\bin.
- Allow anonymous authentication to be overridden by using theappcmdcommand to set the override mode in the machine-levelapplicationHost.configfile.appcmd set config "Default Web Site/scripts" /section:anonymousAuthentication /overrideMode:Allow /commit:APPHOSTappcmdis located in\windows\system32\inetsrv.
- Set up a new application pool for the fileF5.IsHandler.dll:
- From theStartmenu, chooseControl Panel.
- ChooseAdministrative Tools.
- ChooseInternet Information Services (IIS) Manager.
- FromConnections, expandMachineName().MachineName\UserName
- Right click theApplication Poolsmenu and chooseAdd Application Pool.
- In theNamefield, typeF5 Application Pool.
- ClickOK.
- From theApplication Poolslist, right clickF5 Application Pooland chooseAdvanced Settings.
- Under theProcess ModelList, clickIdentity, and then click the button to the right ofApplicationPoolIdentity.
- FromBuilt-in accountselectNetworkService.
- ClickOK.
- ClickOK.
- Create a new application namedscripts:
- ExpandSites.
- Right clickDefault Web Siteand chooseAdd Application.
- In theAliasfield, typescripts.
- Change the application pool, clickSelect, selectF5 Application Poolfrom theApplication Poollist, and clickOK.
- For the physical path, type the directory you created in step 1 (C:\Inetpub\scripts\).
- ClickOK.
- Change theAuthenticationsetting toBasic Authentication:
- Selectscripts.
- In the center pane, double clickAuthentication.
- Verify that the status of all items underAuthenticationisDisabled, except for theBasic Authenticationitem. To enable or disable an authentication item, right click the name and chooseEnableorDisable.
- Add a handler mapping:
- Selectscripts.
- ClickHandler Mappings.
- In the Actions pane on the right side of the screen, clickAdd Managed Handler.
- In theRequest Pathfield, typeF5Isapi.dll.TheRequest Pathvaluef5isapi.dllappears to be a mistake but is actually correct. It is theTypevalueF5.IsHandlerthat directs the server to the correct file.
- From theTypelist, selectF5.IsHandler.
- Type a name, such asF5 IsHandler.
- Click theRequested Restrictionsbutton.
- Clear the check box labeledInvoke handler only if request is mapped to:
- ClickOK.
- ClickOKagain.
Once you have installed the plug-in, you'll need to configure a WMI monitor,
associate the configured monitor with the pool member, and set the load balancing method
to Dynamic Ratio.