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
Copy file name to clipboardExpand all lines: modules/ROOT/pages/clustering/disaster-recovery.adoc
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -98,7 +98,7 @@ Either:
98
98
... Add completely new servers (see xref:clustering/servers.adoc#cluster-add-server[Add a server to the cluster]) or
99
99
... Change the `system` database mode (`server.cluster.system_database_mode`) on the current `system` database's secondary servers to allow them to be primaries for the new `system` database.
100
100
.. On each server, run `bin/neo4j-admin database load system --from-path=[path-to-dump] --overwrite-destination=true` to load the current `system` database dump.
101
-
.. Ensure that `dbms.cluster.discovery.endpoints` are set correctly on all servers, see xref:clustering/setup/discovery.adoc[Cluster server discovery] for more information.
101
+
.. Ensure that `dbms.cluster.endpoints` are set correctly on all servers, see xref:clustering/setup/discovery.adoc[Cluster server discovery] for more information.
Copy file name to clipboardExpand all lines: modules/ROOT/pages/clustering/settings.adoc
+7-46Lines changed: 7 additions & 46 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,62 +45,28 @@ Possible values are:
45
45
46
46
[.compact]
47
47
`LIST`::
48
-
Treats `dbms.cluster.discovery.endpoints` (or `dbms.cluster.discovery.v2.endpoints`, if you use discovery service v2 available as of Neo4j 5.23) as a list of addresses of servers to contact for discovery.
48
+
Treats `dbms.cluster.endpoints` as a list of addresses of servers to contact for discovery.
49
49
`DNS`::
50
-
Treats `dbms.cluster.discovery.endpoints` (or `dbms.cluster.discovery.v2.endpoints`, if you use discovery service v2 available as of Neo4j 5.23) as a domain name to resolve via DNS.
51
-
Expect DNS resolution to provide A records with hostnames or IP addresses of servers to contact for discovery, on the port specified by `dbms.cluster.discovery.endpoints`.
50
+
Treats `dbms.cluster.endpoints` as a domain name to resolve via DNS.
51
+
Expect DNS resolution to provide A records with hostnames or IP addresses of servers to contact for discovery, on the port specified by `dbms.cluster.endpoints`.
52
52
`SRV`::
53
-
Treats `dbms.cluster.discovery.endpoints` (or `dbms.cluster.discovery.v2.endpoints`, if you use discovery service v2 available as of Neo4j 5.23) as a domain name to resolve via DNS.
53
+
Treats `dbms.cluster.endpoints` as a domain name to resolve via DNS.
54
54
Expect DNS resolution to provide SRV records with hostnames or IP addresses and ports, of servers to contact for discovery.
55
55
`K8S`::
56
56
Accesses the Kubernetes list service API to derive addresses of servers to contact for discovery.
57
57
Requires `dbms.kubernetes.label_selector` to be a Kubernetes label selector for Kubernetes services running a server each and `dbms.kubernetes.service_port_name` to be a service port name identifying the discovery port of cluster servers services.
58
-
The value of `dbms.cluster.discovery.endpoints` (or `dbms.cluster.discovery.v2.endpoints`, if you use discovery service v2 available as of Neo4j 5.23) is ignored for this option.
58
+
The value of `dbms.cluster.endpoints` is ignored for this option.
59
59
For more details, see xref:clustering/setup/discovery.adoc#clustering-discovery-k8s[Discovery in Kubernetes].
60
60
61
-
From Neo4j 5.23, depending on which version of the discovery service you are using, you need to set either `dbms.cluster.discovery.endpoints` or `dbms.cluster.discovery.v2.endpoints` in the _neo4j.conf_ file.
61
+
You need to set `dbms.cluster.endpoints` in the _neo4j.conf_ file.
62
62
Detailed information about discovery and discovery configuration options is given in xref:clustering/setup/discovery.adoc#clustering-discovery-methods[Methods for server discovery].
63
63
64
-
| xref:configuration/configuration-settings.adoc#config_dbms.cluster.discovery.endpoints[`dbms.cluster.discovery.endpoints`] label:deprecated[Deprecated in 5.23]
65
-
| One or more network addresses used to discover other servers in the cluster.
66
-
The exact method by which endpoints are resolved to other cluster members is determined by the value of `dbms.cluster.discovery.resolver_type`.
67
-
In the default case, the initial discovery members are given as a comma-separated list of address/port pairs, and the default port for the discovery service is `:5000`.
68
-
69
-
It is good practice to set this parameter to the same value on all servers in the cluster.
70
-
71
-
**Example:**`dbms.cluster.discovery.resolver_type=LIST` combined with `server01.example.com:5000,server02.example.com:5000,server03.example.com:5000` attempt to reach Neo4j instances listening on _server01.example.com_, _server02.example.com_ and _server03.example.com_; all on port `5000`.
72
-
73
-
|xref:configuration/configuration-settings.adoc#config_dbms.cluster.discovery.v2.endpoints[`dbms.cluster.discovery.v2.endpoints`] label:new[Introduced in 5.22]
|A comma-separated list of endpoints that a server should contact in order to discover other cluster members.
75
66
Typically, all cluster members, including the current server, must be specified in this list.
76
-
The setting configures the endpoints for discovery service v2.
77
67
78
68
**Example:**`dbms.cluster.discovery.resolver_type=LIST` combined with `server01.example.com:6000,server02.example.com:6000,server03.example.com:6000` attempt to reach Neo4j instances listening on _server01.example.com_, _server02.example.com_ and _server03.example.com_; all on port `6000`.
79
69
80
-
|xref:configuration/configuration-settings.adoc#config_dbms.cluster.discovery.version[`dbms.cluster.discovery.version`] label:new[Introduced in 5.22]
81
-
|This setting allows you to select which discovery service should be started.
82
-
Possible values are:
83
-
84
-
* V1_ONLY -— it runs only discovery service v1.
85
-
86
-
* V1_OVER_V2 -— it runs both discovery service v1 and discovery service v2, where v1 is the main service and v2 runs in the background.
87
-
88
-
* V2_OVER_V1 -— it runs both discovery service v1 and discovery service v2, where v2 is the main service and v1 runs in the background.
89
-
90
-
* V2_ONLY -- it runs only discovery service v2.
91
-
92
-
The default value is `V1_ONLY`.
93
-
94
-
Discovery services v1 and v2 are designed to run in parallel.
95
-
They are completely independent of each other, thus allowing you to keep the cluster functioning while switching over from v1 to v2.
96
-
For details on how to move from discovery service v1 to v2, see xref:clustering/setup/discovery.adoc#clustering-discovery-v1-to-v2[Moving from discovery service v1 to v2].
97
-
98
-
| xref:configuration/configuration-settings.adoc#config_server.discovery.advertised_address[`server.discovery.advertised_address`] label:deprecated[Deprecated in 5.23]
99
-
| The address/port setting that specifies where the instance advertises that it listens for discovery protocol messages from other members of the cluster.
100
-
If this server is included in the `discovery.endpoints` of other cluster members, the value there must **exactly** match this advertised address.
101
-
102
-
**Example:**`server.discovery.advertised_address=192.168.33.21:5001` indicates that other cluster members can communicate with this server using the discovery protocol at host `192.168.33.20` and port `5001`.
| The address/port setting that specifies where the Neo4j server advertises to other members of the cluster that it listens for Raft messages within the cluster.
106
72
@@ -111,11 +77,6 @@ If this server is included in the `discovery.endpoints` of other cluster members
111
77
112
78
**Example:**`causal_clustering.transaction_advertised_address=192.168.33.20:6001` listens for transactions from cluster members on the network interface bound to `192.168.33.20` on port `6001`.
113
79
114
-
| xref:configuration/configuration-settings.adoc#config_server.discovery.listen_address[`server.discovery.listen_address`] label:deprecated[Deprecated in 5.23]
115
-
| The address/port setting that specifies which network interface and port the Neo4j instance binds to for the cluster discovery protocol.
116
-
117
-
**Example:**`server.discovery.listen_address=0.0.0.0:5001` listens for cluster membership communication on any network interface at port `5001`.
| The address/port setting that specifies which network interface and port the Neo4j instance binds to for cluster communication.
121
82
This setting must be set in coordination with the address this instance advertises it listens at in the setting `server.cluster.raft.advertised_address`.
0 commit comments