search cancel

Model Build process status checking in a MOI appliance

book

Article ID: 230372

calendar_today

Updated On:

Products

Mainframe Operational Intelligence

Issue/Introduction

The Machine Learning microservice in Mainframe Operational Intelligence automatically runs a model build nightly that updates the model.   In the event that a status of the recent model build or MBuild process successful activity is requested, the 

commands in the Resolution section of this Knowledge Document can be executed to obtain a quick status. 

Environment

Release : 2.0 

Component : MF OPERATIONAL INTELLIGENCE

Resolution

To run a quick check on the status of the MBuild process in MOI, run the following two commands:

ls -la /var/opt/moi/data2/profiler/var/opt/CA/itoa/dsp/dsp_logs/mbuild.log*

zgrep "Successfully" /var/opt/moi/data2/profiler/var/opt/CA/itoa/dsp/dsp_logs/mbuild.log*

MOI Support may request that the output of these two commands be uploaded to an open MOI Support Case. 

Example command output from your MOI appliance that your commands should produce: 

[[email protected] dsp_logs]# ls -la /var/opt/moi/data2/profiler/var/opt/CA/itoa/dsp/dsp_logs/mbuild.log*
-rw-r--r--. 1 ca_itoa ca_analytics 1332 Dec  9 10:19 /var/opt/moi/data2/profiler/var/opt/CA/itoa/dsp/dsp_logs/mbuild.log.20211209-091553.gz
-rw-r--r--. 1 ca_itoa ca_analytics 1336 Dec  9 23:08 /var/opt/moi/data2/profiler/var/opt/CA/itoa/dsp/dsp_logs/mbuild.log.20211209-215029.gz
-rw-r--r--. 1 ca_itoa ca_analytics 1335 Dec 10 23:00 /var/opt/moi/data2/profiler/var/opt/CA/itoa/dsp/dsp_logs/mbuild.log.20211210-215031.gz
-rw-r--r--. 1 ca_itoa ca_analytics 1334 Dec 11 22:46 /var/opt/moi/data2/profiler/var/opt/CA/itoa/dsp/dsp_logs/mbuild.log.20211211-215029.gz
-rw-r--r--. 1 ca_itoa ca_analytics 1333 Dec 12 22:55 /var/opt/moi/data2/profiler/var/opt/CA/itoa/dsp/dsp_logs/mbuild.log.20211212-215035.gz

[[email protected] dsp_logs]# zgrep "Successfully finished NightlyMBuild" /var/opt/moi/data2/profiler/var/opt/CA/itoa/dsp/dsp_logs/mbuild.log*
/var/opt/moi/data2/profiler/var/opt/CA/itoa/dsp/dsp_logs/mbuild.log.20211209-091553.gz:ADMIN: 2021-12-09-10:19:56.829 P01866/Thr00 Successfully finished NightlyMBuild
/var/opt/moi/data2/profiler/var/opt/CA/itoa/dsp/dsp_logs/mbuild.log.20211209-215029.gz:ADMIN: 2021-12-09-23:08:20.854 P09364/Thr00 Successfully finished NightlyMBuild
/var/opt/moi/data2/profiler/var/opt/CA/itoa/dsp/dsp_logs/mbuild.log.20211210-215031.gz:ADMIN: 2021-12-10-23:00:07.501 P05615/Thr00 Successfully finished NightlyMBuild
/var/opt/moi/data2/profiler/var/opt/CA/itoa/dsp/dsp_logs/mbuild.log.20211211-215029.gz:ADMIN: 2021-12-11-22:46:34.009 P01449/Thr00 Successfully finished NightlyMBuild
/var/opt/moi/data2/profiler/var/opt/CA/itoa/dsp/dsp_logs/mbuild.log.20211212-215035.gz:ADMIN: 2021-12-12-22:55:46.243 P25315/Thr00 Successfully finished NightlyMBuild