ServerSettings.xml files and replicates them in a backup folder.
In the following instructions, a computer named
DCsrv is used as the host server, but you can use any computer where the DFS roles are set up.- A computer running Windows Server 2012 or later that is not used as a cluster node or for file storage
- The DFS Namespaces and DFS Replication roles set up on that computer
- The DFS Namespaces and DFS Replication roles set up on all of the nodes
- A shared folder, with full control permissions for the
node1adminandnode2adminusers, that serves as a backup when the main shared folder becomes inaccessible
- Add the DFS roles.
- Create shared folders.
- Create a namespace.
- Add the shared folders to the namespace.
- Set up replication.
- Set up priorities for the folder targets.
- Configure the ABBYY FlexiCapture Processing Server service.
Add the DFS roles
- Open Server Manager and click Add Roles and Features.
- At the Select server roles stage, expand File and Storage Services and select DFS Namespaces and DFS Replication.

Create shared folders
The shared folder must:- Be used only to replicate data from the cluster.
- Not be located on a cluster node or in the file storage.
- Be accessible to all nodes.
Create a namespace
Namespaces are created and configured in the DFS Management console, where you select a server, grant access permissions to users, and specify the namespace type.-
Open Server Manager and click Tools → DFS Management. In the DFS Management snap-in that opens, click New Namespace….

-
Specify the name of the server that will host the namespace and click Next.

-
Specify a name for the namespace and click Edit Settings….

-
In the Edit Settings dialog box, select the Use custom permissions option and click Customize…. Next, grant full control permissions for the shared folder to the
node1adminandnode2adminusers.
-
At the Namespace Type stage, select Domain-based namespace, and then select the Enable Windows Server 2008 mode option and click Next.

-
Check to make sure that the specified settings are correct and click Create.

- Click Close to close the wizard.

Add the shared folders to the namespace
Add the main and backup shared folders to the namespace:-
In the DFS Management snap-in, click New Folder….

- In the dialog box that opens, specify a name for the folder, and then click Add…. The name will be displayed in the namespace of the distributed file system.
The name you provide for the shared folder must not be the same as the name of any replicated folders.

-
Specify the path to the shared folder and click OK.

-
Click Add… again and specify the path to the backup folder. Both folder targets appear in the Folder targets list. When you are done, click OK.

- A message will appear saying that you can create a replication group. Click Yes to create a replication group and start setting up replication.

Set up replication
Setting up replication means creating a replication group, specifying a server, selecting a topology of connections among group members, choosing a replication schedule, and specifying replication bandwidth. You configure all of this in the Replicate Folder Wizard:-
The wizard will suggest the names of the replication group and replicated folder. Edit these names if necessary or keep the default names and click Next.

-
The wizard will inform you if the folder targets can participate in replication. Review the information in the Eligibility column and click Next.

-
Select the server that contains the data to be replicated to folder targets and click Next.

-
For the topology to be used, select Full mesh and click Next.

-
For the replication schedule, select Replicate continuously using the specified bandwidth. From the Bandwidth drop-down list, select Full and click Next.

-
Check to make sure that the specified settings are correct and click Create.

-
Once the replication group is created, click Close to close the wizard.

- If a Replication Delay warning appears, click OK.


Set up priorities for the folder targets
To minimize the risk of malfunction, we recommend setting up priorities for the folder targets.This is one possible priority setup for the folder targets. Other setups are possible, depending on your needs. For detailed instructions on setting up target priorities, see this page on the Microsoft website.
-
Open your namespace and then open the properties of the shared folder.

- Click Advanced, select the Override referral ordering option, and then select First among all targets. This option means that users are always directed to the selected folder target when it is accessible.

Configure the ABBYY FlexiCapture Processing Server service
To keep the cluster hosting the ABBYY FlexiCapture Processing Server service running even if the file storage fails, complete these steps.- Complete steps 1 through 4 described in Set up the ABBYY FlexiCapture Processing Server service, but in step 1, change the path to the file that contains the Processing Server settings. The command in step 1 should be as follows:
- Change the
%appdata%variable directly in the Windows registry to\\cluster2016.com\DFS\FC12ClusterTemp(see Change the %appdata% variable).
