Hello!

> ipFinder.setAddresses(Arrays.asList("127.0.0.1:47500..47510"));
> discovery.setLocalAddress("127.0.0.1");

It seems that you don't have a cluster of 3 nodes, but rather 3 different
localhost-only clusters. No wonder data doesn't get distributed.

I would expect something between the lines of:

                ipFinder.setAddresses(Arrays.asList("10.1.12.67:47500..47510",
"10.1.12.68:47500..47510", "10.1.12.69:47500..47510"));

And I'd remove setLocalAddress() assignment.

Make sure that nodes report topology snapshot of 3 servers after they start
up.

Regards,

-- 
Ilya Kasnacheev

2018-01-12 11:14 GMT+03:00 rizal123 <[email protected]>:

> Hi Denis,
>
> My cluster node still cannot distribute the data.
>
> Here is my experiment:
> *My Client Apps*:
>                     Client using JDBC Thin Ignite.
>                     Connection conn =
> DriverManager.getConnection("jdbc:ignite:thin://10.1.12.67");
>                     And
>                     Create PrepareStatement for Execute query "Insert ABC".
>
> *Check 3 Node*:
>                     Using Application DBeaver to connect to 3 Cluster Node
> (10.1.12.67, 10.1.12.68, 10.1.12.69).
>                     Data 'ABC' only stored at Cluster Node (10.1.12.67).
>                     The other node didn`t get the data.
>
> *Here is my Ignite Configuration, for 3 machine/IP Address (10.1.12.67,
> 10.1.12.68, 10.1.12.69)* :
>
>                 /IgniteConfiguration cfg = new IgniteConfiguration();
>                 cfg.setIgniteInstanceName("BrandCluster");
>                 cfg.setClientMode(false);
>
>                 TcpDiscoveryVmIpFinder ipFinder = new
> TcpDiscoveryVmIpFinder();
>                 ipFinder.setAddresses(Arrays.asList("127.0.0.1:47500..
> 47510"));
>
>                 TcpDiscoverySpi discovery = new TcpDiscoverySpi();
>                 discovery.setLocalAddress("127.0.0.1");
>                 discovery.setLocalPort(47500);
>                 discovery.setIpFinder(ipFinder);
>
>                 cfg.setDiscoverySpi(discovery);/
>
> Would you mind to show me IgniteConfiguration for multi cluster (different
> ip address)?
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>

Reply via email to