Non-interactive mode is useful when setting up production or QA servers with specific configuration requirements.

The non-interactive command-line mode requires that all mandatory options be present for each command call. If there are missing or incorrect arguments, the setup tool fails and aborts the process. You must also use a --no-prompt option to suppress interactive output, except for errors, when running in non-interactive mode. Additionally, you must also use the --acceptLicense option and specify the port using the --ldapPort or --ldapsPort option. If neither option is specified, an error message is displayed. To view the license, run the bin/review-license command.

To automatically tune the Java virtual machine (JVM) to use maximum memory, use the --maxHeapSize {memory} option. To preload the database at startup, use the --primeDB option.

To configure a deployment using a truststore, see Installing the Directory Server in Non-Interactive Mode with a Truststore.

To see a description of the available command-line options for the setup tool, use setup --help.