This article contains information about Virtual Desktop Agent (VDA) and Desktop Delivery Controller (DDC) Troubleshooting.
XenDesktop Administration Skills
Windows Administration Skills
Troubleshooting VDA and DDC is necessary when a VDA cannot register with a DDC or launch fails. Once the VDA is registered with a DDC, the flowchart can be used to isolate the virtual infrastructure like XenServer or VMware Virtual Center SDK. It is vital to understand the following communication process to identify where a possible issue is occurring.
The following processes are necessary to understand for isolation of an issue:
Endpoint device submits user credentials to a Web Interface site through Access Gateway. All external communication is between endpoint device and datacenter occurs over SSL port 443.
Web Interface passes the user credentials to the DDC. The DDC installation process automatically creates multiple Web Interfaces sites to provide flexible user experience.
The DDC verifies user authorization by performing a Microsoft Active Directory query with the user's credentials.
The DDC queries the Data Store for the user’s assigned desktop groups. Desktop groups consist of users and desktops assigned through Active Directory (AD).
Using the desktop group it obtained from the Data Store, the DDC queries the Virtual Machine infrastructure about the status of the desktops within that group.
Provisioning Services binds the vDisk to the virtual desktop.
The DDC identifies to Web Interface which desktop it assigned for this particular session.
Note: This step might have already occurred if an available desktop is running in an idle pool when the user logs on.
Web Interface sends an .ICA file to the Desktop Receiver, which points to the virtual desktop identified through the DDC in Step 7.
The Desktop Receiver establishes an ICA connection to the specific virtual desktop that was allocated through the DDC for this session.
The VDA verifies the license file with the DDC.
The DDC queries the Citrix License Server to verify that the user has a valid ticket.
The DDC passes session policies to the VDA, which then applies those policies to the virtual desktop.
Profile management applies user profile settings to the virtual desktop.
The Desktop Receiver displays the virtual desktop to the user.
As the user interacts with the virtual desktop, XenApp delivers the hosted and streamed applications on demand for Virtual Desktops.
Refer to the following ports to ensure communication is operating correctly in a XenDesktop environment.
You can download the Troubleshooting Flowchart from the attachment.
CXD-200-2W - Implementing Citrix XenDesktop 3 and 4
CTX117452 - How to Enable the Logging Process in XenDesktop
CTX117248 - Troubleshooting Virtual Desktop Agent Registration with Controllers in XenDesktop
CTX118038 - Virtual Desktop Agent is not Associating itself with the Virtual Machine