Citrix Virtual Apps and Desktops

多类型许可

注意:

  • (/zh-cn/licensing/current-release/license-activation-service.html)不支持多类型许可。
  • 交付组级别的许可证覆盖已弃用。Citrix Virtual Apps and Desktops 现在仅使用站点级别的许可证设置。

多类型许可支持在单个 Citrix Virtual Apps and Desktops 站点上为交付组使用不同类型的许可证。类型是产品 ID(XDT 或 MPS)和模型(UserDevice 或 Concurrent)的单一组合。交付组必须使用与站点级别配置的相同产品版本(PLT/Premium 或 ENT/Advanced)。在为 Citrix Virtual Apps and Desktops 部署配置多类型许可时,请注意本文末尾的(/zh-cn/citrix-virtual-apps-desktops/manage-deployment/licensing/multi-type-licensing.html#special-considerations)。

如果未配置多类型许可,则只有在为单独的站点配置时才能使用不同类型的许可证。交付组使用站点许可证。有关配置多类型许可时的重要通知限制,请参阅(/zh-cn/citrix-virtual-apps-desktops/manage-deployment/licensing/multi-type-licensing.html#special-considerations)。

多类型许可图示

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

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

要安装许可证,请使用:

  • Citrix 工作室
  • Citrix 许可管理器
  • citrix.com

客户成功服务日期特定于每个许可证文件以及每个产品和型号。不同设置的交付组可能彼此具有不同的客户成功服务日期。

特殊注意事项

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

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

  • 当接近许可证限制或许可证突发模式的触发或到期时,无信息。
  • 当特定组出现问题时,无通知。

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

尽管 Citrix Virtual Apps Standard 和 Citrix Virtual Desktops™ Standard 许可证版本名称都表明它们是标准版,但它们并非同一版本。多类型许可不适用于 Citrix Virtual Apps Standard 和 Citrix Virtual Desktop Standard 许可证。

许可证兼容性矩阵

此表详细说明了旧产品名称、新产品名称以及相关的功能名称。四个兼容性列指定了哪些产品和许可证模型组合与多类型许可兼容。CCU 和 CCS 代表并发许可证,UD 代表用户/设备许可证。

许可证兼容性矩阵以及新旧名称

代理 PowerShell SDK

DesktopGroup 对象具有这两个属性,您可以使用相关的 New-BrokerDesktopGroup 和 Set-BrokerDesktopGroup cmdlet 进行操作。

名称 限制
许可模型 一个参数(并发或用户设备),用于指定组的许可模型。如果未指定,则使用站点范围的许可模型。 如果功能开关被禁用,则尝试设置属性会失败。
产品代码 一个文本字符串,可以是 XDT(用于 Citrix Virtual Desktops)或 MPS(用于 Citrix Virtual Apps™),用于指定组的许可产品 ID。如果未指定,则使用站点范围的产品代码。 如果功能开关被禁用,则尝试设置属性会失败。

有关 LicenseModel 和 ProductCode 的更多信息,请参阅 about_Broker_Licensing

New-BrokerDesktopGroup

创建一个桌面组,用于管理桌面组的代理。有关此 cmdlet 的更多信息,请参阅 https://citrix.github.io/delivery-controller-sdk/Broker/New-BrokerDesktopGroup/

Set-BrokerDesktopGroup

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

Get-BrokerDesktopGroup

检索符合指定条件的桌面组。Get-BrokerDesktopGroup cmdlet 的输出包括组的 ProductCodeLicenseModel 属性。如果尚未使用 New-BrokerDesktopGroup 或 Set-BrokerDesktopGroup 设置这些属性,则返回 null 值。如果为 null,则使用站点范围的许可模型和产品代码。有关此 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 命令(/en-us/citrix-virtual-apps-desktops/media/license-configuration-6.png)

示例

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

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

  1. 我们为第一个交付组设置了 XenApp® 和并发许可。

    Set-BrokerDesktopGroup -Name “适用于 Citrix Virtual Apps 高级并发版的交付组” -ProductCode MPS -LicenseModel Concurrent

  2. 我们为第二个交付组设置了 XenDesktop® 和并发许可。

    Set-BrokerDesktopGroup -Name “适用于 Citrix Virtual Desktops 高级并发版的交付组” -ProductCode XDT -LicenseModel Concurrent

  3. 我们为第三个交付组创建并设置了 XenDesktop 和用户/设备许可。

    New-BrokerDesktopGroup -Name “适用于 Citrix Virtual Desktops Premium UserDevice 的交付组” -PublishedName “我的桌面” -DesktopKind Private -ProductCode XDT -LicenseModel UserDevice

多类型许可