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 是一个守护程序,用于监视 Linux VDA 的运行状况。它包含三个模块:
- 关键进程监视模块:此模块委托 Systemd 在意外故障时自动重启关键服务,定期扫描和记录目标进程的状态,并确保及时清理 Xorg 残留。日志存储在 /var/log/xdl/ms.log 中。
- XDPing 集成模块:此模块定期执行 XDPing 分析和备份任务。所有这些任务的输出都可以在 /var/log/xdl/msxdping.log 中找到。
- Linux VDA 自更新模块:有关详细信息,请参阅通过 Azure 进行 Linux VDA 自更新。
配置
默认情况下,监视服务 ctxmonitord 在您启动 VDA 时自动启动。具有管理员权限后,您可以通过 /etc/xdl/ctxmonitord.conf 和 /etc/xdl/whitelist.conf 对其进行配置。
ctxmonitord.conf
此配置文件指定监视服务 ctxmonitord 及其模块的行为。默认情况下,其配置如下:
; This is the configuration file for ctxmonitord service
; Section 'service' configures the key process monitor module
[service]
MonitorEnable=true ; true or false
DetectInterval=300 ; in seconds, minimum is 60
; Section 'xdping' configures the XDPing integration module
[xdping]
XdpingEnable=true ; true or false
AnalysisInterval=600 ; in seconds, minimum is 60, 0 means disable
BackupInterval=1 ; in days, 0 means disable
; Section 'rules' configures the rules about how to monitor each key process
; Each rule should be named as rules.<ProcessName> where <ProcessName> is the name of the process to be monitored
; 'ProcessName' should be the name of the target process that is picked up from whitelist.conf
; 'MonitorType' should be 'HealthCheck' or 'ResidueCleanup'. All 'MonitorType' should be 'HealthCheck' except for 'Xorg'
[rules]
[rules.ctxhdx]
ProcessName=ctxhdx
MonitorType=HealthCheck
[rules.ctxvda]
ProcessName=ctxvda
MonitorType=HealthCheck
[rules.ctxjproxy]
ProcessName=ctxjproxy
MonitorType=HealthCheck
[rules.ctxpolicyd]
ProcessName=ctxjproxy
MonitorType=HealthCheck
[rules.ctxlogd]
ProcessName=ctxlogd
MonitorType=HealthCheck
[rules.xorg]
ProcessName=Xorg
MonitorType=ResidueCleanup
<!--NeedCopy-->
whitelist.conf
此配置文件指定要监视的目标进程的白名单。ctxmonitord.conf 文件中指定的目标服务也必须列在 whitelist.conf 文件中。默认情况下,其配置如下:
ctxhdx
ctxvda
ctxjproxy
ctxlogd
ctxcdm
ctxcups
ctxpolicyd
ctxusbsd
ctxceip
ctxsdcd
ctxrunatboot
ctxgdtd
ctxbcrd
ctxfidod
ctxpfwd
ctxwcamsd
ctxcertmgr
ctxscardsd # Except for SLES
ctxfedsd # Only for RHEL 8/9
Xorg
<!--NeedCopy-->
注意:
要使您在 ctxmonitord.conf 和 whitelist.conf 文件中所做的更改生效,请运行 systemctl restart ctxmonitord 命令以重新启动监视服务守护程序。
要配置服务在意外故障时如何重新启动,请编辑 /usr/lib/systemd/system/ctx*.service 文件。例如,以下是默认的重新启动选项:
Restart=on-failure RestartSec=5 StartLimitInterval=60 StartLimitBurst=3 <!--NeedCopy-->
共享
共享
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.