This content has been machine translated dynamically.
Dieser Inhalt ist eine maschinelle Übersetzung, die dynamisch erstellt wurde. (Haftungsausschluss)
Cet article a été traduit automatiquement de manière dynamique. (Clause de non responsabilité)
Este artículo lo ha traducido una máquina de forma dinámica. (Aviso legal)
此内容已经过机器动态翻译。 放弃
このコンテンツは動的に機械翻訳されています。免責事項
이 콘텐츠는 동적으로 기계 번역되었습니다. 책임 부인
Este texto foi traduzido automaticamente. (Aviso legal)
Questo contenuto è stato tradotto dinamicamente con traduzione automatica.(Esclusione di responsabilità))
This article has been machine translated.
Dieser Artikel wurde maschinell übersetzt. (Haftungsausschluss)
Ce article a été traduit automatiquement. (Clause de non responsabilité)
Este artículo ha sido traducido automáticamente. (Aviso legal)
この記事は機械翻訳されています.免責事項
이 기사는 기계 번역되었습니다.책임 부인
Este artigo foi traduzido automaticamente.(Aviso legal)
这篇文章已经过机器翻译.放弃
Questo articolo è stato tradotto automaticamente.(Esclusione di responsabilità))
Translation failed!
监视服务守护程序
监视服务守护程序 (ctxmonitord) 通过执行定期扫描来监视关键服务。当检测到异常时,守护程序会重新启动或停止服务进程,并清理进程残留以释放资源。检测到的异常记录在 /var/log/xdl/ms.log 文件中。
配置
当您启动 VDA 时,监视服务守护程序会自动启动。
您可以使用管理员权限,通过 /opt/Citrix/VDA/sbin 下的 scanningpolicy.conf、rulesets.conf 和 whitelist.conf 文件来配置此功能。
要使您在 scanningpolicy.conf、rulesets.conf 和 whitelist.conf 文件中的更改生效,请运行以下命令以重新启动监视服务守护程序。
- systemctl restart ctxmonitord
<!--NeedCopy-->
- **scanningpolicy.conf**
此配置文件用于启用或禁用监视服务守护程序。它设置服务检测间隔,并指定是否修复检测到的异常。
- MonitorEnable: true/false(默认为 true)
- DetectTime: 20(单位:秒;默认值:20;最小值:5)
- AutoRepair: true/false(默认为 true)
- MultBalance: false
- ReportAlarm: false
- **rulesets.conf**
此配置文件指定要监视的目标服务。默认情况下有四个受监视的服务,如下图所示。

要配置每个要监视的服务,请设置以下字段。
- **MonitorUser**: all
- **MonitorType**: 3
- **ProcessName**: <>(进程名称不能为空,并且必须完全匹配。)
- **Operation**: 1/2/4/8(1 = 在检测到异常时停止服务。2 = 在检测到异常时终止服务。4 = 重新启动服务。8 = 清理 Xorg 进程残留。)
- **DBRecord**: false
-
whitelist.conf
在 rulesets.conf 文件中指定的目标服务也必须在 whitelist.conf 文件中进行配置。白名单配置是用于安全的辅助筛选器。
要配置白名单,请在 whitelist.conf 文件中仅包含进程名称(必须完全匹配)。有关示例,请参阅以下屏幕截图。

注意:
在停止 ctxvda、ctxhdx 和 ctxpolicyd 服务之前,请运行 systemctl stop ctxmonitord 命令以停止监视服务守护程序。否则,监视服务守护程序会重新启动您停止的服务。
共享
共享
在本文中
This Preview product documentation is Citrix Confidential.
You agree to hold this documentation confidential pursuant to the terms of your Citrix Beta/Tech Preview Agreement.
The development, release and timing of any features or functionality described in the Preview documentation remains at our sole discretion and are subject to change without notice or consultation.
The documentation is for informational purposes only and is not a commitment, promise or legal obligation to deliver any material, code or functionality and should not be relied upon in making Citrix product purchase decisions.
If you do not agree, select I DO NOT AGREE to exit.