Monitoring Policy on Websphere Application Server Process

 Monitoring Policy on Websphere Application Server      


When ever JVM goes down or unreachable or JVM ran into OOM(Out of Memory) ,explicitly user will be notified by Application team or monitoring team till that time Application will be un reachable or down. This will be potentially an impact and this need to have a manual efforts or intervention to start the JVM or Services .                                                  

To avoid this Websphere has a feature called monitoring policy which will monitor the health of the JVM process by nodeagent and start it when ever JVM goes down or un reachable or ran into OOM. We don't need any manual intervention needed until and unless if Nodeagent also fails to restart the JVM process. 

In order for the Nodeagent to intervene and automatically restart a failed application server instance, the ‘monitoring policy’ must be set for that application server.      

Process      Login to the Websphere Admin console  

                                                                                                                                                                            

1. Click Servers.>>Select Server Types >> Select WebSphere Application Servers. >>Select <Server_Name> to monitor                
                                                                                                      
2. Navigate to <Application Server> –> Java and Process Management –> Monitoring Policy 







3. Check the box next to “Automatic Restart”     




 4.In the “Node Restart State“, set the state to “PREVIOUS”                                                              

  • If this property is set to STOPPED, node agent does not start the server.
  • If this property is set to RUNNING, the node agent always starts the server.
  • If this property is set to PREVIOUS, the node agent starts the server only if the server was running when the node agent stopped. It will enable  to return to its current state after the node restarts.

5.Click on OK to Save & Sync the configuration





Comments

Popular posts from this blog

IBM WebSphere - Synchronize a node (syncNode)

Daily usage Linux Commands for Any Middleware Administration

Backup and Restore of WebSphere Application Server configuration