Wednesday, July 11, 2012

Restarting Application Server by Node Agent

Learnt that in websphere application server 7, by default, the node agent will not take any action when an application server fails. 

In order to get the node agent to monitor and automatically restart a failed application server instance, we must setup the monitoring policy for that application server.

Go to the deployment manager console, and do the following:

1 . –> Java and Process Management –> Monitoring Policy
2.  Check the “Automatic Restart” box
3.  In the “Node Restart State“, set the state to “STOPPED”

Whenever you have a failed or killed application servers, node agent will now auto-restart the application server. 

If the state is set to "RUNNING", not only will the node agent restart a failed or killed application server, it WILL ALSO auto start the application server upon a node agent restart. 

No comments: