この製品のマニュアルセットは、偏向のない言語を使用するように配慮されています。このマニュアルセットでの偏向のない言語とは、年齢、障害、性別、人種的アイデンティティ、民族的アイデンティティ、性的指向、社会経済的地位、およびインターセクショナリティに基づく差別を意味しない言語として定義されています。製品ソフトウェアのユーザーインターフェイスにハードコードされている言語、RFP のドキュメントに基づいて使用されている言語、または参照されているサードパーティ製品で使用されている言語によりドキュメントに例外が存在する場合があります。シスコのインクルーシブランゲージに対する取り組みの詳細は、こちらをご覧ください。
このドキュメントは、米国シスコ発行ドキュメントの参考和訳です。リンク情報につきましては、日本語版掲載時点で、英語版にアップデートがあり、リンク先のページが移動/変更されている場合がありますことをご了承ください。あくまでも参考和訳となりますので、正式な内容については米国サイトのドキュメントを参照ください。
この章では、デバイス上で Generic Online Diagnostics(GOLD)機能を設定する方法について説明します。
(注) この章で扱うコマンドの詳細な構文および使用方法については、『Cisco NX-OS System Management Command Reference, Release 4.0』を参照してください。
オンライン診断機能を使用すると、システムをたえず監視することによって、ハードウェアおよび内部データ パスが設計通りに動作しているかどうかを確認できます。この機能によって、障害を迅速に分離できます。
• 「起動診断」
オンライン診断機能を使用すると、デバイスをアクティブ ネットワークに接続したまま、デバイスのハードウェア機能をテストして確認できます。
オンライン診断機能には、さまざまなハードウェア コンポーネントを検査し、データ パスと制御信号を確認するテストが組み込まれています。破壊モードのループバック テストといった中断を伴うオンライン診断テストおよび ASIC レジスタ検査などの中断を伴わないオンライン診断テストは、起動時、ライン モジュールの活性挿抜(online insertion and removal: OIR)時、およびシステム リセット時に実行されます。中断を伴わないオンライン診断テストは、バックグラウンド ヘルス モニタリングの一部として実行されます。これらのテストはオンデマンドで実行できます。
オンライン診断は、起動、ランタイムまたはヘルスモニタリング診断、およびオンデマンド診断に分類されます。起動診断は起動時に、ヘルスモニタリング テストはバックグラウンドで、オンデマンド診断はアクティブ ネットワークにデバイスが接続されたときに 1 回だけ、またはユーザが指定した間隔で実行されます。
起動診断では、Cisco NX-OS がモジュールをオンラインにする前に、障害ハードウェアが検出されます。たとえば、デバイスに障害モジュールを搭載した場合、起動診断でモジュールがテストされ、デバイスがトラフィックの転送にそのモジュールを使用しないうちに、モジュールがオフラインにされます。
起動診断では、スーパーバイザとモジュール ハードウェア間、すべての ASIC のデータ パスと制御パス間の接続も検査されます。 表9-1 で、スーパーバイザの起動診断テストについて説明します。
|
|
|
---|---|---|
(注) モジュールでは、テスト ID 1 を使用し、非破壊モードの起動テストとして EOBCPortLoopback テストが実行されます。
起動診断テストはエラーを OBFL(Onboard Failure Logging)および syslog に記録し、診断テストの状態(オン、オフ、合格、失敗)を示すオン/オフ LED 表示を開始します。
起動診断テストをバイパスするように Cisco NX-OS を設定することも、またはすべての起動診断テストを実行するように設定することもできます。「起動診断レベルの設定」を参照してください。
ランタイム診断は HM(ヘルス モニタリング)診断もといいます。これらの診断テストによって、アクティブ デバイスの状態に関する情報が得られます。ランタイム ハードウェア エラー、メモリ エラー、ハードウェア モジュールの経時的劣化、ソフトウェア障害、およびリソース不足が検出されます。
アクティブ ネットワーク トラフィックを処理するデバイスの状態を確認する、ヘルス モニタリング診断テストは、中断を伴わず、バックグラウンドで実行されます。ヘルス モニタリング テストはイネーブルまたはディセーブルにできます。また、ランタイム インターバルの変更が可能です。 表9-2 で、ヘルス モニタリング診断テストについて説明し、スーパーバイザ用のテスト ID を示します。
|
|
|
|
|
---|---|---|---|---|
表9-3 で、モジュールのヘルス モニタリング診断テストについて説明します。
|
|
|
|
|
---|---|---|---|---|
スーパーバイザ モジュールからモジュール上の ADMIN DOWN ステートの物理ポートへのパケット パスをテストします。 |
||||
Rewrite Engine ASIC デバイスまでのすべてのポートについて、非破壊モードのループバック テストを実行します。 |
オンデマンド テストによって、障害を局所化して解決を図ることができます。オンデマンド診断テストが必要になるのは、通常、次の状況のいずれかの場合です。
• リソース使用限度の超過などのイベントの発生が予測される場合。
すべてのヘルス モニタリング テストをオンデマンドで実行できます。
即時実行するオンデマンド診断テストをスケジューリングできます。詳細については、「オンデマンド診断テストの開始または中止」を参照してください。
ヘルス モニタリング テストのデフォルト インターバルも変更可能です。詳細については、「診断テストのアクティブ化」を参照してください。
ハイ アベイラビリティの重要な要素は、アクティブ ネットワークでデバイスが動作しているときに、ハードウェア障害を検出して対策を取ることです。ハイ アベイラビリティのオンライン診断では、ハードウェア障害を検出して、ハイ アベイラビリティ ソフトウェア コンポーネントに伝え、スイッチオーバーが決定されるようにします。
Cisco NX-OS は、オンライン診断のステートレス リスタートをサポートします。リブートまたはスーパーバイザ スイッチオーバーのあとに、Cisco NX-OS は実行コンフィギュレーションを適用します。
Cisco NX-OS は、VDC(Virtual Device Context; 仮想デバイス コンテキスト)ごとにオンライン診断インスタンスを 1 つずつサポートします。デフォルトでは、Cisco NX-OS はデフォルトの VDC が使用されるようにします。『 Cisco NX-OS Virtual Device Context Configuration Guide, Release 4.0 』を参照してください。
オンライン診断機能は VRF(Virtual Routing and Forwarding)を認識します。特定の VRF を使用してオンライン診断 SMTP サーバに接続するようにオンライン診断機能を設定できます。
|
|
---|---|
オンライン診断機能にライセンスは不要です。ライセンス パッケージに含まれていない機能は、Cisco NX-OS システム イメージにバンドルされて提供されます。追加料金は発生しません。NX-OS ライセンス方式の詳細については、『 Cisco NX-OS Licensing Guide 』を参照してください。 |
• VDC を設定する場合は、Advanced services ライセンスをインストールしてから、設定する VDC にアクセスします。詳細については、『 Cisco NX-OS Virtual Device Context Configuration Guide, Release 4.0 』を参照してください。
(注) Cisco IOS の CLI に慣れている場合、この機能に対応する Cisco NX-OS コマンドは通常使用する Cisco IOS コマンドと異なる場合があるので注意してください。
一連のすべてのテストを実行するように起動診断機能を設定することも、またはモジュールが短時間で起動するように、すべての起動診断テストをバイパスするように設定することもできます。
(注) 起動時のオンライン診断レベルはを complete に設定することを推奨します。起動時オンライン診断テストのバイパスは推奨できません。
2. diagnostic bootup level [ complete | bypass ]
|
|
|
---|---|---|
デバイスの起動に続いて診断テストが開始されるように、起動診断レベルを設定します。 |
||
2. diagnostic monitor interval module slot test [ test-id | name | all ] hour hour min minutes second sec
3. diagnostic monitor module slot test [ test-id | name | all ]
診断テストを非アクティブとして設定できます。非アクティブにしたテストでは、現在の設定が維持されますが、スケジュール上のインターバルではテストは実行されません。
診断テストを非アクティブに設定するには、グローバル コンフィギュレーション モードで次のコマンドを使用します。
|
|
---|---|
no diagnostic monitor module slot test [test-id | name | all ] switch(config)# no diagnostic monitor interval module 6 test 3 |
オンデマンド診断テストを開始したり中止したりできます。任意で、このテストを繰り返す回数を変更したり、テストが失敗した場合のアクションを変更したりできます。
スケジューリングされたネットワーク メンテナンス期間内に、破壊モードの診断テストを開始する場合は、手動での開始に限定することを推奨します。
1. diagnostic ondemand iteration number
2. diagnostic ondemand action-on-failure { continue failure-count num-fails | stop }
3. diagnostic start module slot test [ test-id | name | all | non-disruptive ] [ port port-number | all ]
4. diagnostic stop module slot test [ test-id | name | all ]
診断テスト結果を消去するには、任意のモードで次のコマンドを使用します。
|
|
---|---|
diagnostic clear result module [ slot | all ] test {test-id | all } |
診断テスト結果のシミュレーションを行うには、任意のモードで次のコマンドを使用します。
|
|
---|---|
diagnostic test simulation module slot test test-id {fail | random-fail | success} [ port number | all ] |
テスト結果のシミュレーションを行います。 test-id の範囲は 1 ~ 14 です。ポート範囲は 1 ~ 48 です。 |
シミュレーションした診断テスト結果を消去するには、任意のモードで次のコマンドを使用します。
|
|
---|---|
オンライン診断の設定情報を表示するには、次の作業のいずれかを行います。
|
|
---|---|
show diagnostic description module slot test [ test-name | all ] |
|
show diagnostic results module slot [ test [ test-name | all ]] [ detail ] |
|
モジュール 6 ですべてのオンデマンド テストを開始する例を示します。
diagnostic start module 6 test all
モジュール 6 でテスト 2 をアクティブにして、テスト インターバルを設定する例を示します。
diagnostic monitor module 6 test 2
diagnostic monitor interval module 6 test 2 hour 3 min 30 sec 0
表9-4 に、オンライン診断パラメータのデフォルト設定を示します。
|
|
---|---|
オンライン診断の実装に関する詳細情報については、次の項を参照してください。
• 「関連資料」
• 「規格」
|
|
---|---|
『 Cisco NX-OS System Management Command Reference, Release 4.0 』 |
|
『 Cisco NX-OS Virtual Device Context Command Reference, Release 4.0 』 |
|
|
---|---|
この機能がサポートする新しい規格または変更された規格はありません。また、この機能で変更された既存規格のサポートはありません。 |