![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Table Of Contents
Collecting Data for Real-Time Performance Management
Understanding RTPM Data Collection
Real-Time Data Collection Example
Collecting Data for Real-Time Performance Management
Performance management (PM) involves the configuration and measurement of network traffic for the purpose of providing a consistent and predictable level of service. PM provides network and system performance reporting for determining acute and chronic problems, service level reporting, and performance optimization.
PM ensures that the network delivers services with the promised quality. PM data is useful for fine-tuning the performance of the device, and proactively monitoring for catastrophic failures before they occur.
PM includes:
•
Collecting, storing, and forwarding data to characterize the integrity of transmission
•
Determining when connections fail to meet committed integrity thresholds
Measuring performance can help identify:
•
Normal baseline network performance, which can then be compared to abnormal network behavior
•
Current or potential utilization problems
•
Slow response time
•
Application, server, and network availability
•
Optimum data transfer times
Performance data collection is the process of collecting performance-related data from network devices and storing them in a database or data file. This information can then be used for locating, diagnosing, and correcting network problems to increase network reliability and effectiveness, and to ensure that fault management can be more than just handling emergencies. The data can also be used to increase the productivity of network users.
PM data collection may be intended to collect:
•
Historical performance data
•
Real-time performance data
Note
ANA 4.0 supports real-time performance management data collection only. This feature is supported only for Cisco IOS XR devices.
Historical performance analysis provides trend information, but captures data only several times per hour. Therefore, it lack the capability to show what is happening in real time on the network. Real-time performance management (RTPM) provides a more accurate picture.
The flexible real-time performance-analysis capabilities allow you to select the sample size and the sampling interval. Real-time performance monitoring helps to capture data for a specific entity instance for the specified sampling period.
Understanding RTPM Data Collection
ANA 4.0 supports RTPM data collection. Performance data is collected for a given interval and sample size that you configure in the data collection template. See RTPM Data Collection Process for details.
To enable RTPM, ANA 4.0 supports the collection of RTPM counters for the following entities as generated by Cisco IOS XR devices using RTPM data collection templates:
Counters Supported
As a part of RTPM threshold data collection support, ANA 4.0 supports the following counters:
•
Interface Generic Counters. See the Table 10-1 for details.
•
Interface Data Rate Counters. See the Table 10-2 for details.
•
BGP Counters. See the Table 10-3 for details.
•
MPLS-LDP Counters. See the Table 10-4 for details.
•
Node CPU Counters. See the Table 10-5 for details.
•
Node Memory Counters. See the Table 10-6 for details.
•
Node Process Counters. See the Table 10-7 for details.
•
OSPFv2 Counters. See the Table 10-8 for details.
Table 10-5 Node CPU Counters Supported
Node CPU Counter DescriptionAverageCpuUsed
Average CPU utilization, in percentage.
NoProcesses
Number of processes.
Table 10-6 Node Memory Counters Supported
Node Memory Counter DescriptionCurrMemory
Current memory in use, in bytes.
PeakMemory
Maximum memory used, in kilobytes.
RTPM Data Collection Process
You can use the Command Builder feature to create, enable, or delete RTPM templates. ANA 4.0 provides commands to create, modify, activate, deactivate, or delete templates. These commands are part of the system-defined commands included in Command Builder.
Note
System-defined commands are available only for devices running Cisco IOS XR software.
See Chapter 8, "Managing and Deploying Configuration Changes" for information on Command Builder.
RTPM data collection involves the following steps:
1.
Creating PM templates—You can configure a new RTPM template using the Command Builder feature. Commands that enable RTPM data collection are available as system-defined commands in Command Builder. When you select a Cisco IOS XR device from the device selector, the system-defined commands are automatically populated in the Command browser. You can configure these commands to create RTPM templates by specifying the input parameters required.
To configure a template you should provide:
–
Template name.
–
Sample size—Number of repetitions for which the counters will be sampled. Value can range from 1 to 60.
–
Sample interval—Polling interval at which to collect data from the Cisco IOS XR device. Value can range from 1 to 60.
2.
Enabling the template on the entity —You can apply the preconfigured RTPM template using the Command Builder feature. See Running a Command, page 8-10 for procedural information on running commands using Command Builder.
3.
Collecting the data counters—After the template is applied, ANA starts collecting data until the collection stops on the router after the time specified in the template.
4.
Deactivating the template—You may deactivate the template after the data has been collected.
Note
The data is not stored in the ANA database. It is deleted when the RTPM template is deactivated. Also, the data is deleted if the VNE is removed.
5.
Deleting the template—If you do not want to reuse the template, you may delete it. You can run the entity-specific delete command to delete the data collection template. See Real-Time Data Collection Example for details.
After you start the data collection, the counters are listed in the DataCollectionService pane in the Logical Inventory view. The data shown and the time for which it is collected are dependent on the sample time and interval you configure in the RTPM template.
More than one RTPM entity template can be active at one time in the Cisco IOS XR device. Cisco IOS XR devices also support multiple RTPM templates active at any time for the same entity, for those that collect counters for a particular interface or node.slot.port instance.
Note
You can use Router CLI to create, activate, deactivate, or delete templates. This document does not include information on using Router CLI to perform RTPM-elated tasks. See the Router CLI documentation available on Cisco.com.
Real-Time Data Collection Example
The following example explains collecting BGP-related RTPM data using system-defined commands provided in Command Builder.
Note
For detailed information on Command Builder, see Chapter 8, "Managing and Deploying Configuration Changes". See Understanding the Command Browser User Interface, page 8-4 and Running a Command, page 8-10 for information on Command browser and on running commands.
The first task is to create the RTPM template. To create the template, do the following:
Step 1
Select the Cisco IOS XR device from the device selector. The system-defined commands are populated in the Command browser.
Step 2
Right-click AddorModifyBGPTemplate, and click Run. The Add Command Instances dialog box is displayed.
Step 3
Click Add >. The Input Parameters dialog box is displayed.
Step 4
Enter the following details:
•
Template—The template name.
•
Size—The sample size. This value determines the number of times the counters will be sampled. The value can range from 1 to 60.
•
Interval—The polling interval to collect the data. The value can range from 1 to 60.
Step 5
Click OK. An instance of AddorModifyBGPTemplate is added to the Created Instances pane
.
Step 6
Click Next. The Job Schedule and Policy Settings page is displayed.
Step 7
Specify the values, and click Finish.
The next task is to activate the template. To activate the template, do the following:
Step 1
Right-click ActivateBGPTemplate from the Command browser, and click Run. The Add Command Instances dialog box is displayed.
Step 2
Click Add >. The Input Parameters dialog box is displayed.
Step 3
Enter the following details:
•
Template—The template name you specified while adding the template.
•
Neighbor IP—The IP address of the BGP neighbor.
Step 4
Click OK. An instance of ActivateBGPTemplate
is added to the Command Instances pane.
Step 5
Click Next. The Job Schedule and Policy Setting page is displayed.
Step 6
Specify the values, and click Finish.
ANA starts collecting the data based on the parameters specified in the template. The details are displayed in the DataCollectionService pane of the Logical Inventory view.
After the data is collected, you may deactivate the template. When you deactivate the template, ANA removes all the data from the DataCollectionService pane.
To deactivate the template:
Step 1
Right-click DeActivateBGPTemplate, and click Run. The Add Command Instances dialog box is displayed.
Step 2
Click Add >. The Input Parameters dialog box is displayed.
Step 3
Enter the following details:
•
Template—The template name you specified while adding the template.
•
Neighbor IP—The IP address of the BGP neighbor.
Step 4
Click OK. An instance of DeActivateBGPTemplate
is added to the Command Instances pane.
Step 5
Click Next. The Job Schedule and Policy Setting page is displayed.
Step 6
Specify the values, and click Finish. The data is removed from the DataCollectionService pane after the scheduled deactivation job is complete.
You may also delete the template you have created if you do not want to reuse it.
To delete the template:
Step 1
Right-click DeleteBGPTemplate from the Command browser, and click Run.
Step 2
Click Add >. The Input Parameters dialog box is displayed.
Step 3
Enter the template name you specified while adding the template, and click OK. An instance of DeleteBGPTemplate
is added to the Command Instances pane.
Step 4
Click Next. The Job Schedule and Policy Setting page is displayed.
Step 5
Specify the values, and click Finish. The template is deleted after the job is run.
Posted: Mon Sep 24 07:29:13 PDT 2007
All contents are Copyright © 1992--2007 Cisco Systems, Inc. All rights reserved.
Important Notices and Privacy Statement.