Skip to main content
日本語は機械翻訳による参考訳です。内容に矛盾や不一致があった場合には、英語の内容が優先されます。

ログ収集機能を有効にします

共同作成者

ログ収集機能を使用して、ONTAP でスイッチ関連のログファイルを収集できます。

重要 ログ収集機能を有効にするには、ONTAP バージョン9.12.1以降およびEFOS 3.8.0.2以降を実行している必要があります。

BES-53248クラスタスイッチ* CLI *を使用して環境がセットアップされていることを確認します。

手順
  1. イーサネットスイッチヘルスモニタのログ収集機能のパスワードを作成します。 system switch ethernet log setup-password

    例を示します
    cluster1::*> system switch ethernet log setup-password
    Enter the switch name: <return>
    The switch name entered is not recognized.
    Choose from the following list:
    cs1
    cs2
    
    cluster1::*> system switch ethernet log setup-password
    
    Enter the switch name: cs1
    Would you like to specify a user other than admin for log collection? {y|n}: n
    
    Enter the password: <enter switch password>
    Enter the password again: <enter switch password>
    
    cluster1::*> system switch ethernet log setup-password
    
    Enter the switch name: cs2
    Would you like to specify a user other than admin for log collection? {y|n}: n
    
    Enter the password: <enter switch password>
    Enter the password again: <enter switch password>
  2. イーサネットスイッチヘルスモニタのログ収集機能を有効にします。

    system switch ethernet log modify -device <switch-name> -log-request true

    例を示します
    cluster1::*> system switch ethernet log modify -device cs1 -log-request true
    
    Do you want to modify the cluster switch log collection configuration? {y|n}: [n] y
    
    Enabling cluster switch log collection.
    
    cluster1::*> system switch ethernet log modify -device cs2 -log-request true
    
    Do you want to modify the cluster switch log collection configuration? {y|n}: [n] y
    
    Enabling cluster switch log collection.

    10分待ってから、コマンドを使用してログの収集が完了したことを確認します。

    system switch ethernet log show

    注意 これらのコマンドのいずれかでエラーが返された場合、またはログの収集が完了しない場合は、NetAppサポートにお問い合わせください。
次の手順

スイッチをアップグレードする場合は、に進みます "アップグレード設定を確認します"