Setting system properties during startup
Use the system property (-D
) switch to modify the DataStax Enterprise (DSE) settings during start up.
To automatically pass the settings each time DSE starts, uncomment or add the switch to the jvm-server.options
file.
Depending upon the JVM you are using, switches may be located in either |
Metrics collection is enabled by default.
To disable metrics collection, set |
Synopsis
Change the start up parameters using the following syntax:
-
Command line:
dse cassandra -D<parameter_name>=<value>
-
jvm-server.options
,jvm8-server.options
, orjvm11-server.options
file:-D<parameter_name>=<value>
-
cassandra-env.sh
file: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:
dse cassandra -Dcassandra.join_ring=false
-
jvm.options:
-Dcassandra.join_ring=false
Replacing a dead node:
-
Command line:
dse cassandra -Dcassandra.replace_address=10.91.176.160
-
jvm.options:
-Dcassandra.replace_address=10.91.176.160
Disabling DSE metrics collection:
-
Command line:
// adoc partial file for content from ToolsWH.dita // <section conkeyref="ToolsWH/cstressDefinition"/> dse cassandra -Dinsights.default_mode=disabled
-
jvm-server.options:
-Dinsights.default_mode=disabled
Changing LDAP authentication retry interval from its default of 10 ms:
-
Command line:
dse -Ddse.ldap.retry_interval.ms=20
-
jvm.options:
-Ddse.ldap.retry_interval.ms=20
- Cassandra system properties
-
Change DataStax Enterprise database native Cassandra system properties at startup.
- Java Management Extension system properties
-
Change Java Management Extension system properties of the DataStax Enterprise database.
- Search system properties
-
DataStax Enterprise Search system properties.
- Threads per core system properties
-
Tune TPC using the Netty system parameters.
- LDAP system properties for DataStax Enterprise Authentication
-
Change LDAP system properties.
- Kerberos system properties
-
Change Kerberos system properties.
- NodeSync system parameters
-
Tune NodeSync by setting the system properties at startup.
- DSE Metrics Collector properties
-
Change DSE Metrics Collector JVM properties at startup.