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, a standalone server named `server01` is running and two additional servers, `server02` and `server03`, are to be added to form a cluster.
20
25
The two additional servers are configured according to xref:clustering/setup/deploy.adoc#cluster-example-configure-a-three-primary-cluster[Configure a cluster with three servers] and are _not_ running.
21
26
Neo4j Enterprise Edition is installed on all three servers.
@@ -73,5 +78,79 @@ The last step is to enable the `Free` servers using `ENABLE SERVER` (see xref:cl
73
78
74
79
Once all servers are enabled, you can scale up user databases using xref:clustering/databases.adoc#alter-topology[`ALTER DATABASE`], if desired.
In this example, a standalone server named `server01` is running and two additional servers, `server02` and `server03`, are to be added to form a cluster.
86
+
The two additional servers are configured according to xref:clustering/setup/deploy.adoc#cluster-example-configure-a-three-primary-cluster[Configure a cluster with three servers] and are _not_ running.
87
+
Neo4j Enterprise Edition is installed on all three servers.
88
+
89
+
Start by stopping the standalone server.
90
+
Once it is stopped, edit the xref:configuration/file-locations.adoc[_neo4j.conf_] file to include the discovery endpoints of itself and the servers that will form the cluster.
91
+
92
+
Starting with Neo4j 5.23, it is recommended to use v2 of the discovery service.
93
+
For more details on discovery services, see xref:clustering/setup/discovery.adoc[].
94
+
95
+
To use the discovery service v2:
96
+
97
+
* You have to set the configuration of `dbms.cluster.discovery.version` to `V2_ONLY`.
98
+
* Instead of `dbms.cluster.discovery.endpoints`, use `dbms.cluster.discovery.v2.endpoints`.
99
+
100
+
The example below uses `dbms.cluster.discovery.resolver_type=LIST`.
(The xref:configuration/file-locations.adoc[_neo4j.conf_] file looks identical except for the `server.default_advertised_address` on all three servers. Please refer to xref:clustering/setup/deploy.adoc#cluster-example-configure-a-three-primary-cluster[Configure a cluster with three servers] for more information.)
112
+
113
+
On `server01` (the standalone server) dump the `system` database using the `neo4j-admin database dump` command.
114
+
115
+
[source, shell, role="nocopy"]
116
+
----
117
+
bin/neo4j-admin database dump system --to-path=/full/path/to/dumps/
118
+
----
119
+
See xref:backup-restore/offline-backup.adoc[] for more information on the dump command.
120
+
121
+
Use the `neo4j-admin database load` command to load the `system` database dump from `server01` to `server02` and `server03`.
122
+
123
+
[source,shell, role="nocopy"]
124
+
----
125
+
bin/neo4j-admin database load --from-path=/full-path/data/dumps system
126
+
----
127
+
See xref:backup-restore/restore-dump.adoc[] for more information on the load command.
128
+
129
+
Once the `system` database has been loaded on `server02` and `server03`, start all servers.
130
+
The newly added servers should be in the `Free` state (`server02` and `server03`) and this can be verified using `SHOW SERVERS`.
0 commit comments