search cancel

MOI Appliance not automatically restarting after a maintenance reboot

book

Article ID: 254347

calendar_today

Updated On:

Products

Mainframe Operational Intelligence

Issue/Introduction

A manual restart of the MOI services is required anytime that the MOI appliance server is taken down for maintenance.   The MOI services should be restarted automatically anytime the appliance Linux machine is taken down.   The moi-service does not appear to be starting up per SYSTEMCTL.   

Environment

Release : 2.1

Resolution

The Customer resolved the automatic shutdown/startup of MOI using the following steps:

 

      -- Copied "/opt/moi/moi-utils/scripts/moi.service" to "/usr/lib/systemd/system/moi.service" 

      -- Replaced the ExecStart/ExecStop with the full path to the scripts:

                  ExecStart=/bin/bash /opt/moi/moi-utils/scripts/moi-startup

                  ExecStop=/bin/bash /opt/moi/moi-utils/scripts/moi-shutdown

      -- "systemctl daemon-reload" for the changes to take effect.