Friday, August 26, 2011

XenDesktop 5 unable to connect to vSphere

 

  • The error when connecting:

New-Item -Path 'xdhyp:\connections' -Name 'Melbourne VDI' -HypervisorAddress @('https://youFWDN/sdk') -ConnectionType 'VCenter' -Username 'vdiadmin' -Password '********' -AdminAddress 'localhost'

New-Item : The hypervisor was not contactable at the supplied address.
    + CategoryInfo : InvalidOperation: (:) [New-Item], InvalidOperationException
    + FullyQualifiedErrorId : Citrix.XDPowerShell.HostStatus.HypervisorNotContactable,Microsoft.PowerShell.Commands.NewItemCommand

New-Item : The hypervisor was not contactable at the supplied address.
    + CategoryInfo : InvalidOperation: (:) [New-Item], InvalidOperationException
    + FullyQualifiedErrorId : Citrix.XDPowerShell.HostStatus.HypervisorNotContactable,Microsoft.PowerShell.Commands.NewItemCommand

  • If you open IE and try and connect to:

'https://youFWDN/sdk' – You get a certificate error.

You try an follow the instructions but are missing some details on the ‘local computer’ option. From: http://forums.citrix.com/thread.jspa?threadID=278523

“Open Internet Explorer and enter the address of the vSphere server as https://FQDN of the vSphere server
Accept the security warnings.
Click the Certificate Error in the Security Status bar and select View certificates.
Click Install certificate, and then click Next.
Select Place all certificates in the following store, and then click Browse.
Select the Show physical stores check box. (at the bottom of the dialog)
Expand Trusted People and select Local Computer.
Click OK, and then click Finish.”

  • But you don't see the ‘Local Computer”

image

  • The solution is you are on a W2k8 R2 server so run IE as Administrator and you can then add the cert to the Trusted People, Local Computer.

Solved !

  • Restart IE, go to the URL, no error then go back to XenDesktop.
Post a Comment

Blog Archive