If you are running multiple Ignite nodes in the same VM each of them should have a distinct name. Please specify IgniteConfiguration#igniteInstanceName for each node.
Kind regards, Alex 16 июля 2017 г. 5:32 AM пользователь "Anil [via Apache Ignite Users]" < [email protected]> написал: > Hi Alex, > > one ignite instance per one node working good and two nodes joining the > cluster. > > But when two instances started on vm, only one of the instance is joining > the cluster. Second instance logs says nothing.. no logs are rolling when > other instance is stopped/started/restarted. > > We tried with default heartbeatFrequency as well and same behavior. In > case of large export scenarios, servers experiencing little long gc's. so > testing with heartbeatFrequency = 60000 ms. > > Thanks, > Anil > > On 16 July 2017 at 02:46, afedotov <[hidden email] > <http:///user/SendEmail.jtp?type=node&node=14969&i=0>> wrote: > >> Hi, >> >> What is the log when you start the second node? >> Why do you need heartbeatFrequency of 60000 ms? Try commenting it so that >> it has a default value. >> >> Kind regards, >> Alex. >> >> On Sat, Jul 15, 2017 at 8:27 PM, Anil [via Apache Ignite Users] <[hidden >> email] <http:///user/SendEmail.jtp?type=node&node=14966&i=0>> wrote: >> >>> HI Team, >>> >>> I started two ignite instances with following configuration and topology >>> snapshot says server = 1 >>> >>> Topology snapshot [ver=6, servers=1, clients=3, CPUs=32, heap=24.0GB] >>> >>> >>> *Configuration -* >>> >>> <property name="communicationSpi"> >>> <bean class="org.apache.ignite.spi.c >>> ommunication.tcp.TcpCommunicationSpi"> >>> <property name="sharedMemoryPort" value="-1"/> >>> </bean> >>> </property> >>> <property name="discoverySpi"> >>> <bean class="org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi"> >>> <property name="networkTimeout" value="60000"/> >>> <property name="socketTimeout" value="60000"/> >>> <property name="ackTimeout" value="60000"/> >>> <property name="heartbeatFrequency" value="60000"/> >>> <property name="reconnectCount" value="5"/> >>> >>> <property name="ipFinder"> >>> <bean class="org.apache.ignite.spi.d >>> iscovery.tcp.ipfinder.vm.TcpDiscoveryVmIpFinder"> >>> <property name="addresses"> >>> <list> >>> <value>X.X.X.1</value> >>> <value>X.X.X.2</value> >>> </list> >>> </property> >>> </bean> >>> </property> >>> </bean> >>> </property> >>> >>> Please let me know if anything wrong with above configuration. thanks. >>> >>> Regards, >>> Anil >>> >>> >>> >>> >>> >>> >>> ------------------------------ >>> If you reply to this email, your message will be added to the discussion >>> below: >>> http://apache-ignite-users.70518.x6.nabble.com/Two-ignite-in >>> stances-on-a-vm-tp14965.html >>> To start a new topic under Apache Ignite Users, email [hidden email] >>> <http:///user/SendEmail.jtp?type=node&node=14966&i=1> >>> To unsubscribe from Apache Ignite Users, click here. >>> NAML >>> <http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> >>> >> >> >> ------------------------------ >> View this message in context: Re: Two ignite instances on a vm >> <http://apache-ignite-users.70518.x6.nabble.com/Two-ignite-instances-on-a-vm-tp14965p14966.html> >> Sent from the Apache Ignite Users mailing list archive >> <http://apache-ignite-users.70518.x6.nabble.com/> at Nabble.com. >> > > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > http://apache-ignite-users.70518.x6.nabble.com/Two- > ignite-instances-on-a-vm-tp14965p14969.html > To start a new topic under Apache Ignite Users, email > [email protected] > To unsubscribe from Apache Ignite Users, click here > <http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=1&code=YWxleGFuZGVyLmZlZG90b2ZmQGdtYWlsLmNvbXwxfC0xMzYxNTU0NTg=> > . > NAML > <http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Two-ignite-instances-on-a-vm-tp14965p14971.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.
