Back to Influxdb

influxd-ctl remove-shard

content/enterprise_influxdb/v1/tools/influxd-ctl/remove-shard.md

latest645 B
Original Source

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

{{% warn %}}

This command is destructive

Removing a shard from a data node is a destructive action and cannot be undone. {{% /warn %}}

Usage

sh
influxd-ctl remove-shard <data-bind-address> <shard-id>

Arguments

  • data-bind-address: TCP bind address of the data node to remove the shard from
  • shard-id: Shard ID to remove

Flags

See influxd-ctl global flags.

Examples

sh
influxd-ctl remove-shard data-node-01:8088 31