Configuring the middle tier to use a load balancer in front of multiple SAS® Web Server instances (HA)


The general information for configuring an existing reverse proxy also applies to the configuration of a load balancer. This note assumes that you have followed the steps in the section Install Additional Web Server Instances (under "High-Availability Features in the Middle Tier") in the SAS® 9.4 Administration Guide.

For example, consider the following topology.  A load balancer (my-sas-web.company.com) distributes traffic to two SAS Web Servers.

This SAS KB article points out the differences between the steps that are required for configuring an existing reverse proxy and those that are needed for configuring a load balancer. (The steps are taken from the section Configure the Middle Tier to Use an Existing Customer Reverse Proxy in the SAS® 9.4 Intelligence Platform: Middle-Tier Administration Guide, Fourth Edition.) 

The steps for configuring the load balancer are as follows:

    1. Open the server.xml file that resides in the SAS-configuration-directory\Levn\Web\WebAppServer\SASServern_m\conf\.

2. In the file, locate the /Service/Connector element. In that element, change the value for proxyName and check the values for proxyPort and scheme, as shown below:
 

 

 

 

3. Make the following changes in the either the setenv.sh file (UNIX) or the wrapper.conf file (Microsoft Windows), which also reside in SAS-configuration-directory\Levn\Web\WebAppServer\SASServern_m\conf\.
 

 

 

 

 

 

 

 

 

4. Use SAS® Management Console to change the internal connection for each SAS web application. Some applications, such as SAS Visual Analytics, are nested, and you must expand them to access all the underlying applications. For more information, see Specify Connection Properties in the SAS® 9.4 Administration guide .

Notes: