Set system properties during startup
Use the system property (-D) switch to modify the Hyper-Converged Database (HCD) settings during start up.
To automatically pass the settings each time HCD starts, uncomment or add the switch to the jvm-server.options file.
|
Hyper-Converged Database (HCD) is built to run on Java 11. The default JVM garbage collector for HCD is G1 GC.
Configure GC options in the |
Synopsis
Change the start up parameters using the following syntax:
-
Command line:
hcd cassandra -D<parameter_name>=<value> -
jvm-server.optionsfile:-D<parameter_name>=<value> -
cassandra-env.shfile:JVM_OPTS="$JVM_OPTS -D<parameter_name>=<value>"
|
Only pass the parameter to the start-up operation once.
If the same switch is passed to the start operation multiple times, for example from both the |
Startup examples
Starting a node without joining the ring:
-
Command line:
hcd cassandra -Dcassandra.join_ring=false -
jvm-server.optionsfile:-Dcassandra.join_ring=false
Replacing a dead node:
-
Command line:
hcd cassandra -Dcassandra.replace_address=10.91.176.160 -
jvm-server.optionsfile:-Dcassandra.replace_address=10.91.176.160
- Apache Cassandra® system properties
-
Change HCD database native Cassandra system properties at startup.
- Java Management Extension system properties
-
Change Java Management Extension system properties of the HCD database.
Supported JVM server options
For a complete reference of all supported JVM server options properties, see JVM server options reference.