Set up Application Request Routing (ARR) rules to provide load balancing for IIS servers used as relay server hosts. Use load balance policies to configure which algorithm the ARR server should use.
- On any IIS server that hosts a relay server, configure routing rules:
- Use the IIS Management console to open Routing Rules for the Web Server Farm.
- Check these boxes:
- User URL Rewrite to inspect incoming requests and rewrite application request URLs as required.
- Enable SSL offloading to perform all communication between the ARR server and the relay servers in clear text, even for HTTPS requests from clients to the ARR server. When both the ARR server and the relay servers are deployed within a trusted network, such as within the same datacenter, enabling SSL offloading does not sacrifice security. Also, enabling this feature can further help to maximize the server resources on the application servers, since they do not have to spend cycles in encrypting and decrypting requests and responses.
- Set up the load-balancing policy:
- Use the IIS Management console to open Load Balancing for the Web Server Farm.
- Change the default algorithm to Weighted round robin.
- Validate that the Web server farm is set up for load balancing:
- In the IIS Management console Connections pane, click .
- In the Servers list, check that all servers display Yes in the Ready for Load Balancing column.
- Verify that requests are balanced equally among the relay servers:
- In the IIS Management console's Connections pane, click MyFarmName.
- Double-click Monitoring and Management.
- Review the Load Balancing column's percentages and ensure each server is equally weighted.