Tried it. Still not working. I also tried to setup S3 discovery. My config is as follows:
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" 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"> <bean id="grid.cfg" class="org.apache.ignite.configuration.IgniteConfiguration"> <property name="dataStorageConfiguration"> <bean class="org.apache.ignite.configuration.DataStorageConfiguration"> <property name="defaultDataRegionConfiguration"> <bean class="org.apache.ignite.configuration.DataRegionConfiguration"> <property name="persistenceEnabled" value="true" /> </bean> </property> </bean> </property> <property name="authenticationEnabled" value="true" /> <property name="discoverySpi"> <bean class="org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi"> <property name="ipFinder"> <bean class="org.apache.ignite.spi.discovery.tcp.ipfinder.s3.TcpDiscoveryS3IpFinder"> <property name="awsCredentialsProvider"> <bean class="com.amazonaws.auth.InstanceProfileCredentialsProvider" /> </property> <property name="bucketName" value="deegloo-ignite-discovery-spi" /> </bean> </property> </bean> </property> </bean> </beans> Also tried with secret and access keys. Both of my nodes are started inside docker containers, each in its own ec2 instance. I opened ports 45000-45100, 47400, 47100,4710, 48100, 48101,31100,31101 on both ec2 instance and each ignite is started with docker run --net=host command. I have the bucket for spi discovery created. When I start the first node I can see that in S3 discovery bucket there are 4 entries and by the IP addresses I can tell that this is from the ec2 instance which is the host for ignite container started. I then activate the cluster. I now have a cluster with one node. I then go and start the second ignite node on the separate ec2 instance. This node is not joined to the cluster. I can activate the new cluster with this node. When I examine the s3 discovery bucket I can see that entries are changed alternately: for a minute or so I see entries which have IP address value of one instance, then I see values from another instance. Not sure if this is how it should be? But in any case I can't get that my secondly started node join the cluster. Any help is appreciated. I tried a bunch of stuff and I simply can't get it to work. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/
