Skip to main content

How to Determine Whether Cribl Stream Leader Replication Is Enabled on a Failover (HA) Leader Pair From a Diag

  • Dec 3, 2026 6:38 PM UTC
  • 0 replies
  • 3 views

Jessica Bracken

Objective

Determine from a diag whether Leader Replication is enabled for a failover (HA) leader pair.

Environment

  • Cribl Stream 4.17 or later, on-premises
  • Distributed deployment with a failover (HA) leader pair that uses a shared failover volume
  • A diag from each leader in the pair

Procedure

  1. Open local/_system/instance.yml in the diag.

    1. Verify that distributed.master.resiliency is set to failover.

    2. Note the failover.volume path.

  2. Open system.json in the diag.

    1. Compare env.CRIBL_HOME with CRIBL_INSTANCE_HOME and the install path.

    2. Replication is ON if CRIBL_HOME equals the local install directory, and configPath is the local install directory.

    3. Replication is OFF if CRIBL_HOME and configPath point at the failover volume.

    4. Check the messages for ids starting with leader_replication_, such as leader_replication_unmet_system_requirements or leader_replication_unverified.

  3. Search the leader log for replication messages.

    1. Replication ON shows Configured for failover/replication once per boot.

    2. Replication ON also shows Setting up replicator on each lease acquisition.

    3. Replication ON also shows Pulling known paths from replica excluding the git repo and Creating FSReplicatorGit client.

    4. A standby leader with replication ON shows Scheduling replica sync.

    5. Replication OFF shows Warming Git cache and Git cache warming completed successfully, with no replicator lines.

  4. Open the state/leaders/*.json files in the diag.

  5. Verify whether each leader startTime and version changed after the upgrade.

  6. Repeat steps 1 through 5 with a diag from the other leader.

Additional Information

  • No REST API field or UI setting shows the effective replication mode. system.json describes only the leader that produced the diag, so you need a diag from each leader.
  • env.CRIBL_STATE_DIR points to the volume state directory in both modes, so it does not help.
  • With resiliency set to none, configPath is also the install directory, so confirm failover in instance.yml first.
  • Log rotation can remove boot-time lines if the lease was not re-acquired.
  • The marker file $CRIBL_HOME/state/replication-enabled is local to each node. The diag does not include it, although it does include state/leaders and state/lease.json.
  • A standby that has not restarted since the upgrade may not have the marker file yet.
  • Replication is on by default for on-premises deployments since 4.17. It can be silently off if the pre-enablement checks fail. The checks require NFS support for mtime updates, enough free local disk space to hold the replicated directories (everything on the failover volume except state) plus a 10 GB buffer, and a git.timeout of at least 10 minutes (600000 ms). Failures log at boot and raise a red system banner. See High Availability Requirements and Leader High Availability/Failover.
  • Replication changes where leaders read default/, local/, groups/, and data/. With replication OFF they read from the shared volume. With it ON they read from the local $CRIBL_HOME.