XenApp and XenDesktop

多类型许可

多类型许可支持在单个 XenApp 或 XenDesktop® 站点上为交付组使用不同许可证类型。类型是产品 ID (XDT, MPS) 和模型 (UserDevice, Concurrent) 的单一组合。交付组必须使用为站点设置的产品版本。

如果未配置多类型许可,则只能在完全独立的站点上配置时才能使用不同许可证类型。交付组使用站点许可证。

多类型

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

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

要安装许可证,请使用:

  • 思杰 工作室
  • Citrix 许可管理器
  • 许可证管理控制台
  • citrix.com

Subscription Advantage 日期特定于每个许可证文件以及每个产品和模型。设置不同的交付组可能具有彼此不同的 Subscription Advantage 日期。

代理 PowerShell 开发工具包

DesktopGroup 对象包含两个重要的属性,您可以通过使用与之关联的 New-BrokerDesktopGroup 和 Set-BrokerDesktopGroup 命令行管理程序来对它们进行管理和操作。

名称 限制条件
许可模型 一个枚举(Concurrent 或 UserDevice),用于指定该组的许可模型。 如果功能开关被禁用,尝试设置属性将失败。
产品代码 一个文本字符串,XDT(用于 XenDesktop)或 MPS(用于 XenApp®),指定组的许可产品 ID。 如果功能开关被禁用,尝试设置属性将失败。

New-BrokerDesktopGroup

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

设置代理桌面组

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

获取代理桌面组

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

为每个交付组配置不同的许可证产品和模型

  1. 以管理员权限打开 PowerShell 并添加 Citrix 管理单元。
  2. 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.

    注意:

    如果交付组未设置许可证信息,请应用 站点级站点许可证

  3. To change the license model, run the command Set-BrokerDesktopGroup –Name “DeliveryGroupName” –LicenseModel LicenseModel.
  4. To change the license product, run the command Set-BrokerDesktopGroup –Name “DeliveryGroupName” –ProductCode ProductCode.
  5. Enter the command Get-BrokerDesktopGroup –Name “DeliveryGroupName” to validate the changes.

    注意:

    您不能混用和搭配版本,例如,Premium 和 Advanced 许可证。

  6. 要删除许可证配置,请运行上述相同的 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.

  1. We set the first Delivery Group for XenApp and Concurrent. Set-BrokerDesktopGroup -Name “Delivery Group for XenApp Platinum Concurrent” -ProductCode MPS -LicenseModel Concurrent
  2. We set the second Delivery Group for XenDesktop and Concurrent. Set-BrokerDesktopGroup -Name “Delivery Group for XenDesktop Platinum Concurrent” -ProductCode XDT -LicenseModel Concurrent
  3. We create and set the third Delivery Group for XenDesktop and UserDevice. New-BrokerDesktopGroup -Name “Delivery Group for XenDesktop Platinum UserDevice” -PublishedName “MyDesktop” -DesktopKind Private -ProductCode XDT -LicenseModel UserDevice

特殊注意事项

多类型许可与常规 XenApp 和 XenDesktop 许可具有不同的功能。

Director 或 Studio 不会发出任何警报和通知:

  • 在接近许可证限制或补充宽限期触发或到期时,没有相关信息。
  • 当特定组出现问题时,没有通知。
多类型许可