Setting up IBM Health Center for your production environment

Complete the following steps to set up IBM Health Center for your production environment.

You can analyze the Health Center data that is collected in headless mode by using the Health Center client (see Installing Health Center).

Tip: As an alternative to the Health Center client, you can use the HCL Commerce Health Center Report tool. This tool uses the Health Center file (.hcd) to generate a web-based report of the performance data with insights that are specific to HCL Commerce. For more information, see HCL Commerce Health Center Report.

About this task

To enable IBM Health Center, you need to set the configurations during Docker container start up. There are two methods to completing the task. Select a method that best suits your environment.

Procedure

  • Passing in configuration parameters during container start up.
    1. Configure your Transaction, Store, and Search Docker containers to start with the configuration parameters OVERRIDE_PRECONFIG=true and HEALTH_CENTER_ENABLED=true.

      For more information about configuration parameters, see Setting configuration parameters.

    2. Health Center continuously creates healthcenter*.hcd files in the directory that is specified by the output.directory property at the interval that is set by the run.duration property. Mount the output.directory output folder on the Docker host volume or remote storage center to get output from each Docker container.
  • Set JVM arguments to enable Health Center.
    1. To modify the JVM arguments, create a Dockerfile and using the following Run Engine commands to set your custom default JVM values. You can either specify these commands in the Dockerfile or in a custConfiguration.sh script.The following properties are the default properties. Modify as needed.
      run set-system-property com.ibm.java.diagnostics.healthcenter.headless.output.directory /profile/logs/healthcenter
      run set-system-property com.ibm.java.diagnostics.healthcenter.headless.run.duration 15
      run set-system-property com.ibm.diagnostics.healthcenter.data.profiling off
      run set-system-property com.ibm.java.diagnostics.healthcenter.allocation.threshold.low 10000000
      run set-system-property com.ibm.java.diagnostics.healthcenter.stack.trace.depth 20
      run set-system-property com.ibm.java.diagnostics.healthcenter.headless.files.to.keep 0
      
    2. Health Center continuously creates healthcenter*.hcd files in the directory that is specified by the output.directory property at the interval that is set by the run.duration property. Mount the output.directory output folder on the Docker host volume or remote storage center to get output from each Docker container.