Test-DbaAvailabilityGroup - Add -Policy switch for all 13 Always On policies#10234
Closed
andreasjordan wants to merge 1 commit intodevelopmentfrom
Closed
Test-DbaAvailabilityGroup - Add -Policy switch for all 13 Always On policies#10234andreasjordan wants to merge 1 commit intodevelopmentfrom
andreasjordan wants to merge 1 commit intodevelopmentfrom
Conversation
…olicies Adds -Policy switch that evaluates all 13 predefined Always On AG policies from Microsoft's Policy-Based Management framework, grouped by facet: - Server: WSFC Cluster State (Critical) - Availability group: 6 policies using AvailabilityGroupState SMO object - Availability replica: Role, Join, Data Synchronization (per replica) - Availability database: Suspension, Data Sync, Join (via Get-DbaAgDatabaseReplicaState) Each check returns PolicyName, Category, Facet, Status, Issue, and Details. (do Test-DbaAvailabilityGroup) Co-authored-by: Andreas Jordan <andreasjordan@users.noreply.github.com>
Collaborator
Author
|
See my thoughts about this in #9911 - this is not a pr to be merged. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a
-Policyswitch toTest-DbaAvailabilityGroupthat evaluates all 13 predefined Always On Availability Group policies from Microsoft's Policy-Based Management framework.Each policy check returns an object with PolicyName, Category, Facet, Status (Healthy/Unhealthy), Issue, and Details.
Related to #9911
Generated with Claude Code