Skip to main content
For the Processing Server, failover clusters are used. For detailed instructions on creating a failover cluster, refer to this page on the Microsoft website.

Hardware requirements

Cluster nodes

  • All cluster nodes must have identical or essentially similar hardware configuration.
  • All cluster nodes must be running the same version of Windows Server.
  • All cluster nodes must be joined to the same Active Directory domain, or Basic authentication must be configured for the Processing Server (see Description of Processing Server commands for detailed instructions).

Shared storage

Shared storage stores a folder containing the files required by the cluster. The disk must meet the following requirements:
  • The disk must be connected using Serial Attached SCSI (SAS), iSCSI, or Fibre Channel.
  • The disk must be accessible to all cluster nodes.
  • The disk must not be used as a boot or system volume.
  • The disk must not be used for swap, dump, or hibernation files.
The following are the most commonly used cluster storage solutions:
  • Ready-made storage systems based on DAS, SAN, NAS, JBOD, or other technologies.
  • A separate server machine for which the iSCSI Target Server role has been set up.
For detailed clustering hardware requirements, refer to this page on the Microsoft website.

Set up the Processing Server in a failover cluster

To set up the Processing Server in a failover cluster, complete the following steps:
  1. Create a failover cluster.
  2. Basic configuration of the failover cluster.
  3. Add the ABBYY FlexiCapture Processing Server service.
  4. Create a shared folder for the Processing Server service.
  5. Configure the cluster nodes.
The addresses, computer names, domain names, and so on used in the following sections are not mandatory and may be changed by the administrator. The server configuration described here is intended only for local use in a local area network.
The names of servers, services, and shared folders must not contain spaces.

Create a failover cluster

To cluster two machines, complete the following steps:
1

Check the hardware requirements

Check that you have all the necessary components in place and that they meet the hardware requirements listed above.
2

Install the Failover Clustering feature

Install the Failover Clustering feature.
3

Validate the configuration

Validate the configuration to make sure that it is suitable for failover clustering.
4

Create the failover cluster

Create a failover cluster.
If your cluster has an even number of nodes, we strongly recommend using a quorum configuration with a witness resource (for example, a Disk Witness, a Share Witness, or a Cloud Witness); otherwise, the cluster will cease to function if half of its nodes fail. For detailed instructions, see the Configure the cluster quorum settings section on this page of the Microsoft website.
Detailed information about failover clustering is available on this page of the Microsoft website.

Basic configuration of the failover cluster

This example uses a previously created FOC cluster (FOC.cluster2016.ru), located in the 192.168.0.0/23 designated network in the cluster2016.ru domain. The cluster consists of two nodes, Node1 and Node2.

Addressing in the cluster

The Node1 and Node2 nodes have two network interfaces. One of them belongs to the 192.168.0.0/23 network and the other may belong to a local area network (for example 10.0.2.0/24). The data storage only interfaces with the 192.168.0.0/23 network and is available only to the cluster nodes (that is, Node1 and Node2). Both networks are available to the cluster FOC.cluster2016.ru. Cluster traffic should only be allowed in the designated network 192.168.0.0/23 for security and workload balancing reasons. External users can access the data storage through requests to Node1 and Node2. To allow cluster traffic in the 192.168.0.0/23 network, open the Failover Cluster Manager, select Cluster Network in the Networks group, and choose Cluster and Client in the Cluster Use column (see the screenshot below).
Screenshot of the Networks view in Failover Cluster Manager, where the Cluster Network in the 192.168.0.0/23 subnet is set to Cluster and Client in the Cluster Use column.
Interfaces and their networks:

Domain users

To set up domain user accounts:
  1. Create two domain users, for example, cluster2016\node1admin and cluster2016\node2admin.
  2. Give administrator rights to cluster2016\node1admin on Node1 and to cluster2016\node2admin on Node2.
These user accounts are used only for working with ABBYY FlexiCapture in a failover cluster, to ensure correct usage of shared network resources. Clustering requires domain accounts; you cannot work under a local user account.

Add the ABBYY FlexiCapture Processing Server service

Install ABBYY FlexiCapture Processing Server on Node1 and Node2, and then create a shared folder (see below) for the FlexiCapture service. To create the service, complete the following steps:
1

Configure the role

Right-click the Roles group and choose Configure Role….
2

Select Generic Service

Select Generic Service from the list of services and click Next.
3

Choose the Processing Server service

Choose ABBYY FlexiCapture 12 Processing Server from the list of available services and click Next.
4

Name the service

Enter the name of the service (FC12ProcServer in this example). The IP address will be generated automatically. Click Next.
5

Choose the storage volume

Choose the volume you created for centralized storage and click Next.
6

Specify the registry key

Specify the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\ABBYY\FlexiCapture\12.0 (see the screenshot below).
7

Confirm and finish

Click Next to confirm the settings, and then click Finish to complete the creation of the service in the cluster.

Create a shared folder for the Processing Server service

Create a shared folder for the newly created service, where the temporary files for Node1 and Node2 will be stored.
The network folder configuration described here is not fail-safe: if the storage fails, the cluster will go down. To ensure continuous operation of the cluster, you need to make your file storage fail-safe. See Set up a distributed file system for detailed instructions.
To create a shared folder, complete the following steps:
1

Start the Add File Share wizard

Select Add File Share in the local menu of the newly created service (FC12ProcServer in this example).
Screenshot of Failover Cluster Manager showing the shortcut menu for the FC12ProcServer role with the Add File Share command highlighted.
2

Select the SMB Share profile

Select the SMB Share – Applications profile.
3

Specify the folder location

Specify a location for the shared folder (Select by volume is the default option).
4

Name the shared folder

If necessary, enter a name and description for the shared folder and click Next.
5

Keep the default settings

On the Other Settings tab, keep the default values and click Next.
6

Customize folder permissions

Specify folder permissions for the previously created domain users (node1admin@cluster2016.ru and node2admin@cluster2016.ru). To do this, click Customize permissions….
7

Grant full control to each user

Click Add, and then click Select a principal. Select a user and click OK. Under Basic permissions, select the Full control option and click OK. Repeat these steps for the node2admin user and click OK.
8

Create the share

Click Next, check that the specified settings are correct, and click Create. Once the shared folder is successfully created, click Close.

Configure the cluster nodes

Next you need to set up the Node1 and Node2 cluster nodes. The instructions that follow are for Node1. Node2 is set up identically.

Set up the ABBYY FlexiCapture Processing Server service

1

Configure the service from the command line

Enter the following command in the command line (cmd.exe):
Copying and pasting the above command may introduce redundant new line characters, resulting in an error. If this is the case, type the command manually.
This command changes the default settings for the ABBYY.ProcServer.FlexiCapture.12 process, which is launched from the file %systemdrive%\Program Files\ABBYY FlexiCapture 12 Servers\FlexiBRSvc.exe and sets the path to the file that contains the settings for the Processing Server: \\FC12procserver\ClusterTemp\ServerSettings.xml. The ServerSettings.xml file is then stored in the shared folder and is available to all nodes in the cluster.
The ServerSettings.xml file contains the Processing Server settings. If this file is not found when you start the Processing Server, it is started with the default settings and a new ServerSettings.xml is created.
2

Open the service properties

Find the ABBYY FlexiCapture 12 Processing Server service in the list of services (Start → Administrative Tools → Services), right-click the service, and select Properties.
3

Verify the path to the executable

Make sure that the parameters you typed in the command line are displayed in the Path to executable field.
4

Set the Log On account

Click the Log On tab. For Node1, change the user NetworkService to node1admin. For Node2, change the user NetworkService to node2admin. Click OK.

Change the %appdata% variable

The ABBYY.ProcServer.FlexiCapture.12.0 service creates and stores session data in the location referenced by the %appdata% variable. The node1admin and node2admin users must have the same folder specified for %appdata% in order for the service to switch between the cluster nodes.
For the cluster2016\node1admin user, the %appdata% variable must be changed on Node1. For the cluster2016\node2admin user, the %appdata% variable must be changed on Node2.
You can change the %appdata% variable via the command line or directly in the Windows registry. To change %appdata% via the command line:
1

Run the REG ADD command

Enter the following command in the command line (cmd.exe):
where \\FC12ProcServer\ClusterTemp should be replaced with the path to your folder.
Copying and pasting the above command may introduce redundant new line characters, resulting in an error. If this is the case, type the command manually.
2

Confirm the change

Confirm that you want to change the AppData folder if it already exists.
3

Repeat for Node2

Repeat the previous steps for Node2.
To change %appdata% directly in the Windows registry:
1

Find the User Shell Folders key

Find the key HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders in the registry.
2

Set the AppData value

If no such key exists, create a REG_EXPAND_SZ type variable named AppData in this key and set its value to \\FC12ProcServer\ClusterTemp.
3

Repeat for Node2

Repeat the previous steps for Node2.

Connect the Processing Server Monitor

To connect the Processing Server Monitor, select a node for the FC12ProcServer service, and then open the Processing Server Monitor on any computer in your LAN and add the clustered Processing Server.