Maximo Open Forum

 View Only
  • 1.  What happens during a maximo restart?

    Posted 03-15-2024 12:59

    Hi,

    Can someone explain what happens during a maximo jvm restart? I know how we do it( going to was and restart the jvms) but i want to know what happens in the background? 

    What can happen if we restart the servers frequently like 2 times a week or so?

    Thanks in advance.


    #EverythingMaximo

    ------------------------------
    Trisha S
    Tcs
    ------------------------------


  • 2.  RE: What happens during a maximo restart?

    Posted 03-20-2024 11:25

    Hi Trisha S

    This is very technical and a websphere specialist It might help to be more precise.

    When you talk about restarting the JVM, I understand you mean shutting down the Maximo clusters. You proceed to reboot and then turn them on.

    Every time you shut it down, it should end by shutting down the corresponding JVM.

    What does it do when you do this? It will do the following (they are not ordered)

    - Kill connections: With the DB, external services, integrations, users, etc.
    - Kill processes: Stop processes (associated with CRONTASK)
    - Kill report issuance: In progress, scheduled, etc.

    This would stop the system completely and then free up system resources, mainly memory and processing usage (cores, subcores, and threads).

    Restarting the server and clusters starts them in a staggered manner (as each cluster starts) until Maximo is fully operational.

    I give you an idea. Take a test Maximo environment and activate administration mode. Just keep looking at the screen, and you will see that Maximo notifies you step by step of what it is doing.

    Part of what re-initializing the Clusters would do is in that step by step. Then, the release of resources.

    Regards!



    ------------------------------
    Martin Fabra
    ARSAT S.A.
    ------------------------------



  • 3.  RE: What happens during a maximo restart?

    Posted 03-21-2024 12:26

    Thank you so much,Martin



    ------------------------------
    Trisha S
    Tcs
    ------------------------------



  • 4.  RE: What happens during a maximo restart?

    Posted 03-22-2024 08:41

    If you need to restart the JVMs twice a week then there is almost certainly something wrong with the system e.g. memory/dbconnection leak.

    https://www.linkedin.com/pulse/maximo-support-advice-from-non-ibm-engineer-article-mark-robbins/  - look at the articles in the 

    Managing MboSets – MBOSet overview - (#mbosetMgtPractices) series

    If you aren't sure how to investigate it then reach out to me.


    This series of articles put more information for the process as Martin describes it.

    https://www.linkedin.com/pulse/maximo-support-advice-from-non-ibm-engineer-article-mark-robbins/

    https://www.linkedin.com/pulse/websphere-consoles-jvm-started-doesnt-mean-maximo-has-mark-robbins/

    https://www.linkedin.com/pulse/which-log-file-check-when-jvm-starts-up-key-mentioned-mark-robbins/

    https://www.linkedin.com/pulse/log-entries-written-when-jvm-starts-up-part-1-mark-robbins/

    https://www.linkedin.com/pulse/log-entries-written-when-jvm-starts-up-part-2-mark-robbins/



    ------------------------------
    mark robbins
    Cohesive
    IBM Champion 2017-2023 Inclusive
    See my blog on Maximo support related topics here:
    https://www.linkedin.com/pulse/maximo-support-advice-from-non-ibm-engineer-article-mark-robbins/
    ------------------------------



  • 5.  RE: What happens during a maximo restart?

    Posted 03-21-2024 12:11

    In WebSphere on Red Hat Linux, If I recall right, the deployment manager (dmgr) runs first. That handles expanding maximo.ear to start the Maximo application. Ideally, if you plan to restart the OS server, stop all the WebSphere related processed. stop HTTP (IBM HTTP server), stop app server, stop nodeagent, stop deployment manager. If you restart the server after that, the processes should have an opportunity to cleanly stop. If you restart without properly shutting down the processes, there's a small chance of corrupt files. If any process is stuck, we will manually kill the java process responsible from the OS.

    If you're talking about restarting the MXServer from WebSphere console, I recommend stopping the process, wait a minute, then attempt to start it. That seems more reliable than restarting because you don't know if the stop failed or the start failed. And make sure you tail follow the SystemOut.log so you can see what's going on.



    ------------------------------
    sun kim
    ------------------------------



  • 6.  RE: What happens during a maximo restart?

    Posted 03-21-2024 12:27

    Thank you for responding,Sun kim. Got what I wanted.



    ------------------------------
    Trisha S
    Tcs
    ------------------------------



  • 7.  RE: What happens during a maximo restart?
    Best Answer

    Posted 03-25-2024 10:27

    When the JVM is stopped,

    You can find three checkboxes to mark the progress below

    • Server stop initiate
    • Progressing server stop
    • Server Stop complete

    The more detailed steps is something like this, 

    • TCP Channel stop listening to Maximo ports 9080, 9081 etc.
    • Webserver Servelts stops listening to requests, and destoyed.
    • JMS Queue processors deactivated.
    • Then Server stop is complete.

    There coud be further/more detail steps.,but, often it is too faster to notice. Or you can verify it in the Logs.

    When you start the Server (JVM).

    • It check and connects to the Maximo ports , node agents etc.
    • Read the Maximo.properties and connects to Database
    • Load all system properties ,cron instance properties.
    • Start the jobs associated with the JVM (like MIF, Cron related)

    The final expected message is 'MxServer (JVMName) is open for e-Business'.


    Hope this helps.



    ------------------------------
    Sankar Ganesh V S
    DXC Technology
    ------------------------------