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
@@ -228,7 +232,7 @@ For more information, see <<clustering-discovery-k8s>>.
228
232
In-place rolling reduces fault tolerance temporarily because you are restarting a running server.
229
233
To keep fault-tolerance, you can introduce a fourth server temporarily.
230
234
====
231
-
. Ensure that the new settings are added to the configuration as detailed in the preparation section.
235
+
. Ensure that the new settings are added to the configuration as detailed in the xref:clustering/setup/discovery.adoc#_preparation[preparation] section.
232
236
. Restart server01 with the new setting `dbms.cluster.discovery.version=V1_OVER_V2`.
. Using `bolt://`, connect to servers 1, 2, 3, and run the following procedure.
242
-
It is important to connect via `bolt://` because otherwise the procedure might be routed and executed not on the intended server.
245
+
. Using `bolt://`, connect to the system database of servers 1, 2, 3 and run the following procedure.
243
246
+
244
247
[source,cypher]
245
248
----
246
249
CALL dbms.cluster.showParallelDiscoveryState();
247
250
----
248
251
+
252
+
For example this can be done using via `./cypher-shell -a bolt://localhost:7681 -d system`
253
+
It is important to connect via `bolt://` because otherwise the procedure might be routed and executed not on the intended server.
254
+
+
249
255
They should display "Matching" in the `stateComparison`.
250
256
If they are not, wait and try again.
251
257
+
@@ -267,49 +273,106 @@ Note that `stateComparison` is `N/A` because you do not have v1 to compare state
267
273
268
274
[[discovery-v1-to-v2-new-server]]
269
275
=== New server rolling
276
+
. New server rolling will require 3 currently running servers, and 3 new servers.
277
+
For all the servers, ensure that new settings are added to the configuration as detailed the xref:clustering/setup/discovery.adoc#_preparation[preparation] section.
278
+
+
279
+
As an example, for those using the list resolver, the settings for all the servers should include:
280
+
+
281
+
```
282
+
dbms.cluster.discovery.resolver_type=LIST
270
283
271
-
. Ensure that the new settings are added to the configuration as detailed in the preparation section.
272
-
. Start up three new servers with the setting `dbms.cluster.discovery.version=V1_OVER_V2`
// By using just procedures, the nice thing is that during the user's normal version upgrade, they can also add the new settings required for v2 discovery service.
302
365
// Then, when they are ready to migrate to v2, they can use the procedures and then finally, set the version to 'V2' in the neo4j.conf at the very end - which can just sit there till the next restart
303
366
// so no lighthouse-specific server restarts are required if all is done correctly.
304
367
//Note that the settings detailed above must first be set and the servers restarted to allow the settings to take effect.
305
368
306
-
. Ensure that the new settings are added to the configuration as detailed in the preparation section.
369
+
. Ensure that the new settings are added to the configuration as detailed in the xref:clustering/setup/discovery.adoc#_preparation[preparation] section.
307
370
. Using Cypher Shell, connect to server01 using `bolt://`.
308
371
It is important to connect via `bolt://` because otherwise the procedure might be routed and executed not on the intended server.
0 commit comments