アプリケーション パフォーマンスとサイトのモニタリング

表 1. 機能の履歴

機能名

リリース情報

説明

アプリケーション パフォーマンスとサイトのモニタリング

Cisco IOS XE Catalyst SD-WAN リリース 17.10.1a

Cisco vManage リリース 20.10.1

Cisco SD-WAN Manager を使用して、すべてのサイトまたは単一サイトでアプリケーションの正常性とパフォーマンスをモニタリングして最適化できます。

アプリケーション パフォーマンスとサイトのモニタリングの概要

[Application Health] ウィンドウには次の情報が表示されます。

  • すべてのサイトで実行されているすべてのアプリケーション:テーブルビューとヒートマップビュー。

  • 特定のサイトで実行されているすべてのアプリケーション:テーブルビューとヒートマップビュー。

  • すべてのサイトで実行されている単一のアプリケーション:テーブルビューとヒートマップビュー。

  • 特定のサイトで実行されている単一のアプリケーション:集約された折れ線グラフとパスごとのテーブルビュー。

アプリケーションの正常性メトリック

アプリケーションの正常性は、次のように計算されます。

表 2.

状態

QoE

良好

QoE >= 8

QoE 5 ~ 8 

不良

QoE < 5

アプリケーション パフォーマンスおよびサイトのモニタリングに関する制限事項

  • パフォーマンスのモニタリングは、IPv4 トラフィックでのみサポートされます。

  • 次のアプリケーションはサポートされていません。

    • airplay

    • cisco-collab-control

    • cisco-ip-camera

    • cisco-jabber-control

    • cisco-phone-control

    • citrix

    • clearcase

    • conference-server

    • 会議[かいぎ]

    • espn-browsing

    • espn-video

    • exec

    • FTP(すべて)

    • google-downloads

    • icloud

    • isakmp

    • isatap-ipv6-tunneled

    • l2tp

    • modbus

    • oscar-filetransfer

    • pcoip

    • sixtofour-ipv6-tunneled

    • skinny

    • sunrpc

    • telepresence-control

    • tftp(すべて)

    • vnc-http

    • web-analytics

    • webex-app-sharing

    • webex-control

    • webex-media

    • windows-azure

    • yahoo-voip-over-sip

設定グループを使用したアプリケーション パフォーマンスとサイトのモニタリングの設定

設定グループの [System Profile] で [Performance Monitoring] を設定することにより、Cisco SD-WAN Manager を使用してアプリケーション パフォーマンスとサイトのモニタリングを有効にすることができます。

アプリケーション パフォーマンスとサイトのモニタリング機能では、アプリケーションを認識するために、すべての LAN インターフェイスで NBAR を有効にする必要があります。

アプリケーション認識型ルーティング(AAR)ポリシーが設定されている場合、NBAR は自動的に有効になります。AAR ポリシーが設定されていない場合は、CLI アドオンテンプレートを使用して、すべての LAN インターフェイスで NBAR を有効にする必要があります。ip nbar protocol-discovery 設定を使用して、すべての LAN インターフェイスで NBAR を有効にします。

始める前に

[Configuration] > [Configuration Groups] ページで、ソリューションタイプに [SD-WAN] を選択します。

手順


ステップ 1

[Cisco SD-WAN Manager] のメニューから、[Configuration] > [Configuration Groups] を選択します。

ステップ 2

システムプロファイルでパフォーマンスモニタリングを作成および設定します。

  1. アプリケーション パフォーマンス モニタリング情報を入力します。

    表 3. モニタリング

    フィールド

    説明

    モニタリング

    モニタリングを有効にするには、チェックボックスをオンにします。[Global] モードでのみモニタリングを有効にできます。

    モニタリングを有効にすると、アプリケーショングループのリストが表示されます。デフォルトでは、14 個のアプリケーショングループが有効になっています。アプリケーションは、必要に応じて無効にしたり、さらに有効にしたりできます。モニタリングを有効にするには、アプリケーショングループの隣にあるチェックボックスをオンにします。

  2. アンダーレイ測定トラックサービス情報を入力します。

    表 4. アンダーレイ測定トラックサービス

    フィールド

    説明

    モニタリング

    [Monitoring] ドロップダウンリストをクリックし、[Global] を選択して、設定された時間間隔に従って定期的にトンネルパスをトレースします。

    トグルボタンをクリックして、UMTS の継続的なモニタリングオプションを有効にします。

    Monitoring Interval (Minutes)

    [Monitoring Interval (Minutes)] フィールドで、時間を選択します。

    このオプションを使用すると、特定の期間における正確なパスをモニタリングできます。

    Event Driven

    [Event Driven] ドロップダウンリストをクリックし、[Global] を選択して、イベントタイプに従っていずれかのイベントによってトリガーされたときにトンネルパスをトレースします。

    イベント タイプ

    [Event Type] ドロップダウンリストをクリックし、イベントタイプを選択します。次のイベント タイプがあります。

    • [SLA Change]:トンネルのサービスレベル契約(SLA)パラメータの変更。

    • [PMTU Change]:トンネルの Path MTU(PMTU)パラメータの変更。

