Session Recording

查看会话录制的成功率

您可以检查录制成功率,以了解是否所有与活动录制策略匹配的会话都已录制。录制成功率的计算方式如下:

录制成功率 = 成功录制的会话数量 / 与当前活动录制策略相匹配的会话总数

先决条件

  • 此功能要求会话录制服务器的最低版本为 2203。

  • To obtain site configuration and session data for accurate calculation, you must install the Broker PowerShell Snap-in (Broker_PowerShellSnapIn_x64.msi). You can locate the snap-in on the Citrix Virtual Apps and Desktops ISO (\x64\Citrix Desktop Delivery Controller) and follow the instructions to install it.

  • For an on-premises Delivery Controller, install and use the Citrix Virtual Apps and Desktops™ PowerShell SDK. For a Delivery Controller in Citrix Cloud, install and use the Citrix DaaS Remote PowerShell SDK. To determine which SDK to install and use, be aware of the Delivery Controller that you specified when you configured your recording policy.

步骤

为了检查您的部署中的录制成功率,请完成以下步骤:

  1. 使用具有适当权限的域用户帐户登录到已安装会话录制服务器的计算机。

  2. Start PowerShell and change the current drive to the <Session Recording server installation path>\Bin folder.

  3. 根据您的部署类型,运行相应的命令:

    • For an on-premises Delivery Controller™, run either of the following commands as needed:
      • 如果会话录制服务器的完全限定域名与绑定到会话录制服务器的证书中的完全限定域名相同,请运行 SsRecUtils.exe -CalcRecSuccessRate <Delivery Controller address>

      • If you have specified a custom domain name with the certificate binding, run SsRecUtils.exe -CalcRecSuccessRate <Delivery Controller address> - SRBrokerURL <custom domain name>.

    • 对于 Citrix Cloud™ 中的交付控制器,请按顺序运行以下命令:

      • Add-PSSnapin Citrix.Broker.Admin.V2

      • Set-XDCredentials -CustomerId “<Citrix Cloud customer ID>” -SecureClientFile “<path to secure client file>” -ProfileType CloudApi -StoreAs default

      • get-xdauthentication

      • SsRecUtils.exe -CalcRecSuccessRate CloudDDC

  4. 检查录制成功率。如果所有与当前活动的录制策略匹配的会话都已录制,则录制成功率为 100%。否则,录制成功率将低于 100%,系统会提示您在提供会话详细信息的文件中检查失败的录制。例如:

    100% 录制成功率 100% 录制成功率

    50% 录制成功率 50% 录制成功率

查看会话录制的成功率