跳转到主内容

SnapCenter SMCore 服务会生成哪些日志文件?

Views:
1
Visibility:
Public
Votes:
0
Category:
snapcenter
Specialty:
snapx
Last Updated:

适用场景

适用于 Microsoft Windows 的 SnapCenter 插件

问题解答

SnapCenter SMCore服务是在SnapCenter服务器主机和安装了适用于Microsoft Windows的SnapCenter插件的Windows主机上运行的一个组件。
SMCore会生成以下日志文件。
 

日志文件名 位置 问题描述 日志轮换
SMCoreService.log <SC_Install_Dir>\SMCore\log\

SnapCenter SMCore服务 日志文件。

注意: 从4.9开始、这些日志记录包括与作业无关的SAL日志记录。

日志文件大小超过时,将触发滚动 MaxFileSize。轮转日志将保留为 SMCoreService.log.<N> 不超过指定数量的文件 MaxSizeRollBackups。默认 最大文件大小 为10 MB、默认值 MaxSizeRollBackups 为10。可以 使用 Set-SmLogSettings -Agent cmdlet更改这些参数。有关详细信息、 请 [1] 参阅所运行版本的《Windows cmdlet参考指南》、并参阅相关文档。
SMCore_<Job_ID>.log <SC_Install_Dir>\SMCore\log\

SnapCenter SMCore服务 转折日志。与基本相同 SMCoreService.log、但 仅包含 与 单个工作相关的信息。

注意: 从4.9开始、这些日志记录包括SAL的日志记录。

当作业日志文件总大小超过时 JobLogsMaxFileSize,将删除最早的文件。默认 JobLogsMaxFileSize 为500 MB、可使用 Set-SmLogSettings -Agent cmdlet进行更改。有关详细信息、请 [2] 参阅所运行版本的《Windows cmdlet参考指南》、并参阅相关文档。

SnapDriveSALDebug.log <SC_Install_Dir>\SMCore

SMCore存储抽象层(SAL) 日志文件。此日志文件包含与SMCore运行的ZAPI相关的日志输出。

注意: SnapCenter 4.9不再生成这些日志、可以删除旧日志。日志记录会折叠到SMCoreTM服务日志和SMCore作业日志中、具体取决于作业相关性。

有关详细信息,请参阅知识库文章: How to change the maximum log file size and number of log files to retain for SMCore SAL log

 

SCW_<Job_ID>.log

<SC_Install_Dir>\SMCore\job_logs

<SCW_Install_dir>\SnapCenter Plug-in for Windows\logs

在SMCore SAL作业日志中、这些日志包含与 SnapDriveSALDebug.log   单个作业相同的行、但仅包含与单个作业相关的信息。

在适用于Windows的SnapCenter插件(SCW)日志中、这些日志记录包含Windows主机专用的日志记录。

注意: SnapCenter的SMCore 4.9不再生成SMCore SCW作业日志、而是将这些行置于SMCore作业日志中。

当作业日志文件总大小超过时 JobLogsMaxFileSize,将删除最早的文件。默认 JobLogsMaxFileSize 为500 MB、可使用 Set-SmLogSettings -Agent cmdlet进行更改。有关详细信息、请 [3] 参阅所运行版本的《Windows cmdlet参考指南》、并参阅相关文档。

JobLauncher.log <SC_Install_Dir>\SMCore\log\ 用于 SmJobLauncher.exe 触发计划作业的日志文件。 SMCoreService.log 应用的日志轮换规则相同

 

 

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.