Configuring a Load Balancer for Archer
Load balancers act as reverse proxies and distribute network or application traffic across a number of servers. The devices help increase capacity of concurrent users and reliability of applications.
On this page
Load balancers and server configuration
You must do the following:
-
Share Session state and ViewState information within the Web Servers.
-
Provide a mechanism to ensure that any web farm server can process this information.
-
Configure the server through the Machine Key option of the Archer site, which is added to the web.config file in the Web Application directory of each Web Server.
Requirements for a load-balanced installation
- Active Directory domain account set to Modify access.
- Common Archer files hosted in a file share.
- X.509 certificate that all Web servers use.
-
A common account with permissions to configure Archer services.
- Port 8000 that servers containing IIS and Advanced Workflow Services use to communicate.
Note: The permissions on the X.509 Certificate, used by the web and application servers, grant the Active Directory domain account read access to the private key.
Installation process
Task 1: Preparation
Before configuring the Web Servers for load balancing, do the following:
- Verify that the load balancer, application, and database servers are located on the same local area network.
- Verify that you have the Platform installation package.
- Verify that you have administrative access for all applications and Web Servers that host the Archer Platform.
- Create an X.509 Certificate to authenticate to the Configuration service from the Web Application and Archer services. When performing a new installation, Archer recommends that you use an existing certificate. You can either import or select an existing certificate. Otherwise, create a new certificate.
- Generate a common Machine Key that IIS uses on all web farm servers.
- Set up an Active Directory domain account for impersonation purposes. Configure a UNC-accessible file share that all servers running Archer application code can access. These servers host common files such as search indexes, file repository, and company files.
- Configure least-privilege permissions on a file system and shared directory structures. These host common files and verify that the Active Directory domain account has appropriate access to the network share.
- Modify the identity of the application pool that the Archer web and application services use for the Active Directory domain account configured above.
Task 2: Install Archer
Complete the installation process described in Installing Archer: prepare the servers and install the components.
Task 3: Generate the machineKey
The format of the Machine Key setting appears as follows:
<machineKey
validationKey="some long hexadecimal value"
decryptionKey="another long hexadecimal value"
validation="SHA256"/>
- On a Web Server being configured for load balancing, start IIS Manager.
- From the Sites node, select the Archer site, and double-click the Machine Key applet.
- On the Machine Key page, do the following:
- Set the values of the following parameters. For information on the values see https://technet.microsoft.com/en-us/library/hh831711(v=ws.11).aspx.
- Encryption Method
- Decryption Method
- In the Validation Key and Decryption Key sections, clear any selected options.
- In the actions panel, select Generate Keys.
- In the Actions panel, click Apply to save the generated keys to the web.config file.
- For all subsequent Web Servers, do the following:
- Copy the generated key values from the Validation key and Decryption key sections.
- On the other Web Servers, repeat steps 1 - 3b to generate the machineKey.
- Paste the values from the generated machineKey into the respective Validation key and Decryption key boxes on the Machine Key page.
- In the Actions panel, click Apply.
The generated keys appear in the Validation key and Decryption key sections.
Task 4: Test the load balanced URL
- Verify whether you can access Archer through the load balanced URL.
Common problems that may occur post-configuration include dashboards not displaying correctly or file-repository access failing. If either problem occurs, access each Web Server individually from your browser instead of using the load-balanced URL. This helps identify in which systems issues occur.
- Verify the following:
- The IIS application pool runs under the correct Active Directory domain account credentials.
- The Machine Key setting in the web.config file matches the applicable Validation key and Decryption key values.