ステップ 3

構成を保存するには、[Save] をクリックします。


次のタスク

Deploy a Configuration Group」も参照してください。

CLI アドオンテンプレートを使用したアプリケーション パフォーマンスとサイトのモニタリングの設定

Cisco SD-WAN Manager の CLI アドオン機能テンプレートを使用して、アプリケーション パフォーマンス モニタリングを有効にできます。詳細については、「アプリケーション パフォーマンス モニタリング」を参照してください。

アプリケーション認識型ルーティング(AAR)ポリシーが設定されている場合、NBAR は自動的に有効になります。AAR ポリシーが設定されていない場合は、CLI アドオンテンプレートを使用して、すべての LAN インターフェイスで NBAR を有効にする必要があります。ip nbar protocol-discovery 設定を使用して、すべての LAN インターフェイスで NBAR を有効にします。

次に、アプリケーション パフォーマンス モニタリングの設定例を示します。


class-map match-any APP_PERF_MONITOR_APPS_0
    match protocol attribute application-group amazon-group
    match protocol attribute application-group box-group
    match protocol attribute application-group concur-group
    match protocol attribute application-group dropbox-group
    match protocol attribute application-group google-group
    match protocol attribute application-group gotomeeting-group
    match protocol attribute application-group intuit-group
    match protocol attribute application-group ms-cloud-group
    match protocol attribute application-group oracle-group
    match protocol attribute application-group salesforce-group    
    match protocol attribute application-group sugar-crm-group
    match protocol attribute application-group webex-group
    match protocol attribute application-group zendesk-group
    match protocol attribute application-group zoho-crm-group
class-map match-any APP_PERF_MONITOR_FILTERS
    match class-map APP_PERF_MONITOR_APPS_0

performance monitor context APP_PM_POLICY profile sdwan-performance
    exporter destination local-sdwan source NULL0
    traffic-monitor art-aggregated class-and APP_PERF_MONITOR_FILTERS interval-timeout 300 sampling-interval 100
    traffic-monitor media-aggregated class-and APP_PERF_MONITOR_FILTERS interval-timeout 300 sampling-interval 100

performance monitor apply APP_PM_POLICY sdwan-tunnel
performance monitor apply APP_PM_POLICY color-all-dia
performance monitor apply APP_PM_POLICY sdwan-sig

[All Sites] ビューと [Single Site] ビュー

すべてのアプリケーションの全サイトビュー

アプリケーションウィンドウのデフォルト設定は全サイトビューです。ページの上部にある [All Sites] ボタンをクリックし、[All Sites] の横にあるオプションボタンをクリックすると、すべてのサイトの情報を表示できます。

すべてのサイトビューには、過去 1 時間のすべてのサイトのすべてのアプリケーションに関する情報が表示されます。

表の [Health] 列には、アプリケーションの正常性が表示されます。列のアイコンにカーソルを合わせると、正常性が [Good]、[Fair]、[Poor] のいずれの状態であるかが表示されます。アプリケーションの正常性は Quality of Experience(QoE)によって測定されます。

トグルボタンをクリックすると、アプリケーション ヒートマップ ビューに切り替わります。

ヒートマップビューでは、色付きの四角形のグリッドに、アプリケーションの正常性が [Good]、[Fair]、または [Poor] で表示されます。四角形にカーソルを合わせると、特定の時間におけるアプリケーションの追加の詳細が表示されます。[View details] をクリックすると、特定のアプリケーションの詳細を表示できます。時間間隔を変更するには、時間間隔のドロップダウンリストをクリックします。

