Citrix Desktop Delivery Controller Database connection failure

Citrix Desktop Delivery Controller Database connection failure

book

Article ID: CTX220050

calendar_today

Updated On:

Description

This article describes two ways of how to resolve DDC connection to SQL database failure


Instructions


Solution 1

Check transcation log of database and shrink it if it is full. Make sure that the SQL server is running in Primary synchronized, Mirror restoring mode before shrink operation.

Remove mirror from the primary SQL Server
Modify the recovery model to simple
Right click the database and shrink the transaction log
Backup the database and transcation log, copy them to Mirror database server 
Restore the backup with NORECOVERNY option on Mirror database server 
Select the database and select mirror task on primary database server 
Click Configure Security to start Mirroring wizard 
Select Yes on Witness server page


Solution 2
Restore DDC's SID in database to AD

Check the DDC SID in database with that in AD. If the SID of any of the DDC is mismatched in database,we need to restore the SID in database to AD with a tool called ADRestore.

Run .psgetsid.exe Domain\ddcname
Check analystic.service in database
Run ldp in AD to find the objectguid and objectsid of the deleted items 
Run .\ADRestore -r <object ddc> and select the right SID to restore

Environment

Citrix is not responsible for and does not endorse or accept any responsibility for the contents or your use of these third party Web sites. Citrix is providing these links to you only as a convenience, and the inclusion of any link does not imply endorsement by Citrix of the linked Web site. It is your responsibility to take precautions to ensure that whatever Web site you use is free of viruses or other harmful items.

Additional Information

https://technet.microsoft.com/en-us/sysinternals/adrestore.aspx