Skip to main content

XProtect Management server failover (WSFC)

Setting up OpenTelemetry

Last Updated: 1 minute read
LanguageEnglish

Note

With the 2026 R1 release, the Milestone Log Server component has been deprecated. This section is valid for version 2026 R2 or newer.

Each management server node has its own OpenTelemetry collector and VictoriaLogs, and the API Gateway on the node reads the server logs from them. Do not change the API Gateway appsettings.json.

To give every node a complete copy of the server logs:

  • Management server failover: the Failover Configurator configures it by itself. No further steps are needed.

  • Windows Server Failover Cluster: on each node, run Configure-WsfcTelemetry.ps1 from an elevated PowerShell prompt, with the IP addresses of the other nodes. For example:

    .\Configure-WsfcTelemetry.ps1 -PeerAddress 10.10.20.12

    Use the script to replicate the system, audit, and rule logs across the nodes of a management server running in a Windows Server Failover Cluster (WSFC). Each node's local VictoriaLogs then contains the logs from all nodes in the cluster. For Milestone SafeKit failover (MSFO), the Failover Configurator automatically replicates these logs. WSFC does not automatically replicate logs, so you must run the script on each node.

    To download the script, see Set up Victoria logging in a simple Windows Server Failover Cluster (how-to) in the Milestone Knowledge Base (requires a Milestone login).

To check that the system collects logs:

  1. Log in to the Milestone Management Client and go to Server Logs.

  2. On the VictoriaLogs tab, click View system logs in VictoriaLogs and check that the system logged your activity.

  3. In a cluster, fail over to another node and check that logs from before the failover are still visible.