-
Notifications
You must be signed in to change notification settings - Fork 225
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
SqlWaitForAG: Does not evaluate if the Availability Group was successfully created #1569
Comments
hmm, wanting to pick this one up. |
@Fiander @johlju |
So just that you know, I have fixed this with using WaitForAll Resource instead of SqlWaitForAG, still would be nice to know the intended purpose of this DSC Resource, since waits on the same node can be done with dependencies anyway. |
Hi @AndreasMWalter , could you please show me some example configuration with WaitForAll instead of SqlWaitForAG ? |
Hiya @powertim, basically we are using
That resource connects to the primary and checks whether the SqlAg Resource is compliant before it lets the configuration continue. |
SqlWaitForAG resource evaluates if the Windows Failover Cluster role/group has been created. But the Windows Failover Cluster role/group is created before the Availability Group is in a ready state. When the Windows Failover Cluster role/group is found the resource will wait one more time according to the value of
RetryIntervalSec
before returning. There is currently no check to validate that the Availability Group was successfully created and is in a ready state.The text was updated successfully, but these errors were encountered: