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
Remove problematic part from unbind docs (#2570) (#2572)
Since 5.0 you cannot use `unbind` to turn a cluster member into a
standalone server.
---------
---------
Co-authored-by: Balazs Lendvai <[email protected]>
Copy file name to clipboardExpand all lines: modules/ROOT/pages/tools/neo4j-admin/unbind.adoc
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,11 @@ Therefore, it is strongly recommended to consult with Neo4j Support before using
14
14
15
15
In Neo4j 5.x, use the `unbind` command only when troubleshooting **a specific server** and remember there is no guarantee that the allocator will reassign the same databases to this server, potentially resulting in orphaned database stores.
16
16
17
-
The `unbind` command preserves all database stores on the server; and when the unbound server is restarted and enabled, it is seen as an entirely new server.
17
+
The `unbind` command preserves all database stores on the server; and when the unbound server is restarted, it is seen as an entirely new server.
18
+
Therefore, it will not host any of the databases it hosted before the operation.
19
+
20
+
In Neo4j 5.x, the `unbind` command cannot be used to convert a cluster member into a standalone server.
21
+
Instead, it is recommended to take backups, create the standalone server, and then use those backups to restore the databases.
18
22
====
19
23
20
24
[[unbind-command-syntax]]
@@ -81,10 +85,6 @@ You can use the `neo4j-admin server unbind` command to remove the cluster state
81
85
To remove the cluster state of a server, run the `neo4j-admin server unbind` command from the _<NEO4J_HOME>_ folder of that server.
82
86
When restarted, an unbound server rejoins the cluster as a new server and has to be enabled using the `ENABLE SERVER` command.
83
87
84
-
=== Turn a cluster member into a standalone server
85
-
86
-
To start the Neo4j server in single (standalone) mode after unbinding it from the cluster, verify that xref:configuration/configuration-settings.adoc#config_initial.server.mode_constraint[`initial.server.mode_constraint`] is set to `NONE` in xref:configuration/neo4j-conf.adoc[The neo4j.conf file].
87
-
88
88
=== Archive cluster state
89
89
90
90
If something goes wrong and debugging is needed, you can archive the cluster state, from the _<NEO4J_HOME>_ folder, run the `neo4j-admin server unbind` command with the arguments `--archive-cluster-state=true` and `--archive-path=<destination-folder>`:
0 commit comments