Skip to content

Add function to get AD replication status#1226

Merged
bill-long merged 1 commit into
mainfrom
bilong-adrepl
Sep 14, 2022
Merged

Add function to get AD replication status#1226
bill-long merged 1 commit into
mainfrom
bilong-adrepl

Conversation

@bill-long
Copy link
Copy Markdown
Member

@bill-long bill-long commented Sep 14, 2022

This work will enable HealthChecker, SetupAssist, and other scripts to report replication health.

Note that this script does not itself evaluate replication health - it purely retrieves the data. It's up to the caller to decide what to call out. Typically this would be by filtering ResultLastAttempt for certain values, or by looking at last success times that are very old.

Example output from my lab with one DC turned off for days (I renamed the script after this point):

image

Example after that DC is back up and things are replicating:

image

@bill-long bill-long requested a review from a team as a code owner September 14, 2022 17:54
@bill-long bill-long force-pushed the bilong-adrepl branch 2 times, most recently from 2111f56 to 4197e22 Compare September 14, 2022 20:30
@bill-long bill-long merged commit 8c54afb into main Sep 14, 2022
@bill-long bill-long deleted the bilong-adrepl branch September 14, 2022 21:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants