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
Procedure
-
Passing in configuration parameters during container start up.
- 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.
- 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.
- Configure your Transaction, Store, and Search Docker containers to start with the configuration
parameters OVERRIDE_PRECONFIG=true and
HEALTH_CENTER_ENABLED=true.
-
Set JVM arguments to enable Health Center.
- 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
- For more information about these arguments, see Health Center Configuration Properties.
- For more information about the custConfiguration.sh script, see Customizing Docker start up flow.
- 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.
- 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.