Sun Cluster Data Service for Apache Tomcat Guide for Solaris OS

ProcedureExample: Modifying the Apache Tomcat Configuration Files

  1. Copy the Apache Tomcat configuration file from the agent directory to its deployment location.


    phys-schost-1# cp /opt/SUNWsctomcat/util/sctomcat_config /global/mnt3
    
  2. Add this cluster's information to the sctomcat_config configuration file.

    The following listing shows the relevant file entries and the values to assign to each entry.


    .
    .
    .
    
    RS=RS-TOM
    RG=RG-TOM
    PORT=8080
    LH=ha-host-1
    NETWORK=true
    SCALABLE=false
    PFILE=/tomcat/pfile
    HAS_RS=RS-TOM-HAS.
    .
    .
    ZONE=clu1
    ZONE_BT=RS-TOM-ZONE
    PROJECT=
    
  3. Save and close the file.