docs-v2/content/enterprise_influxdb/v1/tools/influxd-ctl/remove-data.md

1.5 KiB

title description menu weight related
influxd-ctl remove-data The `influxd-ctl remove-data` command removes a data node from an InfluxDB Enterprise cluster.
enterprise_influxdb_v1
parent
influxd-ctl
201
/enterprise_influxdb/v1/tools/influxd-ctl/leave/

The influxd-ctl remove-data command removes a data node from an InfluxDB Enterprise cluster.

{{% warn %}}

This command is destructive

influxd-ctl remove-data erases all data in the specified data node. Only use this command if you want to permanently remove a data node from your InfluxDB Enterprise cluster. {{% /warn %}}

This command doesn't delete metadata related to the removed data node from other nodes in the cluster. To remove all metadata about the removed data node, use influxd-ctl leave.

Usage

influxd-ctl remove-data [flags] <data-bind-address>

Arguments

  • data-bind-address: TCP bind address of the data node to remove (host:port)

Flags

Flag Description
-force Force the removal of a data node (useful if the node is unresponsive)

{{% caption %}} Also see influxd-ctl global flags. {{% /caption %}}

Examples

influxd-ctl remove-data data-node-03:8088