Data Collection Guideline for CSCF
Call Session Control Function

Contents

1Introduction
1.1Prerequisites

2

Workflow
2.1Mandatory Data
2.2Collect Troubleshooting Data
2.3Obtain Persistent Storage Area Paths

3

Data Collection Using the CSCF Aggregated CSR Data Collection Script
3.1Overview
3.2Execute CscfACDC
3.3Fetch the CscfACDC Logs
3.4Command Line Options
3.5Configuration File

4

Other Useful Information
4.1IP Addresses
4.2Wireshark Trace
4.3AppTrace
4.4Counters and PMF Files
4.5HSS User Profile
4.6User Data in the CSCF

5

File Management

1   Introduction

The purpose of this document is to instruct what troubleshooting data is to be collected and enclosed in a Customer Service Request (CSR) in case a problem is experienced with the Call Session Control Function (CSCF). Additional information can be requested by Ericsson support personnel.

This document also describes the procedure to collect the needed information.

1.1   Prerequisites

This section describes the prerequisites for performing the data collection procedure.

To use this document, the following conditions must apply:

2   Workflow

This section describes the workflow for data collection.

2.1   Mandatory Data

The following items are mandatory when composing a CSR:

2.2   Collect Troubleshooting Data

To collect troubleshooting data:

  1. Collect the mandatory data that is needed to attach to a CSR. For data collection, use the CSCF Aggregated CSR Data Collection (ACDC) script, see Section 3 Data Collection Using the CSCF Aggregated CSR Data Collection Script.
  2. Collect other useful information in case it is available within an acceptable amount of time and effort. See Section 4 Other Useful Information.

2.3   Obtain Persistent Storage Area Paths

To obtain the different persistent storage area paths for the system:

  1. Enter these commands on the node:

    <configuration-path> = cmwea config-location-get

    <storage-path> = cmwea no-backup-location-get

3   Data Collection Using the CSCF Aggregated CSR Data Collection Script

This section describes the data collection process using the CSCF Aggregated CSR Data Collection (ACDC) script.

3.1   Overview

CscfACDC is a script that fetches data from the system. The script is used for CSCF troubleshooting purposes.

CscfACDC by default starts the script CscfHealthCheck to collect basic health check information in the CSCF. For more information, refer to CSCF Health Check.

CscfACDC also fetches CSCF configuration, data, and logs according to the following predefined groups:

3.2   Execute CscfACDC

To execute the CscfACDC:

  1. Log on to the node, System Controller (SC), or Payload (PL).

    ssh -A <username>@<OAM IP>

  2. Run the script without any command line options:

    > CscfACDC

    Result:
    The first time, the user is prompted for different parameters which are stored in the configuration file. The second time, the user is only prompted for the passwords.
    Note:  
    If the default values need to be altered for a particular session, use the command line options. For more information, see Section 3.4 Command Line Options.

3.3   Fetch the CscfACDC Logs

The script writes all fetched information to the directory in the persistent storage area.

The CscfACDC reports are located in <storage-path>/cscfv_cxp9023140_2/acdc/reports/

The CscfACDC logs are located in <storage-path>/cscfv_cxp9023140_2/acdc/logs/. The log-files are packed and compressed in one or several tar files based on the defined output-max-tarfile-size.

Attach the files created by CscfACDC to the CSR.

Note:  
It is important to clean up the files from the directory after they have been attached to the CSR (for example deleting files to avoid storage issues). For more information, refer to Configure Preventive Maintenance Policy Deleting Files in Logical File System.

Data Collection report and log files can be fetched using File Management. For more information, see Section 5 File Management.

3.4   Command Line Options

By default, the CscfACDC script does not need any command line options, the values from the configuration files are used instead. When using command line options, the options are overruling the configuration file but are not overwriting it.

For information regarding the command line options for the CscfACDC script, see Table 1.

Table 1    Command line Options for the CscfACDC Script

Option

Description

-h, --help

Show this help message and exit

-r REPORT, --report = REPORT

Specify the location to save the report. Otherwise the default is used.

-f FILENAME, --filename = FILENAME

Filename prefix for generated files.

-q, --quiet

Print quietly, suppresses details.

--cluster-port = CLUSTER_PORT

Use this option to input Cluster Port.

--cluster-user = CLUSTER_USER

Use this option to input Cluster User.

--oam-host = OAM_HOST

Use this option to input OAM Host Address (that is, Hostname or IP Address)


If the OAM Movable IP (MIP) is configured on the system, the OAM Host Address is automatically retrieved and not prompted for user input.

--oam-ecliport = OAM_ECLIPORT

Use this option to input OAM ECLI Port.

--oam-user = OAM_USER

Use this option to input the OAM user.

--cpu-load-threshold = THRESHOLD_CPULOAD

During execution, monitor the CPU load to make sure that it does not exceed a certain value. The threshold is set with this option, the value is given in %.

--diskspace-threshold = THRESHOLD_DISKUSAGE

During execution, monitor the partition disk space to make sure that it does not exceed a certain value. The threshold is set with this option, the value is given in %.

--memory-threshold = THRESHOLD_MEMORYUSAGE

During execution, monitor the memory used to make sure that it does not exceed a certain value. The threshold is set with this option, the value is given in %.

--execution-time = THRESHOLD_EXECUTIONTIME

The maximum time the script can execute before it is stopped. The value is given in seconds.

--oam-netconfport = OAM_NETCONFPORT

Use this option to input OAM NETCONF Port.

--skip-cscf-healthcheck

This option allows ACDC to skip CscfHealthCheck

--skip-cscf-configuration

