Docs
Coming with the private beta.
Full product documentation is published alongside the private beta. Below is a preview of the runbook format — it is what every piece of OpsLantern content follows.
Runbook format
Structured, executable, versioned.
Every runbook in OpsLantern is a machine-readable document. Symptoms, pre-checks, commands, verification, rollback, and references — in that order, every time. Commands are copy-safe with variable placeholders, and each command can be elevated to a one-click action in the platform.
---
id: mssql.ag.resync-replica
title: Resync an MSSQL AG replica
platforms: [mssql]
severity: medium
tags: [mssql, availability-group, replication]
---
## Symptoms
- AG latency > threshold sustained for N minutes
- Replica state: NOT SYNCHRONIZED / REVERTING
## Pre-checks
- Confirm latest verified backup < 24h
- Confirm disk free on both replicas
- Confirm no scheduled maintenance overlap
## Commands (Windows)
```powershell
Suspend-SqlAvailabilityDatabase -Path $replicaPath
Resume-SqlAvailabilityDatabase -Path $replicaPath
```
## Verification
- AG latency < 30s within 5 minutes
- Replica state: SYNCHRONIZED
## Rollback
- If resume fails, revert to backup + re-add as replica