We have an RDS deployment with a connection broker / gateway server and two session hosts.
We are having the issue where the RDCms database goes into recovery pending mode after each reboot. We have to connect the database manually, take it offline and then bring it back on line to get it to work.
The errors in the WID log at the time are:
2022-01-02 00:17:43.07 spid51 Starting up database 'RDCms'.
2022-01-02 00:17:53.28 spid51 Failed to verify Authenticode signature on DLL 'C:\Windows\WID\Binn\DBVerify\rdcmsDbVerify.dll'.
2022-01-02 00:17:53.34 Logon Error: 18456, Severity: 14, State: 38.
2022-01-02 00:17:53.34 Logon Login failed for user 'NT AUTHORITY\NETWORK SERVICE'. Reason: Failed to open the explicitly specified database 'RdCms'. [CLIENT: <named pipe>]
2022-01-02 00:17:57.76 Logon Error: 18456, Severity: 14, State: 38.
2022-01-02 00:17:57.76 Logon Login failed for user 'NT AUTHORITY\NETWORK SERVICE'. Reason: Failed to open the explicitly specified database 'RdCms'. [CLIENT: <named pipe>]
2022-01-02 00:17:57.77 Logon Error: 18456, Severity: 14, State: 38.
I found this article: https://social.technet.microsoft.com/Forums/en-US/8f032597-9eff-4876-8239-fca71b8d118d/rds-broker-database-rdcms-status-quotrecovery-pendingquot-after-reboots?forum=winserverTS
But the RDCms.dbo.sysdiagrams table does not exist within the database in our environment.
This is getting cumbersome for our customer and any assistance would be greatly appreciated.
Thanks!