This is an automated email from the ASF dual-hosted git repository.
dmagda pushed a commit to branch ignite-2.9-docs
in repository https://gitbox.apache.org/repos/asf/ignite.git
The following commit(s) were added to refs/heads/ignite-2.9-docs by this push:
new 06dadd5 IGNITE-13663 : Represent in the documenttion affection of
several node addresses on failure detection v2. (#8424)
06dadd5 is described below
commit 06dadd5503cc96693eb99d26ea6db451b19403e1
Author: Vladsz83 <[email protected]>
AuthorDate: Thu Nov 19 03:10:12 2020 +0300
IGNITE-13663 : Represent in the documenttion affection of several node
addresses on failure detection v2. (#8424)
---
docs/_docs/clustering/network-configuration.adoc | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/docs/_docs/clustering/network-configuration.adoc
b/docs/_docs/clustering/network-configuration.adoc
index 8c0e0f8..8d47b60 100644
--- a/docs/_docs/clustering/network-configuration.adoc
+++ b/docs/_docs/clustering/network-configuration.adoc
@@ -49,10 +49,18 @@ tab:C++[unsupported]
The following table describes some most important properties of
`TcpDiscoverySpi`.
You can find the complete list of properties in the
javadoc:org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi[] javadoc.
+[CAUTION]
+====
+You should initialize the `IgniteConfiguration.localHost` or
`TcpDiscoverySpi.localAddress` parameter with the network
+interface that will be used for inter-node communication. By default, a node
binds to and listens on all available IP
+addresses of an environment it's running on. It can prolong node failures
detection if some of the node's addresses are
+not reachable from other cluster nodes.
+====
+
[cols="1,2,1",opts="header"]
|===
|Property | Description| Default Value
-| `localAddress`| Local host IP address used for discovery. | By default, the
node uses the first non-loopback address it finds. If there is no non-loopback
address available, then `java.net.InetAddress.getLocalHost()` is used.
+| `localAddress`| Local host IP address used for discovery. If set, overrides
the `IgniteConfiguration.localHost` setting. | By default, a node binds to all
available network addresses. If there is a non-loopback address available, then
java.net.InetAddress.getLocalHost() is used.
| `localPort` | The port that the node binds to. If set to a non-default
value, other cluster nodes must know this port to be able to discover the node.
| `47500`
| `localPortRange`| If the `localPort` is busy, the node attempts to bind to
the next port (incremented by 1) and continues this process until it finds a
free port. The `localPortRange` property defines the number of ports the node
will try (starting from `localPort`).
| `100`
@@ -115,7 +123,7 @@ You can find the list of all properties in the
javadoc:org.apache.ignite.spi.com
[cols="1,2,1",opts="header"]
|===
|Property | Description| Default Value
-| `localAddress` | The local address for the communication SPI to bind to. |
+| `localAddress` | The local address for the communication SPI to bind to. If
set, overrides the `IgniteConfiguration.localHost` setting. |
| `localPort` | The local port that the node uses for communication. | `47100`