Citrix DDC更新VCSA证书指纹方法
当vCenter服务器证书过期后,选择续期服务器证书获取导入其他证书,将会导致指纹发生变化后,就此DDC交付组内的虚拟桌面电源会显示成未知状态,就此需要使用powershell命令更换DDC新vCenter证书的指纹。
查看连接名和证书
登录vCenter或使用浏览器查看服务器证书指纹信息
#例如当前指纹信息 ls XDHyp:\Connections\ #如下为命令输入结果 PSPath : Citrix.Host.Commands\Citrix.Hypervisor::XDHyp:\Connections\vcsa PSParentPath : Citrix.Host.Commands\Citrix.Hypervisor::XDHyp:\Connections PSChildName : vcsa PSDrive : XDHyp PSProvider : Citrix.Host.Commands\Citrix.Hypervisor PSIsContainer : True ConnectionType : VCenter HypervisorAddress : {https://192.168.88.250/sdk} HypervisorConnectionName : vcsa 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\vcsa" -username $cred.username -Securepassword $cred.password -SslThumbprint "实际指纹信息注意不要有冒号和横线" -hypervisorAddress https://192.168.88.250/sdk
标签:XDHyp,证书,Broker,指纹,Connections,Citrix,DDC,Vcenter From: https://www.cnblogs.com/TImeroot/p/18260357