The starctl command
Starting Stargate using starctl
starctl v2.0
starctl v2.0
The starctl
command controls and configures Stargate nodes.
The command starts the coordinator service.
The starctl
command includes most of the options that pertained to the starctl
command in Stargate v1.0, plus new options.
The command can be run:
starctl --cluster-name stargate \
--cluster-seed 127.0.0.1 \
--cluster-version 3.11 \
--listen 127.0.0.2 \
--simple-snitch
and the options are passed to the starctl
command.
The following tables detail the options available for each service.
Option | Environment Variable | Default | Description | Example |
---|---|---|---|---|
|
|
Name of database cluster. |
|
|
|
|
The IP address of the seed node of the cluster. |
|
|
|
|
The major version of the database cluster. |
|
|
|
|
127.0.0.1 |
IP address Stargate services should listen on. This options value must match the regular expression
|
|
|
|
7000 |
Port that seed nodes are listening on. This options value represents a port and must fall in one of the following port ranges: 0, 1024-49151, 49152-65535 |
|
|
|
Datacenter name of this node. This must match the database backend. |
|
|
|
|
Rack name of this node. This must match the database backend. |
|
|
|
|
unset, or false |
Set this option if the backend cluster uses |
|
|
|
unset, or false |
Set if the backend is DSE. Do not set this option if the backend is Cassandra. |
|
|
|
9042 |
Port on which the CQL API service listens. This options value represents a port and must fall in one of the following port ranges: 0, 1024-49151, 49152-65535 |
|
|
|
unset, or false |
Set to enable |
|
|
|
unset, or false |
Use proxy protocol to determine the public address and port of CQL requests. |
|
|
|
Use proxy DNS name to determine the public DNS name for CQL requests. |
|
|
|
|
Use proxy port to determine the public port of CQL requests. |
|
|
|
|
unset, or false |
Enables developer mode, where the Stargate node behaves as a regular Cassandra node, joining the ring with tokens assigned in order to facilitate getting started quickly and not requiring additional nodes or an existing cluster. |
|
|
|
unset, or false |
If set bind the web services to the listen address only. |
|
|
|
unset, or false |
If set bind the web services to the listen address only. |
|
|
|
Port to which JMX is bound |
|
|
|
|
unset, or false |
If set disable the dynamic snitch |
|
|
|
unset, or false |
If set disable MBean registration |
|
|
|
unset, or false |
If set disable bundles watch |
|
|
|
Sets the Host ID |
|
starctl v1.0
starctl v1.0
The starctl
command controls and configures Stargate nodes.
starctl --cluster-name stargate \
--cluster-seed 127.0.0.1 \
--cluster-version 3.11 \
--listen 127.0.0.2 \
--simple-snitch
When Stargate is launched on a host as shown above, it will connect only to Cassandra clusters accessible on the host’s network. To run Stargate in a containerized environment, see the Installing Stargate with an existing Cassandra cluster documentation. |
Option | Environment Variable | Default | Description | Example |
---|---|---|---|---|
|
|
Name of database cluster. |
|
|
|
|
The IP address of the seed node of the cluster. |
|
|
|
|
The major version of the database cluster. |
|
|
|
|
127.0.0.1 |
IP address Stargate services should listen on. This options value must match the regular expression
|
|
|
|
7000 |
Port that seed nodes are listening on. This options value represents a port and must fall in one of the following port ranges: 0, 1024-49151, 49152-65535 |
|
|
|
Datacenter name of this node. This must match the database backend. |
|
|
|
|
Rack name of this node. This must match the database backend. |
|
|
|
|
unset, or false |
Set this option if the backend cluster uses |
|
|
|
unset, or false |
Set if the backend is DSE. Do not set this option if the backend is Cassandra. |
|
|
|
9042 |
Port on which the CQL API service listens. This options value represents a port and must fall in one of the following port ranges: 0, 1024-49151, 49152-65535 |
|
|
|
unset, or false |
Set to enable |
|
|
|
unset, or false |
Use proxy protocol to determine the public address and port of CQL requests. |
|
|
|
unset, or false |
Enables developer mode, where the Stargate node behaves as a regular Cassandra node, joining the ring with tokens assigned in order to facilitate getting started quickly and not requiring additional nodes or an existing cluster. |
|
|
|
unset, or false |
If set bind the web services to the listen address only. |
|