content/shared/influxdb3-cli/stop/node.md
The influxdb3 stop node command marks a node as stopped in the catalog, freeing up the licensed cores it was using for other nodes.
[!Important] This command is designed for cleaning up the catalog after you have already stopped the physical instance. It does not shut down the running process - you must stop the instance first (for example, using
killor stopping the container).
influxdb3 stop node [OPTIONS] --node-id <NODE_ID>
| Option | Description | |
|---|---|---|
--node-id | ({{< req >}}) The node ID to stop | |
--force | Skip confirmation prompt | |
-H | --host | Host URL of the running {{< product-name >}} server (default is http://127.0.0.1:8181) |
--token | Authentication token | |
--tls-ca | Path to a custom TLS certificate authority (for testing or self-signed certificates) | |
--tls-no-verify | Disable TLS certificate verification (Not recommended in production, useful for self-signed certificates) | |
-h | --help | Print help information |
You can use the following environment variables to set command options:
| Environment Variable | Option |
|---|---|
INFLUXDB3_HOST_URL | --host |
INFLUXDB3_AUTH_TOKEN | --token |
INFLUXDB3_TLS_NO_VERIFY | --tls-no-verify |
Use this command when you have forcefully stopped a node instance (for example, using kill -9 or stopping a container) and need to update the catalog to reflect the change.
This frees up the licensed cores from the stopped node so other nodes can use them.
When you run this command:
stopped in the catalog[!Warning] Stop the instance first
This command only updates catalog metadata. Always stop the physical instance before running this command. If the instance is still running, it may cause inconsistencies in the cluster.
In the examples below, replace the following:
NODE_ID{{% /code-placeholder-key %}}:
The node identifier for the stopped instanceAUTH_TOKEN{{% /code-placeholder-key %}}:
Authentication token with sufficient privilegesINFLUXDB_HOST{{% /code-placeholder-key %}}:
Host URL of the running {{< product-name >}} serverThis example shows the typical workflow: first stop the instance, then clean up the catalog.
<!--pytest.mark.skip--># First, stop the physical instance (for example, using kill)
kill -9 <PID>
# Then, clean up the catalog
influxdb3 stop node --node-id NODE_ID
The command prompts for confirmation.
influxdb3 stop node --node-id NODE_ID --force
influxdb3 stop node \
--host INFLUXDB_HOST \
--node-id NODE_ID \
--token AUTH_TOKEN
After stopping a node, verify its status using the influxdb3 show nodes command:
influxdb3 show nodes
The stopped node appears with state: "stopped" in the output.