search cancel

MOI selected metric data extraction process

book

Article ID: 227525

calendar_today

Updated On:

Products

Mainframe Operational Intelligence

Issue/Introduction

This extract process is used to gather metric data from installed MOI appliances for analysis of machine learning enhancements and reported issues. 

Environment

Mainframe Operational Intelligence

MOI 2.0.*

Resolution

Extraction process for Metric Data

* Prerequistes 

This utility needs to be executed on the host machine where the MOI Appliance is running.

- MOI Appliance should be running and healthy
- The host system needs to have enough free disk space ? during Extract process.

Customization of the metricToExtract.csv file

1.  Contact MOI Engineering to obtain the tar file that contains the metricToExtract.csv file that has been customized for the metrics that are needed from the specific customer.  

2.  Attach the tar file received from MOI Engineering to the Case opened for the metric data extraction.

Communicate the following instructions to the Customer: 

1.  Download and copy the zip file,  moi-metric-extractor-v1.tar, to any directory on the appliance .  Suggested directory would be        /tmp/extract-moi-data      . 

2.  Run the below command to untar and un2zip the downloaded file: 

tar -xvf moi-metric-extractor-v1.tar

3.  Clear directory /var/opt/moi/share/backups/ with the following command: 

rm /var/opt/moi/share/backups/*

4.  Run the script 

sh extract-metrics-data.sh

5.  Once script has executed, attach all files in this directory to the Case : 

/var/opt/moi/share/backups/

Please note: This script can take 10+ minutes to finish its execution.