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

1.9 KiB

title description menu weight related
influxd-ctl add-data The `influxd-ctl add-data` command adds a data node to an InfluxDB Enterprise cluster.
enterprise_influxdb_v1
parent
influxd-ctl
201
/enterprise_influxdb/v1/introduction/installation/data_node_installation/

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

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

Flag Description
-p Add the data node as a passive node

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

Examples

Add a data node to a cluster

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

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

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

Add a passive data node to a cluster

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