You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this example, three servers named `server01.example.com`, `server02.example.com` and `server03.example.com` are configured as the transactional part of the cluster.
22
30
Two more servers names `server04.example.com` and `server05.example.com` are configured for the analytical queries.
@@ -25,8 +33,9 @@ They are configured by preparing xref:configuration/file-locations.adoc[_neo4j.c
25
33
26
34
Key points:
27
35
28
-
* All servers include _all_ members in their discovery list
36
+
* All servers include _all_ members in their discovery list.
29
37
* The servers for analytics have mode constraints configured that restrict their hosting mode to _secondary_ to prevent them from participating in normal write operations.
38
+
* In the example below, you set `dbms.cluster.discovery.resolver_type=LIST`.
In this example, three servers named `server01.example.com`, `server02.example.com` and `server03.example.com` are configured as the transactional part of the cluster.
132
+
Two more servers names `server04.example.com` and `server05.example.com` are configured for the analytical queries.
133
+
Neo4j Enterprise Edition is installed on all five servers.
134
+
They are configured by preparing xref:configuration/file-locations.adoc[_neo4j.conf_] on each server.
135
+
136
+
Key points:
137
+
138
+
* All servers include _all_ members in their discovery list.
139
+
* The servers for analytics have mode constraints configured that restrict their hosting mode to _secondary_ to prevent them from participating in normal write operations.
140
+
* In the example below, you set `dbms.cluster.discovery.resolver_type=LIST`.
141
+
142
+
To use the discovery service v2:
143
+
144
+
* You have to set the configuration of `dbms.cluster.discovery.version` to `V2_ONLY`.
145
+
* Instead of `dbms.cluster.discovery.endpoints`, use `dbms.cluster.discovery.v2.endpoints`.
In this example, three servers named `server01.example.com`, `server02.example.com` and `server03.example.com` are configured.
159
287
Neo4j Enterprise Edition is installed on all three servers.
@@ -167,6 +295,7 @@ Key points:
167
295
This means it does not seek out the other members when it starts, they have to discover it.
168
296
This is required in order to have a cluster with only a single primary for the `system` database.
169
297
* The servers for analytics have mode constraints configured that restrict their hosting mode to _secondary_ to prevent them from participating in normal write operations.
298
+
* In the example below, you set `dbms.cluster.discovery.resolver_type=LIST`.
170
299
171
300
172
301
._neo4j.conf_ on server01.example.com - the writer:
In this example, three servers named `server01.example.com`, `server02.example.com` and `server03.example.com` are configured.
374
+
Neo4j Enterprise Edition is installed on all three servers.
375
+
They are configured by preparing xref:configuration/file-locations.adoc[_neo4j.conf_] on each server.
376
+
Note that `server01.example.com` is different from the others, and is the only server where write operations take place.
377
+
The other servers are able to execute read queries, and if using GDS, to write results back to the writing server.
378
+
379
+
Key points:
380
+
381
+
* The writer server only has itself in the list of discovery.
382
+
This means it does not seek out the other members when it starts, they have to discover it.
383
+
This is required in order to have a cluster with only a single primary for the `system` database.
384
+
* The servers for analytics have mode constraints configured that restrict their hosting mode to _secondary_ to prevent them from participating in normal write operations.
385
+
* In the example below, you set `dbms.cluster.discovery.resolver_type=LIST`.
386
+
387
+
To use the discovery service v2:
388
+
389
+
* You have to set the configuration of `dbms.cluster.discovery.version` to `V2_ONLY`.
390
+
* Instead of `dbms.cluster.discovery.endpoints`, use `dbms.cluster.discovery.v2.endpoints`.
391
+
392
+
._neo4j.conf_ on server01.example.com - the writer:
0 commit comments