Xendeskto
Xendeskto
php/citrix/xenapp-xendesktop-7-5/151-06-provisioningservices-power-management-and-vdisks
https://support.citrix.com/article/CTX126991
Background
When the user requests a connection to a virtual desktop, a number of tests are performed and checks
made to select the correct virtual desktop to which they must be connected. If one or more of these tests
fails in some way, the desktop launch is refused and the user is informed that the resource is
unavailable. An event log message is also produced on the DDC machine describing why the launch
was refused, and this article is to aid troubleshooting these situations.
permanent assignment.
Other Launch Failure (Event 1100) or Other Launch Failure on Reconnect (Event
1104)
If the launch failure cannot be categorized to a particular failure reason, one of these events occurs.
Troubleshooting Actions
If the preceding descriptions of the event circumstances do not provide sufficient clues to determine the
problem, logging of the Citrix Broker Service must be used to capture traces of the launch sequence
actions. So, collect CDF tracing, and select the following modules to be traced:
CdsController
CdsBroker
CdsXmlServices
ControllerDAL
BrokerDAL
CdsLicensing
CdsHostingManagement
CdsTicketStore
CdsHostingPlugin
CdsInterService
PRODLIC_Library_Common
PRODLIC_LicPolEng
Cause
Most likely the drive selected in Desktop Studio wizard user interface (or Provisioning Services
XenDesktop wizard user interface) was V.
Personal vDisk utilizes now two drive letters which default to P and V. The Desktop Studio Wizard
(or Provisioning Services XenDesktop wizard user interface) does not present the option for the second
drive which by default is V.
Resolution
In order to avoid this issue simply avoid selecting V as the drive letter in the Wizard interface.
If you still need to use V as the drive letter, then you can change the following registry key to some
other drive letter so that it will not conflict with the drive letter in the XenDesktop Setup wizard.
Key : HKEY_LOCAL_MACHINE\Software\Citrix\personal vDisk\Config
Value : VHDMountPoint [REG_SZ]
Set this to the drive letter of your choice. Ensure that :\ is appended to the end of your entry
(Example: X:\ )
For further information, refer to article http://support.citrix.com/article/CTX131432
Solution 1
Restart the Citrix Site services on all the DDCs.
Note: This may result in momentary disruptions of new connections, however current
sessions are not affected.ObjectType : Vm
Open PowerShell as admin and run the following commands:
Get-Service Citrix* | Stop-Service -Force
Solution 3
Remove the affected virtual machines from the Desktop Group in Desktop Studio and add them again.
NOTE: Removing machines from an MCS catalog cannot be reversed. Once the VM is removed you
will only be able to add that machine to a catalog of the "Existing" type.
Solution 4
Ensure the SCVMM console version and hotfix level, installed on the DDCs, is the same version and
hotfix level as the SCVMM server.
For example: Install the upgraded version of the SCVMM Console, version 8, KB3097539 on both
controllers, which matched the SCVMM server hotfix level.
Problem Cause
The DDC must communicate with the hypervisor using the virtual machine ID. If the DDC has an
incorrect machine ID for the virtual machine, it is unable to read the machine power state and throws
an exception in the broker log. If the power status is Unknown, the DDC will not be able to manage
any power functions on the virtual machine.
Solution 2
This can be caused by changes made on the hypervisor to VM metadata. If the VM's unique ID has
changed then the XenDesktop database may be unaware of this UID mismatch. This process will verify
the UID known to XenDesktop for the VMs and compare against the UID provided by the hypervisor.
Warning! Back up the XenDesktop database before completing these actions.
4. Open DDC using the PowerShell console and run the following commands to display all
machine IDs of the virtual machines from the hypervisor. .
asnp Citrix*
$ErrorActionPreference=Continue
Get-ChildItem -Path XdHyp:\ -force -recurse | ?{ $_.IsMachine } | Out-File
Filepath c:\xdhyp.txt
5. The xdhyp.txt output file contains the correct machine IDs from the hypervisor. Open that file
and press Ctrl+F or Edit > Find. Search for the name of the Virtual Machine, in this case the
name of the Virtual Machine is PVS0003.
Example output
PSPath :
Citrix.Host.Admin.V1\Citrix.Hypervisor::XDHyp:\Connections\XenServer\PVS0003.
vm
PSParentPath :
Citrix.Host.Admin.V1\Citrix.Hypervisor::XDHyp:\Connections\XenServer
PSChildName : PVS0003.vm
PSDrive : XDHyp
PSProvider : Citrix.Host.Admin.V1\Citrix.Hypervisor
PSIsContainer : True
Name : PVS0003
FullName : PVS0003.vm
http://www.rootzones.net/2014/01/citrix-xendesktop-interview-question.html