すべてのアプリケーションの単一サイトビュー

単一サイトのすべてのアプリケーションの正常性を表示することもできます。単一サイトビューを開始するには、ページの上部にある [All Sites] ボタンをクリックし、[Single Site] の横にあるオプションボタンをクリックして対象のサイトを選択します。

単一アプリケーションの全サイトビュー

すべてのサイトで 1 つのアプリケーションを使用している場合、特定のサイト ID をクリックすると、1 つのサイトのモニタリングに移動できます。アプリケーション名をクリックすると、アプリケーション固有の詳細が表示されます。

単一アプリケーションの単一サイトビュー

単一サイトの単一アプリケーションの場合、折れ線グラフに一定期間のアプリケーションの正常性が示されます。ドロップダウンリストから時間を選択して、1、3、6、12、24 時間のいずれかを選択します。テーブルには、一定期間にアプリケーション トラフィックを処理したパスのリストが表示されます。個々のパスを選択すると、折れ線グラフに個々の QoE ラインが表示されます。一度に 5 つのパスを選択でき、5 つの折れ線グラフが表示されます。また、上部のハンドルをドラッグして、特定の時点にフォーカスすることもできます。時間を変更すると、テーブルが自動的に更新され、その時間間隔の正常性情報が表示されます。

テーブルビューでのアプリケーション正常性の表示

[Application Health] ウィンドウには、次の情報がテーブルビューが表示されます。

  • すべてのサイトのすべてのアプリケーション:すべてのサイトから、パフォーマンスモニタリング機能または CLI アドオンテンプレートを使用して、有効になっているアプリケーションの選択されたリスト。

  • 1 つのサイトのすべてのアプリケーション:1 つのサイトから、パフォーマンスモニタリング機能または CLI アドオンテンプレートを使用して、有効になっているアプリケーションの選択されたリスト。

  • 1 つのアプリケーションのすべてのサイト:パフォーマンスモニタリング機能または CLI アドオンテンプレートを使用して、有効になっている選択したアプリケーションのすべてのサイト。正常性列のステータスでソートされます。

表の [Health] 列には、アプリケーションの正常性が表示されます。列のアイコンにカーソルを合わせると、正常性が [Good]、[Fair]、[Poor] のいずれの状態であるかが表示されます。アプリケーションの正常性は QoE によって測定されます。

アプリケーション名をクリックすると、アプリケーション固有の詳細が表示されます。すべてのサイトで 1 つのアプリケーションを使用している場合、特定のサイト ID をクリックすると、1 つのサイトのモニタリングに移動できます。

トグルボタンをクリックすると、アプリケーション ヒートマップ ビューに切り替わります。

ヒートマップビューでのアプリケーション正常性の表示

[Application Health] ウィンドウには、次の情報がヒートマップビューが表示されます。

  • すべてのサイトのすべてのアプリケーション:選択したさまざまな時刻の、すべてのアプリケーションの正常性のリスト。

  • 1 つのサイトのすべてのアプリケーション:1 つのサイトから、パフォーマンスモニタリング機能または CLI アドオンテンプレートを使用して、有効になっているアプリケーションの選択されたリスト。

  • 1 つのアプリケーションのすべてのサイト:サイトのリストと、1 つのアプリケーションの、さまざまな時間間隔での各サイトの正常性のリスト。

ヒートマップビューでは、色付きの四角形のグリッドに、アプリケーションの正常性が [Good]、[Fair]、または [Poor] で表示されます。四角形にカーソルを合わせると、特定の時間におけるアプリケーションの追加の詳細が表示されます。[View details] をクリックすると、特定のアプリケーションの詳細を表示できます。時間間隔を変更するには、時間間隔のドロップダウンリストをクリックします。

トグルボタンをクリックすると、アプリケーション テーブル ビューに切り替わります。

アプリケーション パフォーマンスとサイトのモニタリングのトラブルシューティング

アプリケーション QoE の計算に使用される基本的なネットワークメトリックを確認するには、show performance monitor cache monitor APP_PM_POLICY-art_agg detail format record および show performance monitor cache monitor APP_PM_POLICY-media_agg detail format record コマンドを使用します。


