ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Skollur <Skol...@idbny.com>
Subject Ignite Remote Node
Date Thu, 27 Dec 2018 17:37:47 GMT
Hello

I have upgraded my code from Apache ignite version 2.6 to 2.7. I am running
two server nodes in two different machines. However after upgrade, noticed
that these two server nodes joined. Log shows as servers=2, state=ACTIVE.

Based on previous suggestion, I have commented out TCPDiscoverSPI and still
see server nodes are joined in 2.7 version. How to make sure server nodes
runs in one machine and not joining with remote (stand alone)?

        IgniteConfiguration cfg = new IgniteConfiguration();
        cfg.setIgniteInstanceName("testdb");

        /*TcpDiscoverySpi discovery = new TcpDiscoverySpi();
       
discovery.setLocalAddress(IPClusterConfigInitialize.IpClusterConfig().getProperty("ipClusterConfig"));
        discovery.setLocalPort(new
Integer(IPClusterConfigInitialize.IpClusterConfig().getProperty("port")));
        cfg.setDiscoverySpi(discovery);*/

        cfg.setPeerClassLoadingEnabled(false);
        




--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Mime
View raw message