How to install Tomcat on a CA Service Desk Manager (CA SDM) 12.9 server and deploy the health servlet for monitoring

Document ID : KB000048228
Last Modified Date : 14/02/2018
Show Technical Document Details
  1. Download the Tomcat Service Installer (http://tomcat.apache.org/download-70.cgi)
  2. Run the installer with 'Run as Administrator'
  3. Click NEXT on the initial screen

    Figure 1

  4. Click I AGREE on the License Agreement screen

    Figure 2

  5. Select NORMAL for the install type on the Choose Components screen and click NEXT

    Figure 3

  6. On the Configuration screen, ensure to select UNIQUE ports for Tomcat. Click NEXT

    Figure 4

  7. On the Java Virtual Machine screen, navigate to the JRE directory within the SC directory (i.e. C:\Program Files (x86)\CA\SC\JRE\1.7.0_10) and click NEXT

    Figure 5

  8. On the Choose Install Location screen, either leave the default install directory or choose an alternate location and click NEXT

    Figure 6

  9. Click FINISH on the last screen to complete the Tomcat install and start the Tomcat service

    Figure 7

  10. Open the Services Control Panel and verify that the Apache Tomcat 7.0 service is listed and started. If desired, change start-up type from Manual to Automatic

    Figure 8



    Deploying CA SDM 12.9 Health Servlet

    1. Copy NX_ROOT\SAMPLES\HealthServlet\HealthServlet.WAR to the Apache Tomcat Webapps directory (i.e. C:\Program Files (x86)\Apache Software Foundation\Tomcat 7.0\webapps)

    2. Via the Services Control Panel, restart the Apache Tomcat 7.0 service. The HealthServlet Tomcat application will be deployed. This can be verified by checking to see if the Tomcat HealthServlet Webapps directory is created (i.e. C:\Program Files (x86)\Apache Software Foundation\Tomcat 7.0\webapps\HealthServlet).

      After the successful deployment, the Health Servlet is ready to perform health checks. It includes checking the status of the SLUMP and health of the CA SDM processes that are defined in the health.xml file (C:\Program Files (x86)\Apache Software Foundation\Tomcat 7.0\webapps\HealthServlet\WEB-INF\classes). Refer to page 316 of the CA SDM 12.9 Implementation Guide for further information on modifying the processes monitored by the Health Servlet.

    3. Via a web browser, navigate to the Tomcat HealthServlet URL (i.e. http://<server-name>:<port>/HealthServlet/GetHealth). Gives an "OK" or "NOT OK" message to determine if there is a problem.

      **WARNING** make sure the HealthServlet?URL is protected - refer to TEC611801 for additional details