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
Copy file name to clipboardExpand all lines: modules/ROOT/pages/clustering/setup/discovery.adoc
+29-18Lines changed: 29 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -232,7 +232,7 @@ For more information, see <<clustering-discovery-k8s>>.
232
232
In-place rolling reduces fault tolerance temporarily because you are restarting a running server.
233
233
To keep fault-tolerance, you can introduce a fourth server temporarily.
234
234
====
235
-
. For all the servers, ensure that new settings are added to the configuration as detailed the xref:clustering/setup/discovery.adoc#_preparation[preparation] section.
235
+
. For all the servers, ensure that new settings are added to the configuration as detailed the xref:clustering/setup/discovery.adoc#_preparation[Preparation] section.
236
236
+
237
237
As an example, for those using the list resolver, the settings for all the servers should include:
@@ -292,8 +294,8 @@ Note that `stateComparison` is `N/A` because you do not have v1 to compare state
292
294
293
295
[[discovery-v1-to-v2-new-server]]
294
296
=== New server rolling
295
-
. New server rolling will require 3 currently running servers, and 3 new servers.
296
-
For all the servers, ensure that new settings are added to the configuration as detailed the xref:clustering/setup/discovery.adoc#_preparation[preparation] section.
297
+
The new server rolling requires three running servers and three new servers.
298
+
. For all the servers, ensure that new settings are added to the configuration as detailed the xref:clustering/setup/discovery.adoc#_preparation[Preparation] section.
297
299
+
298
300
As an example, for those using the list resolver, the settings for all the servers should include:
299
301
+
@@ -315,9 +317,10 @@ This can be done using via `./cypher-shell -a bolt://localhost:7685 -d system` f
315
317
CALL dbms.cluster.showParallelDiscoveryState();
316
318
----
317
319
+
318
-
The expected result should show `v2ServerCount` to be 3.
319
-
A stateComparison which is not matching is fine at this point.
320
+
The expected result should display `v2ServerCount` as 3.
321
+
`stateComparison` that does show matching is fine at this point.
. Deallocate, drop, and shut down servers 4, 5, 6. Run `neo4j-admin unbind` on these three servers.
360
+
. Deallocate, drop, and shut down servers 4, 5, and 6.
361
+
. Run `neo4j-admin unbind` on these three servers.
356
362
+
357
-
. Start up servers 4, 5, 6 again, this time with the setting `dbms.cluster.discovery.version=V2_ONLY`.
363
+
. Start up servers 4, 5, and 6, this time with the setting `dbms.cluster.discovery.version=V2_ONLY`.
358
364
+
359
365
image:discovery-service/v2_only.png[]
360
366
. Deallocate, drop, and shut down servers 1, 2, 3.
361
367
+
362
-
. Finally, one final check. Using `bolt://`, connect to the system database of servers 4, 5, 6, and run the following procedure.
368
+
. Finally, using `bolt://`, connect to the system database of servers 4, 5, and 6, and run the following procedure to check the version of the discovery service:
// so no lighthouse-specific server restarts are required if all is done correctly.
386
392
//Note that the settings detailed above must first be set and the servers restarted to allow the settings to take effect.
387
393
388
-
. For all the servers, ensure that new settings are updated to the configuration as detailed the xref:clustering/setup/discovery.adoc#_preparation[preparation] section.
394
+
. For all the servers, ensure that new settings are updated to the configuration as detailed the xref:clustering/setup/discovery.adoc#_preparation[Preparation] section.
389
395
+
390
396
As an example, for those using the list resolver, the settings for all the servers should include:
0 commit comments