Steps to remove unneeded Metric Instances from MOI 2.1 MPMUI Differential Analysis display
search cancel

Steps to remove unneeded Metric Instances from MOI 2.1 MPMUI Differential Analysis display


Article ID: 240595


Updated On:


Mainframe Operational Intelligence


NOTE:  This is an internal process and should ONLY BE DONE with MOI Support/Engineering assistance!

 A MOI Customer attempts to update the metric filters using the MOI Appliance Controller Configuration >  Metrics option.   The update attempt times out with page not responding error or metric instances are displayed in the MPMUI that no longer have metric data associated with them and are causing clutter for the Customer.    This Knowledge Document details the steps to resolve the page not responding error as follows:

  • Export the current metric filters to save filters for import later in the steps.
  • Stop the maas microservice to stop metric data flow to MOI and then shut down MOI.
  • Perform a backup of the RDF database just to be safe.
  • Remove the RDF database to clear out voluminous metric instances.
  • Restart MOI
  • Stop the maas microservice to prevent more metric instances from being created.
  • Import the save metric filters.
  • Update the metric filters as required
  • Start maas microservice.


Release:  2.1.00



NOTE:  This process should ONLY BE DONE with MOI Support/Engineering assistance!   Please contact Support before proceeding with the following steps.


  1. Download the file attached to this Knowledge Document to the MOI appliance Linux system in any directory.  Recommendation is that you can place the zip file in /tmp.


  1. Logon to the MOI appliance Linux system as root and cd to the directory that you downloaded the zip file to.  Extract the zip file contents by running the following command:

            >tar -xvf

  1. Run the following command to export the filters to a file


  1. On successful completion of the script, you will see the following message

            “Saved filters to file: /var/opt/CA/itoa/profiler/rdf/backup/metric-filters.json”

  1. Once the filters are exported, first bring down the maas microservice using the following commands. This is to stop all the incoming data.
                          > docker stop oi-engine_profiler-maas_1    

    Once the  maas micro service is down we need to make sure that all the data that was inflight is processed. To check this, run the script using the below command and check the lag column for OI-TIMESERIES-RAW-PAYLOAD-RECORDS, OI-SMF-RECORDS, OI-DATASTORE.0 topics. If the lag is not zero then give it a few minutes and check the lag again until the lag is cleared.  
    > ./ 
    Once the lag is cleared, proceed on to the next step to shutdown MOI.

                        > cd /opt/moi/
                        > bin/plex shutdown --bg=wait


  1. Run the following command to verify that the MOI microservices are down:

            >docker ps –a

  1. Once the services are down, first take a backup of RDF using the following commands:

    >cd /tmp
                >tar -czvf /var/opt/moi/data2/profiler/var/opt/CA/itoa/profiler/rdf/tdb

  2. Next remove the RDF database using the command:

    > rm -rf /var/opt/moi/data2/profiler/var/opt/CA/itoa/profiler/rdf/tdb
  3. Start up MOI using the following commands:

            >cd /opt/moi

            >bin/plex startup --bg=wait

  1. Using the following command, check to see if the maas container is created:

            > docker ps -a | grep maas

  1. Once the maas microservice is created, stop the maas microservice

            >docker stop oi-engine_profiler-maas_1

  1. Check if the MTC AC (appliance controller) is healthy using the following command:

            >docker ps -a | grep mtcac     

  1. Once the appliance controller is healthy, cd to the directory where the file was extracted.
  2. Now import the filters using the following command:  (Please note that this process has taken over 1 hour on resource constrained Linux machines)  


  1. Once the filters are imported, you will see the following message:

            “Filters imported successfully!!”

  1. Now login to the appliance controller and update the SMF 101 filters and any others that are needed using the Configuration> Metrics option on the MOI Appliance Controller menu.


  1. Once the filters are set, start maas using the following command:

            >docker start oi-engine_profiler-maas_1



The attached file contains the following components:





Attachments get_app