docker-pre-start-config

Description Examples Arguments

Description

Apply configuration needed before starting the server in a docker environment. This includes setting the license and applying configuration dependent on the amount of memory available to the server. This tool does not make changes to the server's java.properties file. The dsjavaproperties tool should be used to update java.properties if necessary.

Examples

Set the server's license to the license stored in the PingDirectory.lic file:

docker-pre-start-config docker-pre-start-config \
     --licenseKeyFile PingDirectory.lic

Set the server's license to the license stored in the PingDirectory.lic file, and update other configuration based on the provided max heap size and JVM tuning for the server:

docker-pre-start-config docker-pre-start-config \
     --licenseKeyFile PingDirectory.lic --maxHeapSize 2g \
     --jvmTuningParameter AGGRESSIVE

Arguments

-V
--version

Description Display Directory Server version information

-H
--help

Description Display general usage information

--help-debug

Description Display help for using debug options
Advanced Yes

--licenseKeyFile {path}

Description The PingDirectory license key file authorizing use of this product. The license file may be specified by this argument or copied to /home/centos/workspace/Core-Release-Pipeline/build/package/PingDirectory/PingDirectory.lic in which case it will be imported automatically
Required Yes
Multi-Valued No

--jvmTuningParameter {value}

Description JVM tuning parameters to use when updating or generating the java.properties file. Must be one of NONE, AGGRESSIVE, SEMI_AGGRESSIVE
Required No
Multi-Valued No

--maxHeapSize {value}

Description Explicitly specify the maximum amount of memory to be configured for this system. If omitted the value will be computed based on the presence of either the AGGRESSIVE or SEMI_AGGRESSIVE parameter specified by the jvmTuningParameter option. Providing a value that is below a tool's minimum heap size requirement will have no effect, i.e. the tool's minimum required heap size will be used instead. The format for this value is the same as the -Xmx JVM option which is a number followed by a unit m or g
Required No
Multi-Valued No