Configure the Data Collector Server service to run in a cluster environment

The Data Collector Server is an XProtect service that collects and manages the performance statistics for devices and services.

To make the management server on all nodes behave as one system, you must update the Data Collector Server configuration files on all cluster nodes.

Step 1: Obtain the cluster ID

To make sure that all nodes share the same cluster ID, you must obtain the ID from the system:

  1. On a cluster node, open Windows PowerShell as administrator and type the following command:

    Get-Cluster -Name '[name]' | format-list -Property *

    where [name] is the name of the role you have defined for the cluster.

  2. Copy the value for the Id property.

Step 2: Update the configuration file

You must update all Data Collector Server configuration files on all cluster nodes with the cluster ID.

Before you make any changes to the configuration on a node, stop the XProtect Data Collector Server service on that node.

  1. On a node, go to C:\Program Files\Milestone\XProtect Data Collector Server\ and open the appsettings.json file in a text editor as an administrator.

  2. Update the lines with your cluster details:

    • CLUSTER ADDRESS contains the full address of the cluster in the format [protocol]://[role name].[domain name], for example, https://ms-cluster.company.com

    • [CLUSTER ID] contains the alpha-numeric value of the cluster ID that you obtained.

    Using the cluster address and ID, update the fields in the .json files as follows:

    					
    "ClusterSettings": {
    "ClusterAddress": "[CLUSTER ADDRESS]",
    "ClusterApplicationId": "[CLUSTER ID]"
    },		
    
  3. Restart the role from Failover Cluster Manager.
  4. Repeat steps 1-3 on all nodes.
  5. Verify that the Data Collector Server service is running only on the owner node.

All the data you receive from and send to the remote servers will go to the running management server.