Server management command syntaxEnterprise Edition
Servers can be added and managed using a set of Cypher administrative commands executed against the system database.
When connected to the DBMS over bolt, administrative commands are automatically routed to the system database.
Server management command syntax
|
More details about the syntax descriptions can be found on the page Database management command syntax → Reading the administrative commands syntax. |
Enable a server
Command |
|
Syntax |
|
Description |
Adds a server that has been discovered to the cluster. For more information see Enabled state. |
Required privilege |
|
List servers
Command |
|
Syntax |
|
Description |
Lists all servers visible to the cluster. For more information see Listing servers. |
Required privilege |
|
Alter server’s options
Command |
|
Syntax |
|
Description |
Changes the constraints for a server. For more information see Altering server options. |
Required privilege |
|
Rename a server
Command |
|
Syntax |
|
Description |
Changes the name of a server. For more information see Renaming a server. |
Required privilege |
|
Remove a server
Command |
|
Syntax |
|
Description |
Removes a server not hosting any databases from the cluster. For more information see Dropping a server. |
Required privilege |
|
Reallocate databases in a cluster
Command |
|
Syntax |
|
Description |
Re-balances databases among the servers in the cluster. For more information see Hosting databases on added servers. Note that is a cluster-level command, not a server-level command. |
Required privilege |
|
Deallocate databases from a server
Command |
|
Syntax |
|
Description |
Removes all user databases from the given servers. For more information see Deallocating databases from server. |
Required privilege |
|