investigate-geo-dr-issues
Installation
SKILL.md
Investigate Geo-DR Issues
Auto-detects platform via SERVERPROPERTY('EngineEdition'): SQL DB=5, MI=8, SQL Server=1-4, Fabric=12.
Scope
- For a proactive geo-DR readiness or RPO/RTO assessment, use the
geo-dr-assessment-health-checkskill. - For Always On AG replica or synchronization incidents, use the
investigate-ha-issuesskill.
Parameters
| Parameter | Default | Description |
|---|---|---|
| DatabaseName | (empty) | Optional DB filter; empty = all databases |
| TopN | 10 | Max rows returned per query |
| LookbackHours | 24 | Recency window for restart/maintenance detection (GetMaintenanceAndScalingEvents) |
Prerequisites
- Connected to the target database (or
masterfor failover group queries on Azure SQL DB). - Confirm which server and database you are connected to (e.g.
SELECT @@SERVERNAME, DB_NAME(), SUSER_SNAME(), SERVERPROPERTY('EngineEdition')); if not connected, ask the user for the target.