Device# show performance monitor cache monitor APP_PM_POLICY-art_agg detail format record 

 Monitor: APP_PM_POLICY-art_agg
 Data Collection Monitor:
  Cache type:                           Synchronized (Platform cache)
  Cache size:                               112500
  Current entries:                               6
  High Watermark:                                6
  Flows added:                                   6
  Flows aged:                                    0
  Synchronized timeout (secs):                 300

FLOW DIRECTION:                         Output
TIMESTAMP MONITOR START:                14:10:00.000
FLOW OBSPOINT ID:                       4294967298
INTERFACE OVERLAY SESSION ID OUTPUT:    0
IP VPN ID:                              65535
APPLICATION NAME:                       layer7 share-point
connection server resp counter:         1477
connection to server netw delay sum:    10822  < --- SND_ samples
connection to server netw delay min:    100
connection to server netw delay max:    103
connection to client netw delay sum:    3559 < --- CND_ samples
connection to client netw delay min:    20
connection to client netw delay max:    198
connection application delay sum:       936
connection application delay min:       0 
connection application delay max:       122
connection responder retrans packets:   2    <---- lost_samples 
connection to server netw jitter mean:  0
connection count new:                   108      < ---- SND/CND_total
connection server packets counter:      2018     <---- total_samples

Latency(SND  ms) = SND_ samples/ SND/CND_total
Latency(CND  ms) = CND_ samples/ SND/CND_total
Loss ratio = lost_samples /total_samples

Device# show performance monitor cache monitor APP_PM_POLICY-media_agg detail format record
 
 Monitor: APP_PM_POLICY-media_agg

 Data Collection Monitor:

  Cache type:                           Synchronized (Platform cache)
  Cache size:                                40000
  Current entries:                               4
  High Watermark:                                4

  Flows added:                                   4
  Flows aged:                                    0
  Synchronized timeout (secs):                 300

FLOW DIRECTION:                      Input
TIMESTAMP MONITOR START:             14:20:00.000
FLOW OBSPOINT ID:                    4294967310
INTERFACE OVERLAY SESSION ID INPUT:  132
IP VPN ID:                           65535
APPLICATION NAME:                    layer7 rtp-video
trns counter packets lost rate:      0.00
trns counter packets expect:         4696 < --- total_ packets
trns counter packets lost:           0        < --- lost_ packets
rtp jitter inter arrival mean:       0
rtp jitter inter arrival samples:    4666     < --- jitter_samples
rtp jitter inter arrival sum:        108324570 < --- jitter_ sum

Loss ratio = lost_ packets /total_ packets
Jitter (us) = jitter_ sum/jitter_samples

アプリケーション パフォーマンスが有効になっているかどうかを確認するには、show performance monitor context APP_PM_POLICY configuration コマンドを使用します。


Device# show performance monitor context APP_PM_POLICY configuration
!===============================================================================
!               Equivalent Configuration of Context APP_PM_POLICY              !
!===============================================================================
!Exporters
!==========
!
flow exporter APP_PM_POLICY-1
description performance monitor context APP_PM_POLICY exporter
destination local sdwan
export-protocol ipfix
option application-table export-spread 0
!
!Access Lists
!=============
ip access-list extended APP_PM_POLICY-art_agg_tcp
permit tcp any any
!
ip access-list extended APP_PM_POLICY-media_agg_udp
permit udp any any
!
!Class-maps
!===========
class-map match-all APP_PM_POLICY-art_agg
match class-map APP_PERF_MONITOR_FILTERS
match access-group name APP_PM_POLICY-art_agg_tcp
!
class-map match-any APP_PM_POLICY-media_agg_app
match protocol rtp in-app-hierarchy
!
class-map match-all APP_PM_POLICY-media_agg
match class-map APP_PERF_MONITOR_FILTERS
match access-group name APP_PM_POLICY-media_agg_udp
match class-map APP_PM_POLICY-media_agg_app
!
!Samplers
!=========
sampler APP_PM_POLICY-art_agg
granularity connection
mode time-based 1 out-of 100
!
sampler APP_PM_POLICY-media_agg
granularity connection
mode time-based 1 out-of 100
!
!Records and Monitors
!=====================
!
flow record type performance-monitor APP_PM_POLICY-art_agg
description ezPM record
match flow direction
match application name
match timestamp absolute monitoring-interval start
match flow observation point
match overlay session id output
match routing vrf service
collect connection new-connections
collect connection server counter responses
collect connection delay network to-server sum
collect connection delay network to-server min
collect connection delay network to-server max
collect connection delay network to-client sum
collect connection delay network to-client min
collect connection delay network to-client max
collect connection delay application sum
collect connection delay application min
collect connection delay application max
collect connection server counter packets long
collect connection server counter packets retransmitted
collect connection jitter network to-server mean
!
!
flow monitor type performance-monitor APP_PM_POLICY-art_agg
record APP_PM_POLICY-art_agg
exporter APP_PM_POLICY-1
cache entries 2700
cache timeout synchronized 300 export-spread 150
!
!
flow record type performance-monitor APP_PM_POLICY-media_agg
description ezPM record
match flow direction
match application name
match timestamp absolute monitoring-interval start
match flow observation point
match overlay session id input
match routing vrf service
collect transport packets lost rate
collect transport rtp jitter inter-arrival mean
!
!
flow monitor type performance-monitor APP_PM_POLICY-media_agg
record APP_PM_POLICY-media_agg
exporter APP_PM_POLICY-1
cache entries 960
cache timeout synchronized 300 export-spread 150
!

