When trying to install a second management server in a SCOM 2016 management group, after entering the OpsDB details, a few moments later the wizard would return to the SQL details screen.
A brief investigation revealed the following error in the installation log file (OpsMgrSetupWizard.txt this is your best friend for troubleshooting SCOM installations):
Info:Error while connecting to management server: The client has been disconnected from the server. Please call ManagementGroup.Reconnect() to reestablish the connection.
Error: :Couldn’t connect to mgt server stack: : Threw Exception.Type: Microsoft.EnterpriseManagement.Common.ServerDisconnectedException, Exception Error Code: 0x80131500, Exception.Message: The client has been disconnected from the server. Please call ManagementGroup.Reconnect() to reestablish the connection.
First confirming that the Data Access service was in fact running on the original management server and that a connection could be made to the SDK.
It turns out that the two servers times were out of sync by more than 5 minutes causing a Keberos time skew. After correcting the server time the second management server installed with no issues.
Great ceativity and the post clarity is awesome! Thanks for your article! I have been looking for quite a long time and fortunately I read this article!