- Performance Data Collection Introduction
- Configuration Prerequisites
- Performance Data Collection Function
- PDC Operational Conditions
- PDC Report Data Management
2 Configuration Prerequisites
Before configuring the SAPC in an operational network, assure that:
3 Performance Data Collection Function
The Performance Data Collection (PDC) function of the SAPC extracts performance information which can be used for performance analysis, dimensioning, and troubleshooting.
The PDC function takes as input:
The input information is collected and written into output files, that can be retrieved from the SAPC through its SFTP interface. Four kinds of output files are produced:
The SAPC is scheduled to:
The PDC function and health check can be executed manually at any time.
4 PDC Operational Conditions
4.1 PDC Function Administration
4.1.3 Manual Data Collection
4.1.3.1 Manual Collection by Default
To collect data by default, follow these steps:
Steps
4.1.3.2 Manual Data Collection by Date
To generate reports within a date range, follow these steps:
Steps
4.1.3.3 Manual Data Collection by Report Type
To generate a report of a specific type (for the previous day to the execution), follow these steps:
Steps
4.1.3.4 Manual Data Collection by Date and Report Type
To generate a report of a specific type within a date range, follow these steps:
Steps
4.1.4 Data Packaging
The PDC processes the report files available and generates a monthly report as tarball output file.
Data packaging includes a cleanup mechanism that automatically deletes PDC trace files and the tarball monthly reports older than one year.
| Note: |
Before executing data packaging, verify that the execution
is needed. Data packaging probably consumes high CPU resources, and
must be executed only if necessary. |
4.1.4.1 Data Packaging by Default
To package and compress daily files for the previous month, follow these steps:
Steps
4.1.4.2 Data Packaging by Date
To package daily reports for specific date ranges, follow these steps:
Steps
4.1.4.3 Cleanup
The cleanup option forces deletion of daily report files. The files removed are those used to generate the tarball file.
To clean up daily report files, follow these steps:
Steps
4.1.5 Health Check
4.1.5.1 Health Check Full Report
To collect the instantaneous status, information, and configuration data of the node execute following steps:
Steps
4.1.5.2 Health Check Report
To collect only the node status:
Steps
4.1.5.3 Node Information Report
To collect only node information as software level and limit capacity license, execute following steps:
Steps
4.1.5.4 Node Configuration Report
To collect only node configuration as enabled capacity license and enabled interfaces, execute following steps:
Steps
4.2 PDC Configuration
4.2.1 Modify Configuration
Configure the PDC function, executing following steps:
|
Property |
Description |
Definition |
|---|---|---|
|
daily_processing_hour |
Hour and minute when the PDC is launched to generate daily reports. |
Type: String Default: 00:06 |
|
sapc_measurements_src_path |
Paths where the PDC takes SAPC PMs from. Multiple paths must be separated by commas. |
Type: String Default: /storage/no-backup/com-apr9010443/PerformanceManagementReportFiles |
|
platform_measurements_src_path |
Paths where the PDC takes Common Components PMs from. Multiple paths must be separated by commas. |
String Default: /storage/no-backup/com-apr9010443/PerformanceManagementReportFiles |
|
daily_files_output_path |
Path where the PDC saves daily reports. |
Type: String Default: /storage/no-backup/sapc/PolicyControlPdcFiles/Daily |
|
monthly_files_output_path |
Path where the PDC saves monthly reports. |
Type: String Default: /storage/no-backup/sapc/PolicyControlPdcFiles/Monthly |
|
sapchealthcheck_output_path |
Path where the PDC health check report is saved. |
Type: String Default: /storage/no-backup/sapc/PolicyControlPdcFiles/HealthCheck |
|
trace_level |
Maximum PDC trace level. In addition, critical messages are also displayed on the console. |
Type: String. Possible values: CRITICAL | ERROR | WARNING | INFO | DEBUG Default CRITICAL |
|
trace_files_output_path |
Path where the PDC saves traces. |
Type: String Default: /var/log/sapcPdc/traces/ |
|
sapchealthcheck_trace_level |
Maximum PDC health check trace level. In addition, critical messages are also displayed on the console. |
Type: String. Possible values: CRITICAL | ERROR | WARNING | INFO | DEBUG Default CRITICAL |
|
sapchealthcheck_trace_files_output_path |
Path where the PDC health check saves traces. |
Type: String Default: /var/log/sapcPdc/traces/ |
|
application_counters |
List of application counters separated by commas. |
Type: String. Values separated by commas. Example: gxCcasInitSuccess,gxCcasSuccess |
|
application_capacity_counters |
List of capacity counters separated by commas. |
Type: String. Values separated by commas. Example: afActiveSessions,mobileActiveSessions |
|
platform_counters |
List of platform counters separated by commas. |
Type: String. Values separated by commas. Example: CPULoad.Total, Mem.PercentUsed |
|
nice |
Scheduling Linux kernel priority for the PDC execution |
Type: Integer. Possible values: From -20 (highest priority) to 19 Default: 5 |
|
gx_interface_counters |
List of counter names for Gx interface which are used by Health Check to determine if Gx interface is enabled or not in the SAPC. |
Type: String. Values separated by commas. Default: gxCcrsInit,gxCcrsUpdate,gxCcrsTerminate |
|
rx_interface_counters |
List of counter names for Rx interface which are used by Health Check to determine if Rx interface is enabled or not in the SAPC. |
Type: String. Values separated by commas. Default: rxAarsInit,rxAarsUpdate,rxStrs |
|
sy_interface_counters |
List of counter names for Sy interface which are used by Health Check to determine if Sy interface is enabled or not in the SAPC. |
Type: String. Values separated by commas. Default: sySlrs,sySnrs,syStrs |
|
sms_interface_counters |
List of counter names for SMPP interface which are used by Health Check to determine if SMPP interface is enabled or not in the SAPC. |
Type: String. Values separated by commas. Default: smsNotificationsSent |
|
soap_interface_counters |
List of counter names for SOAP interface which are used by Health Check to determine if SOAP interface is enabled or not in the SAPC. |
Type: String. Values separated by commas. Default: soapNotificationsSent |
|
sx_interface_counters |
List of counter names for Sx interface which are used by Health Check to determine if Sx interface is enabled or not in the SAPC. |
Type: String. Values separated by commas. Default: sxCcrsInit,sxCcrsUpdate,sxCcrsTerminate |
|
extdb_interface_counters |
List of counter names for extDb interface which are used by Health Check to determine if extDb interface is enabled or not in the SAPC. |
Type: String. Values separated by commas. Default: ldapModifyRequests,ldapSearchRequests,soapExtDbNotificationsReceived |
|
sd_interface_counters |
List of counter names for Sd interface which are used by Health Check to determine if Sd interface is enabled or not in the SAPC. |
Type: String. Values separated by commas. Default: sdTsrs,sdCcrsUpdate,sdCcrsTerminate |
4.2.1.1 Configure Reported Counters
4.2.1.2 Configure PDC Execution Priority
Modify priority of PDC execution on the system, following these steps:
Steps
4.2.1.3 Configure Daily Processing Hour
When enabled, PDC launches the generation of daily report. Configure the time when daily report generation is launched following these steps:
Steps
4.2.1.4 Configure PDC Traces
4.3 PDC Fault Management
4.3.1 Alarms
Not Applicable.
4.3.2 Notifications
Not Applicable.
4.3.3 Troubleshooting
The following chapters explain typical problems that can appear when executing the PDC. When analyzing a problem, consider if PDC traces could provide additional information and obtain then as described in Configure PDC Execution Priority.
4.3.3.1 Reports Are Not Generated
If the PDC is not generating the reports, it is possible that errors have been introduced on its configuration file. Do the following:
Steps
4.3.3.2 Newly Added Counter Does Not Appear
If a newly added counter is not shown in PDC reports, follow these steps:
Steps
4.3.3.3 CPU Usage Is Too High
Follow steps described in Configure PDC Execution Priority to check that PDC execution priority is properly set.
4.3.3.4 Reports Take Too Long to Be Generated
Follow these steps to avoid reports taking too long to be generated:
Steps
- Verify the contents of the SAPC PM measurements files are correct, complete, and have the correct size. See Measurements.
- Verify CPU and memory levels for the SAPC. See Preventive Maintenance.
- Follow steps described in Configure PDC Execution Priority to change PDC execution priority.
- Follow steps described in Configure PDC Traces to configure trace level to CRITICAL.
4.3.3.5 Other Applications Affect PDC Performance
If you detect other applications affect PDC execution, consider:
Steps
- Follow steps described in Configure Daily Processing Hour to avoid PDC scheduled execution overlap other applications execution.
- Follow steps described in Configure PDC Execution Priority to change PDC execution priority.
4.3.3.6 PDC Execution Interrupted
If PDC execution is not successfully completed, follow these steps:
Steps
4.4 Other Operational Conditions
4.4.1 Capabilities
4.4.2 External Capabilities
Not Applicable.
4.4.3 Security
Not Applicable.
5 PDC Report Data Management
To collect the PDC report files, use SFTP as explained in System Administrator Guide. Paths where PDC report files are located are described in Table 7.
|
Path |
Description |
|---|---|
|
FileGroup=PolicyControlPdcFiles,FileGroup=Daily |
PDC daily report files generated. |
|
FileGroup=PolicyControlPdcFiles,FileGroup=Monthly |
PDC monthly report files generated. |
|
FileGroup=PolicyControlPdcFiles,FileGroup=HealthCheck |
PDC report for health check. |
5.1 Daily and Monthly Reports
All daily and monthly PDC reports have the following format:
| Note: |
Miscellaneous report contains snapshot of the actual status
of the system. For that reason, in this report, only one row containing
values can be found on it. |
Example 1 Reports Format
TimeStamp|ipCanUnauthenticatedEmergencyActiveSessions|mobileActiveSessions|subscribers 2017-07-25 15:15:00|0|100000|3900001 2017-07-25 15:20:00|0|100000|3900001 2017-07-25 15:25:00|0|100000|3900001
5.1.1 Daily Reports
The PDC generates daily reports at scheduled time. Each daily report is composed with:
5.1.2 Monthly Reports
The PDC generates monthly reports using as input all generated daily reports from the previous month and collecting them in a unique file.
The reports are packaged to a compressed file. When the package is completed, the daily reports used to make the monthly report are deleted.
Obtained compressed file <month_name>_<networkManagedElementId>_sapc_pdc.tar.gz is the monthly report. After extracting the file, under path /tmp, following files are located:
5.2 Health Check Reports
Health check generates a report A<YYYYMMDD.HHMMSS>_HealthCheck.xml in XML format.
This file, contains different sections which group related information:
| Note: |
These sections can be generated isolated. See Health Check
|

Contents