-
-
Notifications
You must be signed in to change notification settings - Fork 801
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create contained availability group #8713
Comments
Contained Availability Group is a SQL Server 2022 only feature. At a minimum this cannot be implemented until we are using SMO version that supports full SQL Server 2022 compatibility in the dbatools.library. Not a priority right now but if anyone would like to submit a PR post 2.0 release, we are happy to review and accept. |
Quick check in SMO the preview release does not show support of this as of yet. I'm not sure if sqlserver module is supporting this already. At this time, we can't support it but will leave the issue open until we find SMO can support it. |
Thank you! |
Hi, what is the status on this? It seems that the SMO does support contained AGs. It's just not documented as of yet. |
I have a solution for this I developed and tested for my own environment. I'll get that posted shortly. |
@thewaiting28 looks like you can stop waiting |
Summarize Functionality
Would love to be able to create new contained availability group, either with New-DbaAvailabilityGroup or a new command? Also query whether or not an AG is contained. Thank you!
Is there a command that is similiar or close to what you are looking for?
Yes
Technical Details
Something like "New-DbaAvailabilityGroup -Primary sql01\inst01 -Secondary sql02\inst02 -Name "ag01" -Database "Database01" -Contained $true
Or, -Contained just as a switch
The text was updated successfully, but these errors were encountered: