Hi,
I would like to know how to specify the connection ip if the server has
more than one ips during the TCP Discovery.
Server A has 2 lan cards and so 2 ips (e.g. 1.2.3.4 and 7.8.9.0).
I have applied the following configuration for the TCP discovery and the
server is well connected.
However, when I tried to study the node connection by ignitevisorcmd, I
have found that Server A's ip is 7.8.9.0 instead of what is defined in the
config, resulting in a performance issue. Is there any other ways to
specify the ip to be connected?
<bean class="org.apache.ignite.configuration.IgniteConfiguration">
...
<property name="discoverySpi">
<bean class="org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi">
<property name="ipFinder">
<bean
class="org.apache.ignite.spi.discovery.tcp.ipfinder.vm.TcpDiscoveryVmIpFinder">
<property name="addresses">
<list>
<!--
Explicitly specifying address of a local node to let it start
and operate
normally even if there is no more nodes in the cluster.
You can
also optionally specify an individual port or port range.
-->
<value>1.2.3.4</value>
<value>1.2.3.5:47500..47509</value>
</list>
</property>
</bean>
</property>
</bean>
</property></bean>