|
5 | 5 |
|
6 | 6 | You can use the `neo4j-admin server unbind` command to remove and archive the cluster state of a cluster server so that it can rebind to a cluster. |
7 | 7 |
|
| 8 | +[WARNING] |
| 9 | +==== |
| 10 | +Due to the new clustering architecture in Neo4j 5.x, the behavior of the `unbind` command has changed significantly compared to Neo4j 4.4. |
| 11 | +
|
| 12 | +Running the `unbind` command on any number of servers may result in the loss of cluster quorum, severely affecting clustering functionality. |
| 13 | +Therefore, it is strongly recommended to consult with Neo4j Support before using the `unbind` command. |
| 14 | +
|
| 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 | +
|
| 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. |
| 18 | +==== |
| 19 | + |
8 | 20 | [[unbind-command-syntax]] |
9 | 21 | == Syntax |
10 | 22 |
|
@@ -69,14 +81,6 @@ You can use the `neo4j-admin server unbind` command to remove the cluster state |
69 | 81 | To remove the cluster state of a server, run the `neo4j-admin server unbind` command from the _<NEO4J_HOME>_ folder of that server. |
70 | 82 | When restarted, an unbound server rejoins the cluster as a new server and has to be enabled using the `ENABLE SERVER` command. |
71 | 83 |
|
72 | | -[WARNING] |
73 | | -==== |
74 | | -Note that the `unbind` command preserves all database stores on the server. |
75 | | -When the unbound server is restarted and enabled, it is seen as an entirely new server. |
76 | | -Therefore, there is no guarantee that the allocator will pick this server to host the same databases. |
77 | | -This may lead to having orphaned database stores on this server. |
78 | | -==== |
79 | | - |
80 | 84 | === Turn a cluster member into a standalone server |
81 | 85 |
|
82 | 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]. |
|
0 commit comments