当前位置:网站首页 > 更多 > 玩电脑 > 正文

[玩转系统] 用于故障排除的 SCCM CMG 日志文件 |修复 CMG 问题

作者:精品下载站 日期:2024-12-14 11:18:14 浏览:15 分类:玩电脑

用于故障排除的 SCCM CMG 日志文件 |修复 CMG 问题


本文列出了与 SCCM CMG 相关的所有日志文件。您可以使用这些 SCCM CMG 日志文件来排除与云管理网关相关的问题。

设置 SCCM CMG 时,您必须了解可帮助您解决问题的 CMG 日志文件。大多数 CMG 日志文件保存在 Azure 服务器上,其中一些存储在站点服务器上。

尽管可用的 CMG 日志文件并不多,但您仍然需要知道它们在哪里,以便解决 CMG 问题。它们位于站点服务器或 Azure 服务器上。了解如何修复 SCCM CMG 无法登录 Azure 错误。

在我的上一篇文章中,我介绍了在 CMG 中启用远程桌面的步骤。如果您在 SCCM CMG 中启用远程桌面,则可以轻松访问 CMG 日志文件。要从头开始设置 SCCM CMG,请参阅此分步指南 - https://www.prajwaldesai.com/setup-sccm-cloud-management-gateway/

CMG VM 上的注册表保存日志文件的位置详细信息。您必须通过 RDP CMG VM 才能访问日志文件。登录 CMG 虚拟机时,导航至 HKLM\SOFTWARE\Microsoft\SMS\Tracing\CMGSetup。注册表项 TraceFilename 显示 CMG 日志文件的实际位置 - E:\approot\logs\CMGSetup.log

[玩转系统] 用于故障排除的 SCCM CMG 日志文件 |修复 CMG 问题

CMGSetup.logCMGHttpHandler.logCMGService.log - 这些是本地配置管理器日志文件,云服务管理器每五次从 Azure 存储同步一次分钟。云管理网关每五分钟将日志推送到 Azure 存储。

  • 要对部署进行故障排除,请使用 CloudMgr.logCMGSetup.log
  • 要对服务运行状况进行故障排除,请使用CMGService.logSMS_Cloud_ProxyConnector.log
  • 要对客户端流量进行故障排除,请使用 CMGService.logSMS_Cloud_ProxyConnector.log

另请阅读:修复 ConfigMgr CMG 卡在启动状态的问题

从 Azure 同步的 CMG 日志

这些是云服务管理器每五分钟从 Azure 存储同步一次的本地配置管理器日志文件。云管理网关每五分钟将日志推送到 Azure 存储。因此,最大延迟为 10 分钟。详细开关会影响本地和远程日志。实际文件名包括服务名称和角色实例标识符。例如,CMG-ServiceName-RoleInstanceID-CMGSetup.log。这些日志文件是同步的,因此您不需要通过 RDP 到云管理网关来获取它们,并且不支持该选项。

推荐文章:ConfigMgr CMG 错误 - 无法解析远程名称

用于故障排除的 SCCM CMG 日志文件

下表包含有关每个 SCCM CMG 日志文件名称、位置和说明的信息。

CMG Log File NameDescriptionLog File LocationSMS_Cloud_ProxyConnector.logRecords details about setting up connections between the cloud management gateway service and the cloud management gateway connection point.This log file is located on site system server – C:\Program Files\Microsoft Configuration Manager\LogsCloudMgr.logThis file logs details related to cloud management gateway service, ongoing service status, and all the data associated with the service.On site server – C:\Program Files\Microsoft Configuration Manager\LogsCMGContentService.logThis log records the details of the service when you enable a CMG to also serve content from Azure storage.%approot%\logs on your Azure serverCMGService.logRecords details about the cloud management gateway (CMG) service core component in Azure.%approot%\logs on your Azure serverCMGHttpHandler.logYou see this log file only if you are using version 1802. This is because in SCCM 1806, this log has been removed. The component functionality is merged into the CMG service component. Therefore see the CMGService.log instead.%approot%\logs on your Azure serverCMGSetup.logRecords details about the second phase of the cloud management gateway deployment (local deployment in Azure).%approot%\logs on your Azure server

您需要 登录账户 后才能发表评论

取消回复欢迎 发表评论:

关灯