You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by babu prasad <ba...@gmail.com> on 2016/03/21 08:29:12 UTC
Node discovery
Hi,
I am trying to automate ignite cluster build.
I am using apache-ignite-fabric-1.5.0.final-bin.zip.
Looks like the nodes are starting up as individual nodes and not as part of
the cluster.
I tried using both the AWS configuration(using S3) and static IP and I am
still running into the issue where the nodes are not discovered as part of
the cluster.
Could something be broken?
Thanks!
-Babu
Re: Node discovery
Posted by babu prasad <ba...@gmail.com>.
Sorry, my mistake. I realized it was a networking issue. Its fixed now.
What ports should I be whitelisting for the setup to work in a firewall?
On Mon, Mar 21, 2016 at 11:33 AM, babu prasad <ba...@gmail.com> wrote:
> Thank you!
> Here is the configuration.
> <?xml version="1.0" encoding="UTF-8"?>
>
> <!--
> Licensed to the Apache Software Foundation (ASF) under one or
> more
> contributor license agreements. See the NOTICE file distributed with
> this work for additional information regarding copyright ownership.
> The ASF licenses this file to You under the Apache License, Version 2.0
> (the "License"); you may not use this file except in compliance with
> the License. You may obtain a copy of the License at
>
> http://www.apache.org/licenses/LICENSE-2.0
>
> Unless required by applicable law or agreed to in writing, software
> distributed under the License is distributed on an "AS IS" BASIS,
> WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
> See the License for the specific language governing permissions and
> limitations under the License.
> -->
>
> <beans xmlns="http://www.springframework.org/schema/beans"
> xmlns:util="http://www.springframework.org/schema/util"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="
> http://www.springframework.org/schema/beans
> http://www.springframework.org/schema/beans/spring-beans.xsd
> http://www.springframework.org/schema/util
> http://www.springframework.org/schema/util/spring-util.xsd">
> <!--
> Alter configuration below as needed.
> -->
> <bean id="grid.cfg"
> class="org.apache.ignite.configuration.IgniteConfiguration">
> <property name="cacheConfiguration">
> <list>
> <bean class="org.apache.ignite.configuration.CacheConfiguration">
> <property name="name" value="IgniteCache"/>
> <property name="cacheMode" value="PARTITIONED"/>
> <property name="atomicWriteOrderMode" value="PRIMARY"/>
> <property name="writeSynchronizationMode" value="PRIMARY_SYNC"/>
> <property name="evictionPolicy">
> <bean
> class="org.apache.ignite.cache.eviction.lru.LruEvictionPolicy">
> <property name="maxSize" value="100000000"/>
> </bean>
> </property>
> <property name="swapEnabled" value="false"/>
> <property name="atomicityMode" value="ATOMIC" />
> <property name="backups" value="1" />
> </bean>
> </list>
> </property>
> <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>
> <value>127.0.0.1:47500..47509</value>
> <!--- <value><public Elastic IP>:47500..47509</value> -->
> </list>
> </property>
> </bean>
> </property>
> </bean>
> </property>
> <property name="communicationSpi">
> <bean
> class="org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi">
> <property name="slowClientQueueLimit" value="1000"/>
> </bean>
> </property>
> </bean>
> </beans>
>
> On Mon, Mar 21, 2016 at 1:39 AM, Vladimir Ozerov <vo...@gridgain.com>
> wrote:
>
>> Hi,
>>
>> Looks like a kind of misconfiguration or networking problem. Please
>> provide XML configuration you used to build the cluster.
>>
>> Vladimir.
>>
>> On Mon, Mar 21, 2016 at 10:29 AM, babu prasad <ba...@gmail.com> wrote:
>>
>>> Hi,
>>>
>>> I am trying to automate ignite cluster build.
>>> I am using apache-ignite-fabric-1.5.0.final-bin.zip.
>>> Looks like the nodes are starting up as individual nodes and not as part
>>> of the cluster.
>>>
>>> I tried using both the AWS configuration(using S3) and static IP and I
>>> am still running into the issue where the nodes are not discovered as part
>>> of the cluster.
>>>
>>> Could something be broken?
>>>
>>> Thanks!
>>>
>>> -Babu
>>>
>>
>>
>
Re: Node discovery
Posted by babu prasad <ba...@gmail.com>.
Thank you!
Here is the configuration.
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or
more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:util="http://www.springframework.org/schema/util"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/util
http://www.springframework.org/schema/util/spring-util.xsd">
<!--
Alter configuration below as needed.
-->
<bean id="grid.cfg"
class="org.apache.ignite.configuration.IgniteConfiguration">
<property name="cacheConfiguration">
<list>
<bean class="org.apache.ignite.configuration.CacheConfiguration">
<property name="name" value="IgniteCache"/>
<property name="cacheMode" value="PARTITIONED"/>
<property name="atomicWriteOrderMode" value="PRIMARY"/>
<property name="writeSynchronizationMode" value="PRIMARY_SYNC"/>
<property name="evictionPolicy">
<bean
class="org.apache.ignite.cache.eviction.lru.LruEvictionPolicy">
<property name="maxSize" value="100000000"/>
</bean>
</property>
<property name="swapEnabled" value="false"/>
<property name="atomicityMode" value="ATOMIC" />
<property name="backups" value="1" />
</bean>
</list>
</property>
<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>
<value>127.0.0.1:47500..47509</value>
<!--- <value><public Elastic IP>:47500..47509</value> -->
</list>
</property>
</bean>
</property>
</bean>
</property>
<property name="communicationSpi">
<bean
class="org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi">
<property name="slowClientQueueLimit" value="1000"/>
</bean>
</property>
</bean>
</beans>
On Mon, Mar 21, 2016 at 1:39 AM, Vladimir Ozerov <vo...@gridgain.com>
wrote:
> Hi,
>
> Looks like a kind of misconfiguration or networking problem. Please
> provide XML configuration you used to build the cluster.
>
> Vladimir.
>
> On Mon, Mar 21, 2016 at 10:29 AM, babu prasad <ba...@gmail.com> wrote:
>
>> Hi,
>>
>> I am trying to automate ignite cluster build.
>> I am using apache-ignite-fabric-1.5.0.final-bin.zip.
>> Looks like the nodes are starting up as individual nodes and not as part
>> of the cluster.
>>
>> I tried using both the AWS configuration(using S3) and static IP and I am
>> still running into the issue where the nodes are not discovered as part of
>> the cluster.
>>
>> Could something be broken?
>>
>> Thanks!
>>
>> -Babu
>>
>
>
Re: Node discovery
Posted by Vladimir Ozerov <vo...@gridgain.com>.
Hi,
Looks like a kind of misconfiguration or networking problem. Please provide
XML configuration you used to build the cluster.
Vladimir.
On Mon, Mar 21, 2016 at 10:29 AM, babu prasad <ba...@gmail.com> wrote:
> Hi,
>
> I am trying to automate ignite cluster build.
> I am using apache-ignite-fabric-1.5.0.final-bin.zip.
> Looks like the nodes are starting up as individual nodes and not as part
> of the cluster.
>
> I tried using both the AWS configuration(using S3) and static IP and I am
> still running into the issue where the nodes are not discovered as part of
> the cluster.
>
> Could something be broken?
>
> Thanks!
>
> -Babu
>