多类型许可
注意:
许可证激活服务(/zh-cn/licensing/current-release/license-activation-service.html)不支持多类型许可。
多类型许可支持在单个 Citrix Virtual Apps and Desktops 站点上的交付组中使用不同许可类型。类型是产品 ID(XDT 或 MPS)和模型(用户/设备或并发)的单一组合。交付组必须使用与站点级别配置的相同产品版本(PLT/Premium 或 ENT/Advanced)。在为 Citrix Virtual Apps and Desktops 部署配置多类型许可时,请注意本文末尾的特殊注意事项。
如果未配置多类型许可,则只有在为单独站点配置时才能使用不同许可类型。交付组使用站点许可。有关配置多类型许可时的重要通知限制,请参阅特殊注意事项。

要确定消耗不同类型许可的交付组,请使用以下 Broker PowerShell cmdlet:
- 新建-代理桌面组
- 设置-代理桌面组
- Get-BrokerDesktopGroup
要安装许可,请使用:
- 思杰工作室
- Citrix 许可管理器
- citrix.com
客户成功服务日期特定于每个许可文件以及每个产品和模型。采用不同设置的交付组彼此之间可能具有不同的客户成功服务日期。
特殊注意事项
多类型许可与常规的 思杰虚拟应用和桌面™ 许可具有不同的功能。
对于配置为使用与站点配置不同类型的交付组,Director 或 Studio 不会发出警报和通知:
- 在接近许可限制或触发或到期许可突发模式时,不会提供任何信息。
- 当特定组出现问题时,不会收到通知。
配置为多类型许可的交付组仅消耗该许可类型,并且在完全消耗后不会回退到站点配置。
尽管 Citrix Virtual Apps 标准版和 Citrix Virtual Desktops™ 标准版许可版本名称都表明它们是标准版,但它们并非同一版本。多类型许可不适用于 Citrix Virtual Apps 标准版和 Citrix Virtual Desktop 标准版许可。
许可兼容性矩阵
此表详细介绍了旧产品名称、新产品名称以及相关的功能名称。四个兼容性列指定了哪些产品和许可模型组合与多类型许可兼容。CCU 和 CCS 代表并发许可,UD 代表用户/设备许可。

代理 PowerShell 软件开发工具包
The DesktopGroup object has these two properties you can manipulate using the associated New-BrokerDesktopGroup and Set-BrokerDesktopGroup cmdlets.
| 名称 | 值 | 限制条件 |
|---|---|---|
| 许可模型 | 一个参数(并发或用户/设备),用于指定组的许可模型。如果未指定,则使用站点范围的许可模型。 | 如果功能开关被禁用,则尝试设置属性将失败。 |
| 产品代码 | 一个文本字符串,XDT(用于 Citrix Virtual Desktops)或 MPS(用于 Citrix Virtual Apps™),用于指定组的许可产品 ID。如果未指定,则使用站点范围的产品代码。 | 如果功能开关被禁用,则尝试设置属性将失败。 |
有关许可证模型和产品代码的更多信息,请参阅 about_Broker_Licensing。
新建 Broker 桌面组
创建桌面组以管理桌面组的代理。有关此 cmdlet 的更多信息,请参阅 https://citrix.github.io/delivery-controller-sdk/Broker/New-BrokerDesktopGroup/。
设置 Broker 桌面组
禁用或启用现有代理桌面组,或更改其设置。有关此 cmdlet 的更多信息,请参阅 https://citrix.github.io/delivery-controller-sdk/Broker/Set-BrokerDesktopGroup/
Get-BrokerDesktopGroup
检索与指定条件匹配的桌面组。Get-BrokerDesktopGroup 命令的输出包括组的 ProductCode 和 LicenseModel 属性。如果尚未使用 New- BrokerDesktopGroup 或 Set-BrokerDesktopGroup 设置这些属性,则返回 null 值。如果为 null,则使用站点范围的许可模型和产品代码。有关此命令的更多信息,请参阅 https://citrix.github.io/delivery-controller-sdk/Broker/Get-BrokerDesktopGroup/。
为每个交付组配置不同的许可证产品和模型
注意:
不能在单个交付组上配置两种或更多不同类型的产品、版本或许可证模型。如果您有不同类型的产品、版本或许可证模型,请在单独的交付组中进行配置。
- 以管理员权限打开 PowerShell 并添加 Citrix 管理单元。
-
Run the command Get-BrokerDesktopGroup –Name “DeliveryGroupName” to view the current license configuration. Find the parameters LicenseModel and ProductCode. If you haven’t configured these parameters before, they might be blank.
注意:
如果交付组未设置许可证信息,则默认为 Site level Site license。

- Change the license model by running the command: Set-BrokerDesktopGroup –Name “DeliveryGroupName” –LicenseModel LicenseModel.
- Change the license product by running the command: Set-BrokerDesktopGroup –Name “DeliveryGroupName” –ProductCode ProductCode.
-
Enter the command Get-BrokerDesktopGroup –Name “DeliveryGroupName” to validate the changes.
注意:
您不能在同一站点中混合搭配版本。例如,Premium 和 Advanced 许可证。如果您拥有不同版本的许可证,则需要多个站点。

-
通过运行与前面步骤中描述的相同的 Set-BrokerDesktopGroup 命令,并将值设置为 $null,来删除许可证配置。
注意:
Studio 不显示每个交付组的许可证配置。使用 PowerShell 查看当前配置。

示例
此 PowerShell cmdlet 示例说明了如何为两个现有交付组设置多类型许可,并创建和设置第三个交付组。
To see the license product and license model associated with a delivery group, use the Get-BrokerDesktopGroup PowerShell cmdlet.
-
我们将第一个交付组设置为 XenApp® 和并发。
Set-BrokerDesktopGroup -Name “Delivery group for Citrix Virtual Apps Premium Concurrent” -ProductCode MPS -LicenseModel Concurrent
-
我们将第二个交付组设置为 XenDesktop® 和并发。
Set-BrokerDesktopGroup -Name “Delivery group for Citrix Virtual Desktops Premium Concurrent” -ProductCode XDT -LicenseModel Concurrent
-
我们创建并设置第三个交付组,用于 XenDesktop 和用户/设备。
New-BrokerDesktopGroup -Name “Delivery group for Citrix Virtual Desktops Premium UserDevice” -PublishedName “MyDesktop” -DesktopKind Private -ProductCode XDT -LicenseModel UserDevice