シャーシ クラスタ パフォーマンスの監視
このトピックでは、FPC、PIC、ルーティングエンジンなどのシャーシコンポーネント(動作状態、CPU、メモリなどのデータ)を監視する際に利用できるオプションについて説明します。
jnx-chassis MIBは、クラスタモードのSRXシリーズブランチデバイスではサポートされていません。ただし、スタンドアロンのSRXシリーズブランチデバイスではサポートされています。そのため、SRXシリーズのブランチデバイスのシャーシ監視には、SNMP以外のオプションを使用することをお勧めします。
シャーシ コンポーネントの監視に使用する計装を 表 1 に示します。
Junos OS XML RPC |
SNMP MIB |
---|---|
|
user@host> |
会計プロファイル |
|
|
シャーシ クラスタ パフォーマンスの監視
表2の情報では、コントロールプレーンとデータプレーンの統計情報など、クラスタの稼働状況を測定および監視する方法について説明します。
Junos OS XML RPC |
SNMP MIB |
---|---|
|
機能なし。このデータを提供するには、ユーティリティ MIB が Junos OS オペレーション スクリプトを使用しています。操作スクリプトの詳細については、 |
冗長グループ監視
グループのステータスを監視する前に、冗長性グループが検出されていることを確認してください。 表 3 に、冗長性グループのモニタリング情報の取得方法を示します。
Junos OS XML RPC |
SNMP MIB |
---|---|
に示すように、 RPC:<get-chassis-cluster-status> <rpc> <get-chassis-cluster-status> <redundancy-group>1</redundancy-group> </get-chassis-cluster-status> </rpc> |
機能なし。このデータを提供するには、ユーティリティ MIB が Junos OS オペレーション スクリプトを使用しています。操作スクリプトの詳細については、 |
インターフェイス統計
表4に示す方法を使用して、rethおよびファブリックインターフェイスを含むインターフェイス統計を取得できます。非アクティブなrethリンクは1秒あたりの出力パケット数が0(output-pps)を示しているため、rethインターフェイスの統計情報をポーリングし、その情報を使用して冗長グループのステータスを判断できることに注意してください。
Junos OS XML RPC |
SNMP MIB |
---|---|
|
|
会計プロファイル |
|
|
サービス処理ユニットの監視
SRX3000シリーズ および SRX5000 行には、サービス処理カード (SPC) で実行される 1 つ以上のサービス処理ユニット (SPU) があります。すべてのフローベース サービスが SPU で実行されます。SPU 監視は、SPU と中央点の状態を追跡します。アーキテクチャの中心点(CP)には、ロードバランシングとトラフィック識別(グローバルセッションマッチング)という2つの基本的なフロー機能があります。中央点は、セッションの一致時にパケットを SPU に転送するか、パケットが既存のどのセッションとも一致しない場合は、セキュリティ処理のためにトラフィックを SPU に分散します。各SPCのシャーシマネージャーは、SPUと中央点を監視し、シャーシ化されたルーティングエンジンとのハートビートも維持します。この階層型監視システムでは、シャーシプロセス(chassisd)がハードウェア障害検出の中心となります。SPU モニターはデフォルトで有効になっています。
Junos OS XML RPCインスツルメンテーションでSPU監視用に、および SNMP MIBインスツルメンテーションでSPUにデータを監視させるには、に記載されている方法を使用します。
SPU の CPU 使用率が 85% を超えた場合、処理にレイテンシが追加されるため、管理システムでアラームを設定することをお勧めします。CPU 使用率が 95% を超えると、パケットはドロップされます。
SPU 監視向け Junos OS XML RPC インスツルメンテーション
get-flow-session-information
リモート プロシージャ コール (RPC) を使用して、SPU に合計セッション数、現在のセッション数、ノードあたりの最大セッション数などのデータを監視させます。<rpc> <get-flow-session-information> <summary/> </get-flow-session-information> </rpc> <rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" xmlns:junos="http://xml.juniper.net/junos/10.4D0/junos"> <multi-routing-engine-results> <multi-routing-engine-item> <re-name>node0</re-name> <flow-session-information xmlns="http://xml.juniper.net/ junos/10.4D0/junos-flow"> <flow-fpc-pic-id> on FPC4 PIC0:</flow-fpc-pic-id> </flow-session-information> <flow-session-summary-information xmlns="http:// xml.juniper.net/junos/10.4D0/junos-flow"> <active-unicast-sessions>0</active-unicast-sessions> <active-multicast-sessions>0</active-multicast-sessions> <failed-sessions>0</failed-sessions> <active-sessions>0</active-sessions> <active-session-valid>0</active-session-valid> <active-session-pending>0</active-session-pending> <active-session-invalidated>0</active-session-invalidated> <active-session-other>0</active-session-other> <max-sessions>524288</max-sessions> </flow-session-summary-information> <flow-session-information xmlns="http://xml.juniper.net/ junos/10.4D0/junos-flow"></flow-session-information> <flow-session-information xmlns="http://xml.juniper.net/ junos/10.4D0/junos-flow"> <flow-fpc-pic-id> on FPC4 PIC1:</flow-fpc-pic-id> </flow-session-information> <flow-session-summary-information xmlns="http:// xml.juniper.net/junos/10.4D0/junos-flow"> <active-unicast-sessions>0</active-unicast-sessions> <active-multicast-sessions>0</active-multicast-sessions> <failed-sessions>0</failed-sessions> <active-sessions>0</active-sessions> <active-session-valid>0</active-session-valid> <active-session-pending>0</active-session-pending> <active-session-invalidated>0</active-session-invalidated> <active-session-other>0</active-session-other> <max-sessions>1048576</max-sessions> </flow-session-summary-information> <flow-session-information xmlns="http:// xml.juniper.net/junos/10.4D0/junos-flow"> </flow-session-information> </multi-routing-engine-item> <multi-routing-engine-item> <re-name>node1</re-name> <flow-session-information xmlns="http://xml.juniper.net /junos/10.4D0/junos-flow"> <flow-fpc-pic-id> on FPC4 PIC0:</flow-fpc-pic-id> </flow-session-information> <flow-session-summary-information xmlns="http:// xml.juniper.net/junos/10.4D0/junos-flow"> <active-unicast-sessions>0</active-unicast-sessions> <active-multicast-sessions>0</active-multicast-sessions> <failed-sessions>0</failed-sessions> <active-sessions>0</active-sessions> <active-session-valid>0</active-session-valid> <active-session-pending>0</active-session-pending> <active-session-invalidated>0</active-session-invalidated> <active-session-other>0</active-session-other> <max-sessions>524288</max-sessions> </flow-session-summary-information> <flow-session-information xmlns="http:// xml.juniper.net/junos/10.4D0/junos-flow"> </flow-session-information> <flow-session-information xmlns="http:// xml.juniper.net/junos/10.4D0/junos-flow"> <flow-fpc-pic-id> on FPC4 PIC1:</flow-fpc-pic-id> </flow-session-information> <flow-session-summary-information xmlns="http:// xml.juniper.net/junos/10.4D0/junos-flow"> <active-unicast-sessions>0</active-unicast-sessions> <active-multicast-sessions>0</active-multicast-sessions> <failed-sessions>0</failed-sessions> <active-sessions>0</active-sessions> <active-session-valid>0</active-session-valid> <active-session-pending>0</active-session-pending> <active-session-invalidated>0</active-session-invalidated> <active-session-other>0</active-session-other> <max-sessions>1048576</max-sessions> </flow-session-summary-information> <flow-session-information xmlns="http://xml.juniper. net/junos/10.4D0/junos-flow"></flow-session-information> </multi-routing-engine-item> </multi-routing-engine-results> </rpc-reply>
RPC を使用して、
get-performance-session-information
SPU セッションのパフォーマンスを取得します。get-spu-monitoring-information
RPC を使用して、SPU CPU 使用率、メモリ使用率、最大フロー セッションなどを監視します。
SPU 監視のための SNMP MIB インスツルメンテーション
jnxJsSPUMonitoring MIB を使用して SPU データを監視します。
jnxJsSPUMonitoringCurrentTotalSession – システムレベルの現在の合計セッション数を返します。
jnxJsSPUMonitoringMaxTotalSession – 可能なシステムレベルの最大セッション数を返します。
jnxJsSPUMonitoringObjectsTable – ノードごとのSPU使用率統計を返します。
サンプルウォーク
user@host>
show snmp mib walk
jnxJsSPUMonitoringMIB jnxJsSPUMonitoringFPCIndex.16 = 4 jnxJsSPUMonitoringFPCIndex.17 = 4 jnxJsSPUMonitoringFPCIndex.40 = 4 jnxJsSPUMonitoringFPCIndex.41 = 4 jnxJsSPUMonitoringSPUIndex.16 = 0 jnxJsSPUMonitoringSPUIndex.17 = 1 jnxJsSPUMonitoringSPUIndex.40 = 0 jnxJsSPUMonitoringSPUIndex.41 = 1 jnxJsSPUMonitoringCPUUsage.16 = 0 jnxJsSPUMonitoringCPUUsage.17 = 0 jnxJsSPUMonitoringCPUUsage.40 = 0 jnxJsSPUMonitoringCPUUsage.41 = 0 jnxJsSPUMonitoringMemoryUsage.16 = 70 jnxJsSPUMonitoringMemoryUsage.17 = 73 jnxJsSPUMonitoringMemoryUsage.40 = 70 jnxJsSPUMonitoringMemoryUsage.41 = 73 jnxJsSPUMonitoringCurrentFlowSession.16 = 0 jnxJsSPUMonitoringCurrentFlowSession.17 = 0 jnxJsSPUMonitoringCurrentFlowSession.40 = 0 jnxJsSPUMonitoringCurrentFlowSession.41 = 0 jnxJsSPUMonitoringMaxFlowSession.16 = 524288 jnxJsSPUMonitoringMaxFlowSession.17 = 1048576 jnxJsSPUMonitoringMaxFlowSession.40 = 524288 jnxJsSPUMonitoringMaxFlowSession.41 = 1048576 jnxJsSPUMonitoringCurrentCPSession.16 = 0 jnxJsSPUMonitoringCurrentCPSession.17 = 0 jnxJsSPUMonitoringCurrentCPSession.40 = 0 jnxJsSPUMonitoringCurrentCPSession.41 = 0 jnxJsSPUMonitoringMaxCPSession.16 = 2359296 jnxJsSPUMonitoringMaxCPSession.17 = 0 jnxJsSPUMonitoringMaxCPSession.40 = 2359296 jnxJsSPUMonitoringMaxCPSession.41 = 0 jnxJsSPUMonitoringNodeIndex.16 = 0 jnxJsSPUMonitoringNodeIndex.17 = 0 jnxJsSPUMonitoringNodeIndex.40 = 1 jnxJsSPUMonitoringNodeIndex.41 = 1 jnxJsSPUMonitoringNodeDescr.16 = node0 jnxJsSPUMonitoringNodeDescr.17 = node0 jnxJsSPUMonitoringNodeDescr.40 = node1 jnxJsSPUMonitoringNodeDescr.41 = node1 jnxJsSPUMonitoringCurrentTotalSession.0 = jnxJsSPUMonitoringMaxTotalSession.0 = 1572864メモ:Junos OS リリース 9.6 より前の Junos OS バージョンは、この MIB のローカル ノード データのみを返します。シャーシ クラスタをサポートするために、Junos OS リリース 9.6 以降では、テーブル内の jnxJsSPUMonitoringNodeIndex インデックスと jnxJsSPUMonitoringNodeDescr フィールドがサポートされています。そのため、シャーシ クラスタ モードでは、Junos OS リリース 9.6 以降は、プライマリ ノードとセカンダリ ノードの両方の SPU 監視データを返します。
SRXシリーズのブランチデバイスは、クラスタのデータコア全体に仮想化されたデータプレーンを持っています。したがって、インデックスが 0 の 1 つの SPU として報告されます。
jnxJsSPUMonitoringMaxFlowSession MIBオブジェクトは、ノードごとのセッションの最大数を示しています。
セキュリティ機能
以下は、SRXシリーズデバイスでサポートされているセキュリティ機能に関連するJunos OS XMLリモートプロシージャーコール(RPC)とSNMP MIBの概要です。
RPCとMIBは、互いに直接比較できない場合があります。一方が他方よりも多かれ少なかれ情報を提供する場合があります。次の情報を使用して、使用するインストルメンテーションを決定します。
特徴と機能 |
Junos OS XML RPC |
SNMP MIB |
---|---|---|
Ipsec |
|
JNX-IPSEC-MONITOR-MIB JUNIPER-JS-IPSEC-VPN JUNIPER-IPSEC-FLOW-MONITOR |
Nat |
|
JNX-JS-NAT-MIB |
スクリーニング |
|
JNX-JS-SCREENING-MIB |
ファイアウォール |
|
ジュニパーファイアウォール-MIB |
セキュリティ ポリシー |
|
JUNIPER-JS-POLICY-MIB |
Aaa |
|
JUNIPER-USER-AAA-MIB |
Idp |
|
JUNIPER-JS-IDP-MIB |
その他の統計情報と MIB
OSPF MIB や IP 転送 MIB など、SRX シリーズ デバイスでサポートされている他の MIB があります。SRXシリーズデバイスでサポートされているその他のMIBの詳細については、 ネットワーク管理および監視ガイド、 SRX1400、SRX3400、およびSRX3600サービスゲートウェイのMIBリファレンス、 およびSRX5600およびSRX5800サービスゲートウェイのMIBリファレンス を参照してください。
Rmon
Junos OSは、リモート監視(RMON)MIB(RFC 2819)をサポートしています。RMONを使用して、上限しきい値と下限しきい値を超えた場合にMIB変数のアラートを送信できます。これは、さまざまな MIB 変数に使用できます。インターフェイス統計情報の監視やルーティング エンジンの CPU 監視などが好例です。
以下の構成スニペットは、クラスタのノード0でルーティング・エンジンを監視するためのRMON設定と、インタフェースインデックス2000からのオクテットを監視するためのRMON設定を示しています。
rmon { alarm 100 { interval 5; variable jnxOperatingCPU.9.1.0.0; sample-type absolute-value; request-type get-request; rising-threshold 90; falling-threshold 80; rising-event-index 100; falling-event-index 100; } event 100 { type log-and-trap; community petblr; } alarm 10 { interval 60; variable ifHCInOctets.2000; sample-type delta-value; request-type get-request; startup-alarm rising-alarm; rising-threshold 100000; falling-threshold 0; rising-event-index 10; falling-event-index 10; } event 10 { type log-and-trap; community test; } }
シャーシ クラスタ デバイスの正常性モニタリング
ジュニパーネットワークスのルーターでは、RMONアラームとイベントが、ネットワーク管理システム(NMS)からのポーリングオーバーヘッドを削減するために必要なインフラストラクチャの多くを提供しています。ただし、このアプローチでは、特定の MIB オブジェクトを RMON アラームに構成するように NMS を設定する必要があります。そのために、デバイスに特化した専門知識や、監視アプリケーションのカスタマイズが必要になることがよくあります。また、監視が必要な MIB オブジェクトのインスタンスには、初期化時のみ設定されるか、実行時に変更されるものがあり、事前に構成することはできません。これらの問題に対処するため、ヘルスモニターでは、RMONアラームのインフラストラクチャを拡張して、選択したオブジェクトインスタンスセット(ファイルシステムの使用率、CPUの使用率、メモリ使用率)に対して事前に定義済みの監視を提供し、未知のオブジェクトまたは動的オブジェクトインスタンス(Junos OSプロセスなど)のサポートが含まれています。