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

ONTAP Antivirus Connectorのロギングを有効にする方法

Views:
516
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
NAS
Last Updated:

Color_Def.png

規定されたコンテンツ ブロック内にのみテキストを追加します。ソルブループコンテンツの作成の詳細については、こちら をクリックしてください。

環境

  • ONTAP 9
  • Vscan
  • ONTAP Antivirus Connector(AV Connector)

概要

ONTAP Antivirus Connector(AV Connector)のロギングを有効にする方法 

手順

AV Connector Version 1.0.7.0:

  • AV Connector Version 1.0.7.0以降、デバッグログはGUIから設定できます。
  1. アプリケーションを下にスクロールして、「トレース設定」セクションを表示します。

clipboard_e336ef44c5856b7a175464dc87c6db0af.png

  1. Trace levelTrace PathLog Rotation sizeLog Rotation Limitを設定し、Saveをクリックします。

注:

  • The trace levelの概念はAV Connector 1.0.6と同じです
  • Log Rotation sizeはMBです。

AV Connector Version 1.0.6.xおよびそれ以前のバージョン:

  • デフォルトでは、'ONTAP AV Connector' サービスでロギングは有効になっていません。ロギングを有効にするには、次の2つの値を'HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Data ONTAP\Clustered Data ONTAP Antivirus Connector\v1.0' registry keyに追加します。
    • TracePath文字列値を追加 - CASE SENSITIVE!
      • ログファイルへのローカルパス、例えば、C:\netappdata\avconnector.log
      • 注: パス内のフォルダは存在している必要があります*
    • TraceLevel DWORD値を追加 - CASE SENSITIVE!
      • ログレベルを制御します - 通常、レベルセットは DEEP
      • デフォルトでは、トレースレベルは0、QUIET
        • リリース1.0.6のONTAP AV connectorのTraceLevel:
          • 0- LogLevel:[QUIET]
          • 1- LogLevel:[CRIT]
          • 2- LogLevel:[INFO]
          • 3- LogLevel:[VERBOSE]
          • 4-LogLevel:[DEEP]
        • TraceLevel  ONTAP AV connector 1.0.6より前のリリース:
          • 0 (QUIET) - デフォルト
          • 1 (INFO)
          • 2 (VERBOSE)
          • 3 (DEEP) - デバッグに一般的に使用されます。

警告

ログファイルはロールされず、増加し続けるため、何もログに記録されないようにTraceLevelの値を0に設定することをお勧めします 

  • ​​​​​(AV Connector Version 1.0.3 and older behavior):サービスが開始されるたびにログファイルは切り捨てられるため、再起動やサービスの再起動後もトレースファイルを保持したい場合は、ログファイルを保存しておく必要があります。
  • これらの値は「regedit」ツールを使用していつでも追加または変更でき、更新は即座に反映されます。

avshim.png

  • v1.0 レジストリキーは、次のいずれかの場所にあります。
    • 64ビットOS: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Data ONTAP\Clustered Data ONTAP Antivirus Connector\v1.0
    • 32ビットOS: HKEY_LOCAL_MACHINE\SOFTWARE\Data ONTAP\Clustered Data ONTAP Antivirus Connector\v1.0    - あまり一般的ではありません。    
  • Antivirus Connectorログを無効にするには、レジストリエントリTracePath およびTraceLevelを削除します

Windows CLIを使用した構成:

  • ロギングの有効化:
    1. reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Data ONTAP\Clustered Data ONTAP Antivirus Connector\v1.0" /v TracePath /t REG_SZ /d "C:\<log path>" /f
    2. reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Data ONTAP\Clustered Data ONTAP Antivirus Connector\v1.0" /v TraceLevel /t REG_DWORD /d <log level> /f
  • ロギングの無効化
    1. reg edit "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Data ONTAP\Clustered Data ONTAP Antivirus Connector\v1.0" /v TraceLevel /t REG_DWORD /d 0 /f

 

内部情報

内部情報_text

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

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.