Skip to content

Caucho Resin — Prerequisites

Prerequisites for monitoring Caucho Resin with HEAL.

2 min read Updated SS

Prerequisites to complete before adding this component in the HEAL Control Center.

Tested Configurations:

  • Operating Systems: Solaris 11.3, RHEL 7.9
  • Resin Versions:
    • Resin 4.0.66 with JDK 1.8.0_60
    • Resin 4.0.53 with JDK 1.7.0_171

Important: These configurations are verified under the assumption that the jmxremote.ssl property is set to false.

Open Ports for Data Collection: Ensure that the Resin server’s monitor port and JMX port are open for data collection across all server setups to collect Resin and JVM KPIs effectively.

Default Server Configuration (e.g., server name = app-0)#

  1. Modify JVM Arguments:

    • Navigate to the resin.properties file in the conf directory.
    • Locate the jvm_args section.
    • Add the following JVM arguments in a single line and uncomment:
    -Xmx2048m -XX:MaxPermSize=256m -Dcom.sun.management.jmxremote.port=<jmx port> -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false
    

    Note: Ensure all arguments are placed on a single line without line breaks.

  2. Configure Ports in Control Center: For the RESIN instance, assign values for the monitor and JMX ports in the Control Center.Note: The monitor port should use the HTTP port, which can be found in the resin.properties file.

  3. Restart RESIN: Apply the configuration changes by restarting the RESIN server.
  4. Update Agent Configuration: Ensure agent-details.json reflects the same port changes to accurately collect data.

Configuration for Other Servers (e.g., server name = app-tier)#

  1. XML Configuration Adjustments:

    • Open the resin.xml file in the conf directory.
    • Post the </cluster> tag, insert the configuration for your specific server setup.

    Example snippet:

    <cluster id="app-tier">
      <server id="app-tier" address="server-address" port="6801">
        <http port="8086"/>
        <jvm-arg>-Xms256m</jvm-arg>
        <jvm-arg>-Xmx1024m</jvm-arg>
        <jvm-arg>-Dcom.sun.management.jmxremote.port=9118</jvm-arg>
        <jvm-arg>-Dcom.sun.management.jmxremote.ssl=false</jvm-arg>
        <jvm-arg>-Dcom.sun.management.jmxremote.authenticate=false</jvm-arg>
      </server>
    </cluster>
    

    Note: Adjust the values according to your specific requirements.

  2. Configure Ports in Control Center: Assign values for the monitor and JMX ports in the Control Center specific to the app-tier server.Note: The monitor port should correspond to the HTTP port specified in the resin.xml file.

  3. Restart RESIN: Apply the changes by restarting RESIN to ensure the new configuration is active.
  4. Update Agent Configuration: Modify agent-details.json to reflect the changes in port configuration for accurate data collection.

See also: Caucho Resin (what HEAL monitors)