Skip to content

Commit c002c53

Browse files
fixed link and added auto-enable of free servers setting (#1128) (#1129)
1 parent efb8099 commit c002c53

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

modules/ROOT/pages/clustering/clustering-advanced/multi-data-center-routing.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Applying the same tag to multiple servers logically groups them together.
5656
Note that servers can have mulitple tags.
5757

5858
Server tags are defined as a key that maps onto a set of servers in a cluster.
59-
Server tags are defined on each server using the `xref:configuration/configuration-settings.adoc#config_server.server.tags[initial.server.tags]` parameter in _neo4j.conf_.
59+
Server tags are defined on each server using the xref:configuration/configuration-settings.adoc#config_server.tags[`initial.server.tags`] parameter in _neo4j.conf_.
6060
Each server in a cluster can be tagged with to zero or more server tags.
6161
Server tags can be altered at runtime via the `ALTER SERVER` command,
6262
see xref:clustering/servers.adoc#alter-server-options[Altering server options] for more details.

modules/ROOT/pages/clustering/servers.adoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,10 +129,14 @@ neo4j@neo4j> ENABLE SERVER '25a7efc7-d063-44b8-bdee-f23357f89f01' OPTIONS
129129
`allowedDatabases` and `deniedDatabases` are collections of database names that filter which databases may be hosted on a server.
130130
The `allowedDatabases` and `deniedDatabases` are mutually exclusive and if both are specified, an error is returned.
131131

132+
Optionally, it is possible to automatically enable free servers by setting the xref:configuration/configuration-settings.adoc#config_initial.dbms.automatically_enable_free_servers[`initial.dbms.automatically_enable_free_servers`] to `true`.
133+
This can be changed after startup using the xref:reference/procedures.adoc#procedure_dbms_cluster_setAutomaticallyEnableFreeServers[`dbms.cluster.setAutomaticallyEnableFreeServers`] procedure.
134+
132135
Server `tags` are used during database allocation and when configuring load balancing and replication policies.
133136
They cannot contain duplicates, so `tags:['eu', 'eu']` will return an error.
134137
Server tags also cannot contain commas.
135138
When altering server tags via cypher, the encoding is done via UTF-8.
139+
136140
[NOTE]
137141
====
138142
`allowedDatabases` and `deniedDatabases` do not affect Composite databases, they are always available everywhere.

modules/ROOT/pages/clustering/settings.adoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ Once enabled, a server's mode constraint can only be changed with `ALTER SERVER
1818
**Example**: a server configured with `initial.server.mode_constraint=SECONDARY` is only allocated databases whose topologies contain 1 or more secondary.
1919
This server always only hosts those databases in `SECONDARY` mode.
2020

21+
| xref:configuration/configuration-settings.adoc#config_initial.dbms.automatically_enable_free_servers[`initial.dbms.automatically_enable_free_servers`]
22+
| This setting allows for auto-enable of servers in the `FREE` state.
23+
After startup, it can be changed with the xref:reference/procedures.adoc#procedure_dbms_cluster_setAutomaticallyEnableFreeServers[`dbms.cluster.setAutomaticallyEnableFreeServers`] procedure.
24+
2125
| xref:configuration/configuration-settings.adoc#config_server.cluster.system_database_mode[`server.cluster.system_database_mode`]
2226
| Every cluster member hosts the `system` database.
2327
This config controls what mode a given instance hosts the `system` database in: `PRIMARY` or `SECONDARY`.

0 commit comments

Comments
 (0)