1 Introduction
The purpose of this document is to instruct how to collect troubleshooting data that is to be enclosed in a Customer Service Request (CSR) in case a problem is experienced with the Virtual Multimedia Resource Function (vMRF).
2 Collect Data for vMRF Troubleshooting
This section describes how to collect all troubleshooting data with the collectData.py script. Other possible options for the script are described in Overview of Data Collection in vMRF.
Prerequisites:
-
An incident has happened that requires opening a CSR.
-
There is enough free disk space available in the /tmp and cluster/storage directories, that is, more than 500 MB free disk space, or more than 50% of total disk space capacity of the disk partition.
Steps
To collect troubleshooting data, do the following:
3 Overview of Data Collection in vMRF
To collect troubleshooting data, the collectData.py script is used. The script collects troubleshooting information as specified by the options used when running the script.
Each command execution, except for options -h and -v, generates a .tar.gz file containing the requested information from the VNF in the following output format:
<hostname>_<machine_timestamp>_collectdata.tar.gz
The collected data can be analyzed after unpacking the .tar.gz file located in /cluster/storage/collectdata/<date_time>/ by performing the following steps:
Steps
- gunzip <hostname>_<machine_timestamp>_collectdata.tar.gz
- tar xvf <hostname>_<machine_timestamp>_collectdata.tar
The script accepts any of the following options, and it is also possible to combine multiple options (for example, collectData.py -bcdl):
| -h, --help |
This option shows the help message without collecting any data. It also lists the commands run by other options. For further information on Command Line Interface (CLI) tool commands, refer to CLI Commands. |
|
| -a, --all |
This option collects all of the troubleshooting information, that is, binaries, Performance Management (PM) data, system logs, and the result of CLI tool and system commands. A detailed description of data collected is provided in the description of options below. |
|
| -b, --binaries |
This option collects all the binaries under the opt/mrf_agent, opt/mrf_director, and opt/ip_pipeline directories needed, for example, for debugging crash dumps. |
|
| -c, --commands |
This option automatically runs a set of CLI tool and system commands and collects data in the commands.log file in each VM. The list of commands run is printed out when using this option. Option -c collects the following data:
|
|
| -d, --data |
This option collects the following information:
|
|
| -l, --logs |
This option collects system logs from the journalctl command. |
|
| -n, --node |
This option collects troubleshooting information only in a vMRF VNF specified by its IP address. The option must be combined with at least one data-collecting option as shown below: collectData.py -n <VNF_IP address> -<option(s)>. For example, collectData.py -n <VNF_IP address> -lb collects system logs and binaries on the specified vMRF VNF. |
|
| -o, --output |
This option specifies the output directory. |
|
| -s, --show-results |
This option prints the summary of data collection to the screen. The option must be combined with other data collection options. |
|
| -v, --verbose |
This option prints the output of several CLI tool and system commands, that is, no .tar.gz file is generated. If combined with other options, -v ignores them, and the script runs as if -v was the only option. The option collects the following data:
|
|

Contents