メインコンテンツへスキップ

SnapCenter サーバーが生成するログファイルは何ですか?

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

環境

SnapCenter サーバ

回答

ログファイル名 Location 概要 ログローテーション
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を超えると、ロールオーバーがトリガーされます。ローテーションされたログは、 MaxSizeRollBackupsとして指定された数まで SnapManager_Web.log.<N> ファイルとして保持されます。デフォルトの MaxFileSize は10MBで、デフォルトの MaxSizeRollBackups は10です。これらのパラメータは、 Set-SmLogSettings -Server Cmdletを使用して変更できます。詳細については、実行しているバージョンの Windows Cmdlet Reference Guide を見つけて、ドキュメントを参照してください。
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コマンドレットで変更できます。詳細については、実行中のバージョンの Windows Cmdlet Reference Guideを参照してください。

Web Server Error Log

/var/log/nginx/error.log これは、Windows OS上のSCサーバーにおけるMySQLエラーログに相当します。

Web Server Access Log

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


Web ログとは別に、SnapCenter Server は SMCore (*) を介してログも生成します。これには、JobLauncher、SMCore ジョブ、および SMCore SCW(SAL)ジョブログが含まれます。これらは Unix ホストのバックアップに関するもので、ワークフローが Linux ベースのプラグインホストからではなく、SC Server 自体によって処理されるためです。

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.