This option allows ACDC to skip collection of the CSCF configuration.

--skip-cmw-logs

This option allows ACDC to skip collection of Core Middleware logs.

--skip-pm-logs

This option allows ACDC to skip collection of performance measurement logs.

--skip-cdclsv-logs

This option allows ACDC to skip collection of cdclsv logs.

--skip-system-logs

This option allows ACDC to skip collection of System logs.

--pm-data-timeframe = PMF_TIMEFRAME

This option allows the user to specify the timeframe, in hours, of the performance measurement files that are collected.

--output-max-tarfile-size = OUTPUT_MAXTARFILESIZE

This option allows the user to specify the maximum file size, in MB, of the output log files containing the collected data.

3.5   Configuration File

When CscfACDC is executed for the first time, it creates the configuration file <user-name>.config. The user is prompted to enter values for some of the parameters which are stored in the configuration file (except passwords). When the CscfACDC script is executed, it behaves according to the configuration file <user-name>.config which is available in the persistent storage area <configuration-path>/cscfv_cxp9023140_2/acdc/. The users can modify the configuration file to fit their specific needs.

3.5.1   Configuration File Syntax

For information regarding the syntax in the configuration file, see Section 3.4 Command Line Options. For a description of the entries in the configuration file, see Table 2.

Table 2    Configuration File Syntax

Configuration File Entry

Description

cluster.port = <cluster port>

Is option --cluster-port

cluster.user = <cluster user>

Is option --cluster-user

oam.host = <oam host>

Is option --oam-host

oam.ecliport = <ecli port>

Is option --oam-ecliport

oam.netconfport = <netconf port>

Is option --oam-netconfport

oam.user = <O&M user>

Is option --oam-user

threshold.cpuload = <CPU limit in %>

Is option --cpu-load-threshold

threshold.memoryusage = <memory limit in %>

Is option --memory-threshold

threshold.diskusage = <disk use limit in %>

Is option --diskspace-threshold

threshold.executiontime = <time in seconds>

Is option --execution-time

cscf.healthcheck = <yes/no>

Represented by option


–skip-cscf-healthcheck

data.cscfconfiguration = <yes/no>

Represented by option


–skip-cscf-configuration

data.cmw_logs = <yes/no>

Represented by option --skip-cmw-logs

data.pm_logs = <yes/no>

Represented by option --skip-pm-logs

data.cdclsv_logs = <yes/no>

Represented by option --skip-cdclsv-logs

data.system_logs = <yes/no>

Represented by option --skip-system-logs

pmf.timeframe = <duration in hours>

Is option --pm-data-timeframe

output.maxtarfilesize = <file size in MB>

Is option –output-max-tarfile-size

The configuration parameters in Table 3 are not available as command-line options. Also, the configuration parameters are not stored in the configuration file for security reasons:

Table 3    Configuration Parameters Not Stored in the Configuration File and Not Available As Command Line Options

Configuration File Entry

Description

cluster.password = <cluster user password>

Use this parameter to input the cluster user password, to be used when SSH to the system controller on the cluster.

oam.password = <O&M user password>

Use this parameter to input the O&M user password, to be used when SSH to ECLI on the cluster.

3.5.2   Configuration File Default Values

These are the default values for the configuration file:

cluster.port = 22

oam.ecliport = 2022

oam.netconfport = 830

threshold.cpuload = 30

threshold.memoryusage = 65

threshold.diskusage = 70

threshold.executiontime = 1800

cscf.healthcheck = yes

data.cmw-logs = yes

data.pm_logs = yes

data.cdclsv_logs = yes

data.system_logs = yes

data.cscfconfiguration = yes

pmf.timeframe = 72

output.maxtarfilesize = 50

4   Other Useful Information

This section describes data that is to be included in a CSR if it is easily available and there is enough time to collect it.

4.1   IP Addresses

Provide the following IP addresses to the CSR:

4.2   Wireshark Trace

If possible and available, include a Wireshark® trace showing the failing scenario.

4.3   AppTrace

If AppTrace can be run, provide AppTrace logs of the issue to speed up troubleshooting.

For information about how to use AppTrace, refer to CSCF AppTrace User Guide.

If the issue is related to a certain user, the UserTrace can be used in production environment. Provide UserTrace logs of the issue to speed up troubleshooting.

For information about how to use UserTrace, refer to CSCF User Tracing.

4.4   Counters and PMF Files

If applicable, collect, and provide counter information within the Performance Management Function (PMF) files.

4.5   HSS User Profile

If the issue is related to a certain user, provide a printout of the Home Subscriber Server (HSS) user profile.

4.6   User Data in the CSCF

If the issue is related to a specific user, provide a user data printout of the user in the CSCF. For more information on how to make a user data printout in the CSCF, refer to CSCF User Data Output Guideline.

5   File Management

The Data Collection report and log files are exposed by File Management in the following file group structure:

The file group ReportFiles includes reports (in html and txt file format) about how collecting of the different information and logs proceeded when the ACDC script was executed. The file group LogPackages includes tar files with information and logs that was fetched by the ACDC script when it was executed.

For more information on file groups, refer to Handling Files.



Copyright

© Ericsson AB 2016–2018. All rights reserved. No part of this document may be reproduced in any form without the written permission of the copyright owner.

Disclaimer

The contents of this document are subject to revision without notice due to continued progress in methodology, design and manufacturing. Ericsson shall have no liability for any error or damage of any kind resulting from the use of this document.

Trademark List
All trademarks mentioned herein are the property of their respective owners. These are shown in the document Trademark Information.

    Data Collection Guideline for CSCF         Call Session Control Function