检查会话录制成功率
您可以检查录制成功率,以了解是否所有与活动录制策略匹配的会话都已录制。录制成功率的计算方式如下:
录制成功率 等于 成功录制的会话数量 除以 与活动录制策略匹配的会话总数。
先决条件
-
此功能要求会话录制服务器的最低版本为 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.
-
对于本地部署的交付控制器,请安装并使用 Citrix Virtual Apps and Desktops™ PowerShell SDK。对于 Citrix Cloud 中的交付控制器,请安装并使用 Citrix DaaS Remote PowerShell SDK。要确定应安装和使用哪个 SDK,请注意您在配置录制策略时指定的交付控制器。
步骤
为了检查您整个部署的录制成功率,请完成以下步骤:
-
使用具有适当权限的域用户帐户登录到已安装会话录制服务器的计算机。
-
Start PowerShell and change the current drive to the <Session Recording server installation path>\Bin folder.
-
根据您的部署类型运行相应的命令:
- 对于本地 Delivery Controller™,根据需要运行以下任一命令:
-
If the FQDN of the Session Recording server is the same with the FQDN in the certificate bound to the Session Recording server, run 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
-
- 对于本地 Delivery Controller™,根据需要运行以下任一命令:
-
检查录制成功率。如果所有与当前活动录制策略匹配的会话都已录制,则录制成功率为 100%。否则,录制成功率将低于 100%,系统会提示您在提供会话详细信息的文件中检查失败的录制。例如:
100% 录制成功率

50% 录制成功率
