Citrix Virtual Apps and Desktops

多类型许可

多类型许可支持在单个 Citrix Virtual Apps and Desktops 站点上为交付组使用不同的许可证类型。类型是产品 ID(XDT 或 MPS)和模式(UserDevice 或 Concurrent)的一种组合。交付组必须使用在站点级别配置的相同产品版本(PLT/Premium 或 ENT/Advanced)。希望为 Citrix Virtual Apps and Desktops 部署配置多类型许可时,请注意本文末尾的特殊注意事项

如果未配置多类型许可,则仅当为独立站点配置时才能使用不同的许可证类型。交付组使用站点许可证。有关配置多类型许可时的重要通知限制,请参阅特殊注意事项

多类型许可示意图

要确定使用不同许可证类型的交付组,请使用以下 Broker PowerShell cmdlet:

  • New-BrokerDesktopGroup
  • Set-BrokerDesktopGroup
  • Get-BrokerDesktopGroup

要安装许可证,请使用:

  • Citrix Studio
  • Citrix Licensing Manager
  • citrix.com.cn

Customer Success Services 日期是每个许可证文件以及每个产品和模式特有的。以不同方式设置的交付组的 Customer Success Services 日期可能会不同。

特殊注意事项

多类型许可与常规 Citrix Virtual Apps and Desktops 许可的功能不同。

对于配置为使用与站点配置不同的类型的交付组,Director 或 Studio 没有发出警报和通知:

  • 临近许可证限制时没有任何信息,不会触发补充宽限期,也不存在补充宽限期到期。
  • 特定组出现问题时不显示任何通知。

为多类型许可证配置的交付组仅使用该许可证类型,在完全使用时不会回退到站点配置。

尽管 Citrix Virtual Apps Standard 和 Citrix Virtual Desktops Standard 许可证版本名称只是这些许可证都是 Standard 版本,但其版本不同。多类型许可不适用于 Citrix Virtual Apps Standard 和 Citrix Virtual Desktop Standard 许可证。

许可证兼容性列表

此表详细介绍了旧产品名称、新产品名称和关联的功能名称。四个兼容性列指定了哪些产品和许可模式组合适用于多类型许可。CCU 和 CCS 表示并发许可证,UD 表示用户/设备许可证。

许可证兼容性列表和新旧名称

Broker PowerShell SDK

DesktopGroup 对象具有以下两个属性,您可以使用关联的 New-BrokerDesktopGroup 和 Set-BrokerDesktopGroup cmdlet 进行控制。

名称 限制
LicenseModel 用于指定组的许可模式的参数(Concurrent 或 UserDevice)。如果未指定,则使用站点范围的许可模式。 如果禁用功能切换,尝试设置属性将失败。
ProductCode 指定组的许可产品 ID 的文本字符串 XDT(表示 Citrix Virtual Desktops)或 MPS(表示 Citrix Virtual Apps)。如果未指定,则使用站点范围的产品代码。 如果禁用功能切换,尝试设置属性将失败。

有关 LicenseModel 和 ProductCode 的详细信息,请参阅 about_Broker_Licensing

New-BrokerDesktopGroup

创建桌面组以便对多组桌面的代理进行管理。有关此 cmdlet 的详细信息,请参阅https://citrix.github.io/delivery-controller-sdk/Broker/New-BrokerDesktopGroup/

Set-BrokerDesktopGroup

禁用或启用现有 Broker 桌面组或更改其设置。有关此 cmdlet 的详细信息,请参阅 https://citrix.github.io/delivery-controller-sdk/Broker/Set-BrokerDesktopGroup/

Get-BrokerDesktopGroup

检索匹配指定条件的桌面组。Get-BrokerDesktopGroup cmdlet 的输出包括组的 ProductCodeLicenseModel 属性。如果未使用 New-BrokerDesktopGroup 或 Set-BrokerDesktopGroup 设置这些属性,则返回空值。如果为空,则使用站点范围的许可模式和产品代码。有关此 cmdlet 的详细信息,请参阅https://citrix.github.io/delivery-controller-sdk/Broker/Get-BrokerDesktopGroup/

按照交付组配置不同的许可证产品和型号

  1. 使用管理权限打开 PowerShell 并添加 Citrix 管理单元。 Citrix 管理单元
  2. 运行命令 Get-BrokerDesktopGroup –Name “DeliveryGroupName” 以查看当前许可证配置。查找 LicenseModelProductCode 参数。如果以前未配置过以下参数,则它们可能为空。

    注意:

    如果交付组未设置许可证信息,则默认为站点级别站点许可证

    Powershell 命令

  3. 请通过运行以下命令来更改许可模式:Set-BrokerDesktopGroup –Name “DeliveryGroupName” –LicenseModel LicenseModelPowershell 命令
  4. 请通过运行以下命令来更改许可证产品:Set-BrokerDesktopGroup –Name “DeliveryGroupName” –ProductCode ProductCodePowershell 命令
  5. 输入命令 Get-BrokerDesktopGroup –Name “DeliveryGroupName” 以验证所做的更改。

    注意:

    您不能混合和匹配同一站点中的版本。例如,Premium 和 Advanced 许可证。如果您拥有不同版本的许可证,则需要多个站点。

    Powershell 命令

  6. 请运行之前步骤中所述的相同 Set-BrokerDesktopGroup 命令来删除许可证配置,并将值设置为 $null

    注意:

    Studio 不显示每个交付组的许可证配置。使用 PowerShell 查看当前配置。

    Powershell 命令

示例

此 PowerShell cmdlet 示例说明如何为两个现有交付组设置多类型许可,然后创建并设置第三个交付组。

要查看与交付组关联的许可产品和许可模式,请使用 Get-BrokerDesktopGroup PowerShell cmdlet。

  1. 为第一个交付组设置 XenApp 和 Concurrent。

    Set-BrokerDesktopGroup -Name “Delivery group for Citrix Virtual Apps Premium Concurrent” -ProductCode MPS -LicenseModel Concurrent

  2. 为第二个交付组设置 XenDesktop 和 Concurrent。

    Set-BrokerDesktopGroup -Name “Delivery group for Citrix Virtual Desktops Premium Concurrent” -ProductCode XDT -LicenseModel Concurrent

  3. 创建第三个交付组并为其设置 XenDesktop 和 UserDevice。

    New-BrokerDesktopGroup -Name “Delivery group for Citrix Virtual Desktops Premium UserDevice” -PublishedName “MyDesktop” -DesktopKind Private -ProductCode XDT -LicenseModel UserDevice

多类型许可