Here is the step describe how to manually restore the DDC service.
1: Log in to the DDC server using VNC as a domain user.
for example, vdesktop\vdimanager.
Copy the XenDesktop5.5 installation package to the DDC (VDS-MGR) server.
2: Open the package folder, and double-click AutoSelect.exe.
The XenDesktop window is displayed about 2 minutes later.
3: Click Install XenDesktop.
The Licensing Agreement window is displayed about 40 seconds later.
Select I accept the terms and conditions, and click Next.
The Select Components to Install window is displayed.
Select the options shown in below Figure , and click Next.
4: Click Install.
It takes about 15 minutes to install the DDC components.
5: Click Close.
The XenDesktop window is closed. After about 3 minutes, the Citrix Desktop Studio window is displayed.
6: Copy the Hotfixs software package to the DDC server.
Install Broker_Service_X64.msi and Broker_PowerShellSnapIn_X64.msi contained in the Hotfixs software package as prompted.
During the installation, parameter configuration is not required.
7: Open the "regedit" of the DDC server, find below location:
and copy the value of the key ConnectionString
,for example “Server=VDS-DB-1.vdesktop.huawei.com;Initial Catalog = XenDesktop01; Integrated Security = True; Failover Partner = VDS-MGR.vdesktop.huawei.com”
8: Open powershell in DDC server, execute below commands in powershell :
Set-ConfigDBConnection -DBConnection $null
Set-AcctDBConnection -DBConnection $null
Set-HypDBConnection -DBConnection $null
Set-ProvDBConnection -DBConnection $null
Set-PvsVmDBConnection -DBConnection $null
Set-BrokerDBConnection -DBConnection $null
9: Execute below commands in powershell,modify the red part as recorded on step 7.
Set-ConfigDBConnection -DBConnection "Server= <dbserver>;Database= <dbname>;Trusted_Connection=True"
Set-AcctDBConnection -DBConnection " Server= <dbserver>;Database= <dbname>;Trusted_Connection=True "
Set-HypDBConnection -DBConnection " Server= <dbserver>;Database= <dbname>;Trusted_Connection=True "
Set-ProvDBConnection -DBConnection " Server= <dbserver>;Database= <dbname>;Trusted_Connection=True "
Set-PvsVmDBConnection -DBConnection " Server= <dbserver>;Database= <dbname>;Trusted_Connection=True "
Set-BrokerDBConnection -DBConnection " Server= <dbserver>;Database= <dbname>;Trusted_Connection=True "
10: Modify the register port number for VDA.
After installation,the default port number for VM register is 80,we need change to 8080.
cd C:\Program Files\Citrix\Broker\Service，
run command brokerservice.exe –show
to check the register port number for VDA，
run command brokerservice.exe -vdaport 8080
to change the port number.
11: Restart ICA service in the user VM to register to DDC,then use WI to login the VM,the service was restored.