-
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
SQLAlwaysOnService - Fails To Turn On #1187
Comments
This do work when I’m using the resource in my lab. Can you look in SQL Server logs and event logs to see if you see why it can’t be changed? |
Hi Johan, There are no logs that suggest why, i am looking into the Cluster at the moment, i don't think its installed correctly, so i am looking into this. I wish there was a way to get more information directly from the failed item on DSC |
You could try running |
Although I think |
Yep, i think it was the Cluster not been correctly done, need to revert back a step and make sure the cluster is been setup correctly before getting to here! Cheers for the support :) |
I am haivng the same issue. I can enable the AlwaysOn from SQL configuration manually. (So, I think I have the cluster configurated properly.) I got this error when I do it from DSC.
More details:
|
@michaelsync Can you please provide the verbose log when you run the configuration on the target node? |
How do I get that verbose log? I got this error from Azure Automation DSC. That's all I have. I am not sure how to enable that verbose setting. I created this issue #1220 (comment) .. because I thought the issue #1187 is already closed. |
Closing this again, and we continue the discussion in issue #1220. |
SQL Always On Services Fails to actually Turn it on
Details of the scenario you tried and the problem that is occurring
I am running a DSC installation script which will install a AG over the top of a number of SQL server instances. When i run the DSC It connects and attempts to switch it yet fails to actually do it. I can manually change it using the GUI so it can in theory be changed.
The DSC configuration that is using the resource (as detailed as possible)
Config item - SqlAlwaysOnService
Version of the operating system and PowerShell the target node is running
SQL Server edition and version the target node is running
Edition : Enterprise Edition
Version : 13.2.5026.0
Language : 1033
What SQL Server PowerShell modules, and which version, are present on the target node.
Version of the DSC module you're using, or write 'dev' if you're using current dev branch
The text was updated successfully, but these errors were encountered: