Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
  • Pacemaker and Tomcat (High Availability)

    Posted on

    I am currently confused between several examples of tomcat resources I have seen with pacemaker, the documentation for the tomcat resource, and what I am seeing personally on RHEL 6 for Pacemaker.

    Basic setup is as follows:
    2 nodes, all firewall ports opened properly. Tomcat resource with a VIP, both of which always run on the same node.

    I can get everything working with 1 tomcat resource as long as I use a statusurl. But if I don't use that parameter, the startup fails. The problem I have with this is that the documentation shows it to be optional (http://www.linux-ha.org/doc/man-pages/re-ra-tomcat.html) , and all of the examples I see online ( this for example http://muru-techsolution.blogspot.com/2015/04/apache-tomcat-cluster-with-pacemaker-on.html ) shows the service being created with no statusurl at all.

    This causes additional problems, because I have additional tomcat services which use containers that do not have a web front end. Thus, they don't have a status URL.

    Again, If I use the statusurl, then I have no issues getting everything to work. Is it just mis-labeled in the documentation?

    Also, if I use multiple tomcat resources, do I need to use the tomcat_name parameter?

    Thanks!

    by

    points

    Responses

    Red Hat LinkedIn YouTube Facebook X, formerly Twitter

    Quick Links

    Help

    Site Info

    Related Sites

    © 2025 Red Hat