Setting up an NLB cluster for the Application Server
In this section, you will find step-by-step instructions for setting up an NLB cluster for the Application Server. The Administration and Monitoring Console and the web stations are clustered together with the Application Server. A detailed overview of NLB cluster settings can be found on the Microsoft website.The addresses, computer names, domain names, etc. used below are not mandatory and may be changed by the administrator.
- Install the Application Server on each cluster node. The database, file storage folder, Processing Server, Licensing Server, and Application Server clients must be located on a different computer, which must be accessible to all nodes in the cluster.
- In Windows Features, add Network Load Balancing to each node in the cluster. This is done by clicking the Add Features link in the main window of the Server Manager (click Start → Administrative Tools → Server Manager).
- Assign an IP address to the cluster via which the cluster can access the nodes as a unit (this will be a virtual cluster address). To do this, open the Network Load Balancing Manager on any of the nodes (click Server Manager → Tools → Network Load Balancing Manager) right-click the cluster and select the Cluster Properties item on the shortcut menu.

All cluster nodes must receive all incoming cluster traffic. The balancing algorithm determines which cluster node should respond to a given query. The choice between Unicast and Multicast depends on your network configuration.
- You can use the Performance Monitor for IIS (accessible through the toolbar of the Microsoft Management Console) to monitor node activity. In the Web Service object, for each node, add the ISAPI Extension Requests/sec counter for Default Web Site (this is the location of the Application Server in the IIS).
- Single host
This mode provides fault tolerance but does not allow workload balancing. Only one cluster node is active at a time. - Multiple host
Traffic from a predefined range of ports is handled by the node with the highest priority in the cluster. All cluster nodes function simultaneously. This mode provides both workload balancing and fault tolerance.
- None (not recommended)
If this option is selected, multiple connections (TCP sessions) from a single client can be handled by different nodes. - Single (recommended)
If this option is selected, all connections from a single client are handled by one node. - Network (Class C) (recommended)
If this option is selected, all queries from the TCP/IP Class C address space are handled by one node. This may be necessary if there is a proxy server between the client and the cluster.
- Create a shared folder that can be accessed by all of the nodes in the cluster.
- Install Microsoft SQL Server, an Azure server,an Oracle server, or a PostgreSQL server. The server must be available to all cluster nodes.
- Install the Application Sever on all cluster nodes.
- On the first cluster node, run the Administration and Monitoring Console and create a database and specify a shared folder for file storage.
- On each of the remaining cluster nodes, run the Administration and Monitoring Console and connect to the database you created.
Important! For this operation, SQL authentication must be used. - On the SQL Server, the Azure server, the Oracle server, or the PostgreSQL server, give full access permissions for the database to all users on all of the cluster nodes under whose accounts IIS is running (the World Wide Web Publishing Service must be running in the service list). Permissions for the first node are given automatically when the database is created. Other permissions must be given manually. By default, IIS runs under the user Network Service. In this case, assuming IIS is running on a computer named NodeN, you must give full access permissions to the user DomainName\NodeN$ on the server.
- If the Application Server is not available in the cluster, but PING requests still reach the cluster, check if IIS is available in the cluster. To do this check, place a static *.html file in the folder %systemdrive%\inetpub\wwwroot (typically this folder will already contain an iisstart.htm file) and open this file in a browser: \ClusterAddress\iisstart.htm. Check the proxy server settings in your browser when opening the file.
To use basic authentication for clients, be sure to enable basic authentication for the folder FlexiCapture12\Server in IIS. Otherwise, users will get an HTTP 401 error when attempting to connect.
