Back to Influxdb

influxd-ctl add-data

content/enterprise_influxdb/v1/tools/influxd-ctl/add-data.md

latest1.6 KB
Original Source

The influxd-ctl add-data command adds a data node to an InfluxDB Enterprise cluster.

By default, influxd-ctl adds the specified data node to the local meta node's cluster. Use add-data instead of the join argument when installing a data node an InfluxDB Enterprise cluster.

Usage

sh
influxd-ctl add-data [flags] <tcp-bind-address>

Arguments

  • tcp-bind-address: TCP bind address of the data node to add to the cluster (host:port)

Flags

FlagDescription
-pAdd the data node as a passive node

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

Examples

Add a data node to a cluster

bash
influxd-ctl add-data cluster-data-node-04:8088

Add a data node to a cluster using a remote meta node

bash
influxd-ctl -bind cluster-meta-node-01:8091 add-data cluster-data-node-04:8088

Add a passive data node to a cluster

bash
influxd-ctl add-data -p cluster-data-node-04:8088