当服务器证书指纹发生变化后,交付组内的虚拟桌面电源会显示未知状态,就此需要使用powershell命令更换DDC新vCenter证书的指纹。
登录vCenter查看服务器证书指纹信息
使用powershell命令更换DDC托管vCenter的指纹信息方法。
#例如当前指纹信息
ls XDHyp:\Connections\
#如下为命令输入结果
PSPath : Citrix.Host.Commands\Citrix.Hypervisor::XDHyp:\Connections\VMware
PSParentPath : Citrix.Host.Commands\Citrix.Hypervisor::XDHyp:\Connections
PSChildName : VMware
PSDrive : XDHyp
PSProvider : Citrix.Host.Commands\Citrix.Hypervisor
PSIsContainer : True
ConnectionType : VCenter
HypervisorAddress : {https://172.17.3.110/sdk}
HypervisorConnectionName : VMware
HypervisorConnectionUid : 05a9a931-d559-4434-95b7-ecd10e112823
MaintenanceMode : False
Metadata : {Citrix_Broker_MaxAbsoluteNewActionsPerMinute = 10, Citrix_Broker_MaxPowerActionsPercentageOfDesktops = 20
, Citrix_Broker_MaxAbsolutePvDPowerActions = 50, Citrix_Broker_MaxAbsoluteActiveActions = 40...}
MetadataMap : {[Citrix_Broker_MaxAbsoluteNewActionsPerMinute, 10], [Citrix_Broker_MaxPowerActionsPercentageOfDesktops, 2
0], [Citrix_Broker_MaxAbsolutePvDPowerActions, 50], [Citrix_Broker_MaxAbsoluteActiveActions, 40]...}
Persistent : True
PluginId : VmwareFactory
Revision : 10a020a4-9f2d-4227-b9fe-b529acb3540a
SslThumbprints :
SupportsLocalStorageCaching : False
SupportsPvsVMs : True
Unentitled : False
UserName : [email protected]
Scopes :
UsesCloudInfrastructure : False
ConnectionTypeName : VCenter
CustomProperties :
FullPath : XDHyp:\Connections\VMware
Capabilities : {CreateVmWithNetworkDisconnected, ReportsExplicitStorageRequirements, RequiresExplicitStorage, RequiresDis
kDetachingBeforeDelete...}
ConfigurationObjectCapabilities : {Vm = {CpuCount, MemoryMB, MinMemoryMB, HardDiskSizeGB...}}
ZoneName : 主要
ZoneUid : 524f7c5f-b2bf-40e7-878d-f240e06fbd90
#定义vCenter的用户名和密码,弹出输入即可。
$cred = Get-Credential
#参数1:FullPath 参数二:vCenter获取最新指纹信息, 参数三:HypervisorAddress
Set-Item -LiteralPath "XDHyp:\Connections\VMware" -username $cred.username -Securepassword $cred.password -SslThumbprint "实际指纹信息" -hypervisorAddress https://172.17.3.110/sdk
更换完成后,请逐台重启DDC上的 Citrix Host Service即可,然后再次查看电源状态是否正常。
标签:XDHyp,Broker,指纹,Connections,VCSA,Citrix,DDC,VMware From: https://blog.51cto.com/dengpeng2025/8005189