Monitoring of Tomcat clustering

Once the cluster is up and working, the next stage is to set up the monitoring of the clustering. This can be done in the following ways:

  • Various monitoring tools
  • Scripts
  • Manual

Following are the steps to manually monitor the clusters:

  1. Check the Tomcat process using the following command:
    root@localhost bin]# ps -ef |grep java
    
  2. Check the logs to verify the connectivity of the cluster.
  3. Verify the URL for both cluster members.

Get Apache Tomcat 7 Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.