@@ -7,49 +7,88 @@ description: >
7
7
menu :
8
8
influxdb3_enterprise :
9
9
name : Create a multi-node cluster
10
- parent : Install InfluxDB 3 Enterprise
11
- weight : 101
10
+ parent : Get started
11
+ identifier : gs-multi-node-cluster
12
+ weight : 102
12
13
influxdb3/enterprise/tags : [cluster, multi-node, multi-server]
13
14
---
14
15
15
- {{% product-name %}} supports flexible, multi-node configurations for high
16
- availability, performance, read replicas, and more to meet the specific needs
17
- of your use case.
18
- The {{% product-name %}} server can run in different _ modes_ fulfil specific roles
19
- in your multi-node cluster.
20
- With the diskless architecture, all nodes in the cluster share the same common
21
- object store.
16
+ Create a multi-node {{% product-name %}} cluster for high availability, performance, and workload isolation.
17
+ Configure nodes with specific _ modes_ (ingest, query, process, compact) to optimize for your use case.
18
+
19
+ ## Prerequisites
20
+
21
+ - Shared object store
22
+ - Network connectivity between nodes
23
+
24
+ ## Basic multi-node setup
25
+
26
+ <!-- pytest.mark.skip -->
27
+ ``` bash
28
+ # # NODE 1 compacts stored data
29
+
30
+ # Example variables
31
+ # node-id: 'host01'
32
+ # cluster-id: 'cluster01'
33
+ # bucket: 'influxdb-3-enterprise-storage'
34
+
35
+ influxdb3 serve \
36
+ --node-id host01 \
37
+ --cluster-id cluster01 \
38
+ --mode ingest,query,compact \
39
+ --object-store s3 \
40
+ --bucket influxdb-3-enterprise-storage \
41
+ --http-bind {{< influxdb/host > }} \
42
+ --aws-access-key-id < AWS_ACCESS_KEY_ID> \
43
+ --aws-secret-access-key < AWS_SECRET_ACCESS_KEY>
44
+ ```
45
+
46
+ <!-- pytest.mark.skip -->
47
+ ``` bash
48
+ # # NODE 2 handles writes and queries
49
+
50
+ # Example variables
51
+ # node-id: 'host02'
52
+ # cluster-id: 'cluster01'
53
+ # bucket: 'influxdb-3-enterprise-storage'
54
+
55
+ influxdb3 serve \
56
+ --node-id host02 \
57
+ --cluster-id cluster01 \
58
+ --mode ingest,query \
59
+ --object-store s3 \
60
+ --bucket influxdb-3-enterprise-storage \
61
+ --http-bind localhost:8282 \
62
+ --aws-access-key-id AWS_ACCESS_KEY_ID \
63
+ --aws-secret-access-key AWS_SECRET_ACCESS_KEY
64
+ ```
65
+
66
+ Learn how to set up a multi-node cluster for different use cases, including high availability, read replicas, processing data, and workload isolation.
22
67
23
68
- [ Create an object store] ( #create-an-object-store )
24
69
- [ Connect to your object store] ( #connect-to-your-object-store )
25
70
- [ Server modes] ( #server-modes )
26
- - [ Server mode examples] ( #server-mode-examples )
27
- - [ Configure a node to only handle write requests] ( #configure-a-node-to-only-handle-write-requests )
28
- - [ Configure a node to only run the Compactor] ( #configure-a-node-to-only-run-the-compactor )
29
- - [ Configure a handle query requests and run the processing engine] ( #configure-a-handle-query-requests-and-run-the-processing-engine )
30
- - [ InfluxDB 3 Enterprise cluster configuration examples] ( #influxdb-3-enterprise-cluster-configuration-examples )
31
- - [ High availability cluster] ( #high-availability-cluster )
32
- - [ High availability with a dedicated Compactor] ( #high-availability-with-a-dedicated-compactor )
33
- - [ High availability with read replicas and a dedicated Compactor] ( #high-availability-with-read-replicas-and-a-dedicated-compactor )
71
+ - [ Cluster configuration examples] ( #cluster-configuration-examples )
34
72
- [ Writing and querying in multi-node clusters] ( #writing-and-querying-in-multi-node-clusters )
35
73
36
74
## Create an object store
37
75
38
- To run a mulit-node {{% product-name %}} cluster, nodes must connect to a
39
- common object store. Enterprise supports the following object stores:
76
+ With the {{% product-name %}} diskless architecture, all data is stored in a common object store.
77
+ In a multi-node cluster, you connect all nodes to the same object store.
78
+
79
+ Enterprise supports the following object stores:
40
80
41
81
- AWS S3 (or S3-compatible)
42
82
- Azure Blob Storage
43
83
- Google Cloud Storage
44
84
45
85
> [ !Note]
46
- > Refer to your object storage provider's documentation for information about
86
+ > Refer to your object storage provider's documentation for
47
87
> setting up an object store.
48
88
49
89
## Connect to your object store
50
90
51
- Depending on your object storage provider, connect nodes in your cluster to the
52
- object store by including provider-specific options when starting each node.
91
+ When starting your {{% product-name %}} node, include provider-specific options for connecting to your object store--for example:
53
92
54
93
{{< tabs-wrapper >}}
55
94
{{% tabs %}}
@@ -73,7 +112,7 @@ with your `influxdb3 serve` command:
73
112
{{% code-placeholders "AWS_ (BUCKET_NAME|ACCESS_KEY_ID|SECRET_ACCESS_KEY)" %}}
74
113
<!-- pytest.mark.skip -->
75
114
``` bash
76
- influxdb3 server \
115
+ influxdb3 serve \
77
116
# ...
78
117
--object-store s3 \
79
118
--bucket AWS_BUCKET_NAME \
@@ -103,7 +142,7 @@ with your `influxdb3 serve` command:
103
142
{{% code-placeholders "AZURE_ (CONTAINER_NAME|STORAGE_ACCOUNT|STORAGE_ACCESS_KEY)" %}}
104
143
<!-- pytest.mark.skip -->
105
144
``` bash
106
- influxdb3 server \
145
+ influxdb3 serve \
107
146
# ...
108
147
--object-store azure \
109
148
--bucket AZURE_CONTAINER_NAME \
@@ -128,7 +167,7 @@ with your `influxdb3 serve` command:
128
167
{{% code-placeholders "GOOGLE_ (BUCKET_NAME|SERVICE_ACCOUNT)" %}}
129
168
<!-- pytest.mark.skip -->
130
169
``` bash
131
- influxdb3 server \
170
+ influxdb3 serve \
132
171
# ...
133
172
--object-store google \
134
173
--bucket GOOGLE_BUCKET_NAME \
@@ -163,31 +202,32 @@ Each node can run in one _or more_ of the following modes:
163
202
#### Configure a node to only handle write requests
164
203
<!-- pytest.mark.skip -->
165
204
``` bash
166
- influxdb3 server \
205
+ influxdb3 serve \
167
206
# ...
168
207
--mode ingest
169
208
```
170
209
171
210
#### Configure a node to only run the Compactor
172
211
<!-- pytest.mark.skip -->
173
212
``` bash
174
- influxdb3 server \
213
+ influxdb3 serve \
175
214
# ...
176
215
--mode compact
177
216
```
178
217
179
- #### Configure a handle query requests and run the processing engine
218
+ #### Configure a node to handle queries and run the processing engine
180
219
<!-- pytest.mark.skip -->
181
220
``` bash
182
- influxdb3 server \
221
+ influxdb3 serve \
183
222
# ...
184
223
--mode query,process
185
224
```
186
225
226
+ ## Cluster configuration examples
187
227
188
- ## {{% product-name %}} cluster configuration examples
189
-
190
- <!-- Placeholder for links -->
228
+ - [ High availability cluster ] ( #high-availability-cluster )
229
+ - [ High availability with a dedicated Compactor ] ( #high-availability-with-a-dedicated-compactor )
230
+ - [ High availability with read replicas and a dedicated Compactor ] ( #high-availability-with-read-replicas-and-a-dedicated-compactor )
191
231
192
232
### High availability cluster
193
233
@@ -479,3 +519,10 @@ Replace the following placeholders with your values:
479
519
- {{% code-placeholder-key %}}`AUTH_TOKEN`{{% /code-placeholder-key %}}: your {{% token-link "database" %}}{{% show-in "enterprise" %}} with permission to query the specified database{{% /show-in %}}
480
520
- {{% code-placeholder-key %}}`DATABASE_NAME`{{% /code-placeholder-key %}}: the name of the database to query
481
521
- {{% code-placeholder-key %}}`QUERY`{{% /code-placeholder-key %}}: the SQL or InfluxQL query to run against the database
522
+
523
+ {{% page-nav
524
+ prev="/influxdb3/enterprise/get-started/setup/"
525
+ prevText="Set up InfluxDB"
526
+ next="/influxdb3/enterprise/get-started/write/"
527
+ nextText="Write data"
528
+ %}}
0 commit comments