Core File Exporter

Core File Exporter

ファブリック インターコネクトまたは I/O モジュールなどの Cisco UCS のコンポーネントでの重大なエラーによって、システムにコアダンプ ファイルが作成される場合があります。Cisco UCS Manager は、Core File Exporter を使用して、コアダンプ ファイルを TFTP 経由でネットワーク上の指定された場所にエクスポートします。この機能を使用することにより、tar ファイルをコア ダンプ ファイルのコンテンツと一緒にエクスポートできます。Core File Exporter は、システムをモニタリングし、TAC Case に含める必要のあるコア ダンプ ファイルを自動的にエクスポートします。

Core File Exporter の設定

手順

  コマンドまたはアクション 目的

ステップ 1

UCS-A# scope monitoring

モニターリング モードを開始します。

ステップ 2

UCS-A /monitoring # scope sysdebug

モニタリング システム デバッグ モードを開始します。

ステップ 3

UCS-A /monitoring/sysdebug # enable core-export-target

Core File Exporter のイネーブル化Core File Exporter がイネーブルな状態でエラーによりサーバがコア ダンプを実行する場合、システムはコア ファイルを TFTP 経由で指定されたリモート サーバへエクスポートします。

ステップ 4

UCS-A /monitoring/sysdebug # set core-export-target path path

コア ファイルをリモート サーバにエクスポートするときに使用するパスを指定します。

ステップ 5

UCS-A /monitoring/sysdebug # set core-export-target port port-num

TFTP を介してコア ダンプ ファイルをエクスポートするときに使用するポート番号を指定します。有効な値の範囲は 1 ~ 65,535 です。

ステップ 6

UCS A/モニタリング/sysdebug # set core-export-target server-description 説明

コア ファイルを保存するために使用するリモート サーバの説明を加えます。

ステップ 7

UCS A/モニタリング/sysdebug # set core-export-target server-name hostname

TFTP を介して接続するリモート サーバのホスト名を指定します。

ステップ 8

UCS-A /monitoring/sysdebug # commit-buffer

トランザクションをコミットします。

次の例では、Core File Exporter をイネーブルにし、コア ファイル送信に使用するパスとポートを指定し、リモート サーバのホスト名を指定し、リモート サーバの説明を加え、トランザクションをコミットします。

UCS-A# scope monitoring
UCS-A /monitoring # scope sysdebug
UCS-A /monitoring/sysdebug # enable core-export-target
UCS-A /monitoring/sysdebug* # set core-export-target path /root/CoreFiles/core
UCS-A /monitoring/sysdebug* # set core-export-target port 45000
UCS-A /monitoring/sysdebug* # set core-export-target server-description CoreFile102.168.10.10
UCS-A /monitoring/sysdebug* # set core-export-target server-name 192.168.10.10
UCS-A /monitoring/sysdebug* # commit-buffer
UCS-A /monitoring/sysdebug # 

Core File Exporter のディセーブル化

手順

  コマンドまたはアクション 目的

ステップ 1

UCS-A# scope monitoring

モニターリング モードを開始します。

ステップ 2

UCS-A /monitoring # scope sysdebug

モニタリング システム デバッグ モードを開始します。

ステップ 3

UCS-A /monitoring/sysdebug # disable core-export-target

Core File Exporter をディセーブルにします。Core File Exporter がディセーブルの場合、コア ファイルは自動的にエクスポートされません。

ステップ 4

UCS-A /monitoring/sysdebug # commit-buffer

トランザクションをコミットします。

次に、Core File Exporter をディセーブルにし、トランザクションをコミットする例を示します。

UCS-A# scope monitoring
UCS-A /monitoring # scope sysdebug
UCS-A /monitoring/sysdebug # disable core-export-target
UCS-A /monitoring/sysdebug* # commit-buffer
UCS-A /monitoring/sysdebug #