!Policy-maps
!============
policy-map type performance-monitor APP_PM_POLICY-in
parameter default account-on-resolution
class APP_PM_POLICY-art_agg
  flow monitor APP_PM_POLICY-art_agg sampler APP_PM_POLICY-art_agg
class APP_PM_POLICY-media_agg
  flow monitor APP_PM_POLICY-media_agg sampler APP_PM_POLICY-media_agg
!         
policy-map type performance-monitor APP_PM_POLICY-out
parameter default account-on-resolution
class APP_PM_POLICY-art_agg
  flow monitor APP_PM_POLICY-art_agg sampler APP_PM_POLICY-art_agg
class APP_PM_POLICY-media_agg
  flow monitor APP_PM_POLICY-media_agg sampler APP_PM_POLICY-media_agg
!
policy-map type performance-monitor APP_PM_POLICY-art-in
parameter default account-on-resolution
class APP_PM_POLICY-art_agg
  flow monitor APP_PM_POLICY-art_agg sampler APP_PM_POLICY-art_agg
!
policy-map type performance-monitor APP_PM_POLICY-art-out
parameter default account-on-resolution
class APP_PM_POLICY-art_agg
  flow monitor APP_PM_POLICY-art_agg sampler APP_PM_POLICY-art_agg
!
!Interface Attachments
!======================
interface Tunnel1
service-policy type performance-monitor input APP_PM_POLICY-in
service-policy type performance-monitor output APP_PM_POLICY-out
!
interface Tunnel4
service-policy type performance-monitor input APP_PM_POLICY-in
service-policy type performance-monitor output APP_PM_POLICY-out
!
interface GigabitEthernet1
service-policy type performance-monitor input APP_PM_POLICY-art-in
service-policy type performance-monitor output APP_PM_POLICY-art-out
!
interface GigabitEthernet4
service-policy type performance-monitor input APP_PM_POLICY-art-in
service-policy type performance-monitor output APP_PM_POLICY-art-out
!
interface Tunnel1000100
service-policy type performance-monitor input APP_PM_POLICY-art-in
service-policy type performance-monitor output APP_PM_POLICY-art-out
!
interface Tunnel1000200
service-policy type performance-monitor input APP_PM_POLICY-art-in
service-policy type performance-monitor output APP_PM_POLICY-art-out
!

保留中のオブジェクトの問題を確認するには、show platform software object-manager fp active statistics コマンドを使用します。


Device#  show platform software object-manager fp active statistics 

Forwarding Manager Asynchronous Object Manager Statistics

Object update: Pending-issue: 0, Pending-acknowledgement: 0
Batch begin:   Pending-issue: 0, Pending-acknowledgement: 0
Batch end:     Pending-issue: 0, Pending-acknowledgement: 0
Command:       Pending-acknowledgement: 0
Total-objects: 1378
Stale-objects: 0
Resolve-objects: 0
Childless-delete-objects: 4
Backplane-objects: 0
Error-objects: 0
Number of bundles: 0
Paused-types: 3