跳转到主内容

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

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

适用于

SnapCenter 服务器

回答

日志文件名 位置 说明 日志轮换
SnapManagerWeb.log

On Windows:

<SC_Install_Dir>\SnapCenter WebApp\App_Data\log

On Linux:

/opt/NetApp/snapcenter/SnapManagerWeb/App_Data/log/SnapManagerWeb.log

SnapCenter 服务器日志文件。 当日志文件大小超过 MaxFileSize时,将触发翻转。已轮换的日志会保留为 SnapManager_Web.log.<N> 文件,数量最多为 MaxSizeRollBackups指定的数量。默认MaxFileSize为 10MB,默认 MaxSizeRollBackups 为 10。可以使用 Set-SmLogSettings -Server Cmdlet 更改这些参数。有关详细信息,请查找您正在运行的版本的 Windows Cmdlet 参考指南 并参考文档。
SnapManagerWeb_<Job_ID>.log

On Windows:

<SC_Install_Dir>\SnapCenter WebApp\App_Data\log

On Linux:

/opt/NetApp/snapcenter/SnapManagerWeb/App_Data/log/SnapManagerWeb_<JobId>.log

SnapCenter 服务器作业日志。基本相同 SnapManagerWeb.log ,但仅包含与单个作业相关的信息。

当作业日志文件总大小超过 JobLogsMaxFileSize时,将删除最旧的文件。默认的 JobLogsMaxFileSize 为 500MB,可以使用 Set-SmLogSettings -Server Cmdlet 进行更改。有关详细信息,请查找 Windows Cmdlet Reference Guide以获取您正在运行的版本,并参考相关文档。

Web Server Error Log

/var/log/nginx/error.log 这相当于 Windows OS 上 SC Server 上的 MySQL 错误日志

Web Server Access Log

/var/log/nginx/access.log 同上


除了 Web 日志外,SnapCenter 服务器还通过 SMCore (*) 生成日志,其中还包括任何 unix 主机备份的 JobLauncher、SMCore 作业和 SMCore SCW (SAL) 作业日志,因为这些工作流程由 SC 服务器本身处理,而不是从基于 Linux 的插件主机处理。

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.