ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rizal123 <khaerul.ri...@btpn.com>
Subject Re: Migrating from Oracle to Apache Ignite.
Date Fri, 12 Jan 2018 08:14:38 GMT
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/

Mime
View raw message