Thanks for the clarification. It seems like your containers could not see each other via network. Could you please perform "cross check" out of the container? Say, you enter to the container with ip 10.17.10.55 and try to perform check to 10.17.10.56.
You can use 'docker exec -it <containerId> bash' to enter to the container. If there is no connection between containers, try to configure the docker network for therm. More info here https://docs.docker.com/network/network-tutorial-standalone/ <https://docs.docker.com/network/network-tutorial-standalone/> -- Best regards, Aleksandr On 2022/12/06 08:27:20 [email protected] wrote: > Hi, Here is the whole configuration file with my latest experiements : > > 10.17.10.55 > 10.17.10.56 > > 10.17.10.55 and 56 are the external addresses of the the hosts. Of > course each node as a different interfal IP address and ConsistendId. > Regards > > Le 05-Dec-2022 12:59:39 +0100, [email protected] a crit: > Hi, could you please share the TCP/IP Discovery configuration? If you have > not configured it please check this > https://ignite.apache.org/docs/latest/clustering/tcp-ip-discovery -- Best > regards, Aleksandr > > On 2022/11/25 11:27:19 [email protected] wrote: > > Hi, I am trying to setup a two nodes replicated cluster, in an > > active/passive way. On each node, a Java webapp will be accessing the > > local database instance using JDBC. The app itself is stateless, but I > > need synced datas from the database. Ignite seems to be a nice choice, as > > I don't need advanced SQL features but replication and simplicity. So I am > > running an Ignite container on two differents hosts (10.17.10.55 and > > 10.17.10.56), using : docker run -v > > "/tmp/ignite.xml:/opt/ignite/apache-ignite/config/default-config.xml" -p > > "10800:10800" -p "11211:11211" -p "47100:47100" -p "47500:47500" -p > > "49112:49112" apacheignite/ignite:latest And here is the content of the > > file "ignite.xml" (of course, "consistentId" value is different for each > > host, the rest is the same). > > > > 10.17.10.55 > > 10.17.10.56 > > > > As far as I can see, when the containers are up, ports are exposed and > > firewall does not block communications (I have runned these two commands on > > both hosts, in order to "cross check"): echo "10800 11211 47100 47500" | > > xargs nc -vz 10.17.10.55 > > Connection to 10.17.10.55 10800 port [tcp/*] succeeded! > > Connection to 10.17.10.55 11211 port [tcp/*] succeeded! > > Connection to 10.17.10.55 47100 port [tcp/*] succeeded! > > Connection to 10.17.10.55 47500 port [tcp/*] succeeded! echo "10800 11211 > > 47100 47500" | xargs nc -vz 10.17.10.56 > > Connection to 10.17.10.56 10800 port [tcp/*] succeeded! > > Connection to 10.17.10.56 11211 port [tcp/*] succeeded! > > Connection to 10.17.10.56 47100 port [tcp/*] succeeded! > > Connection to 10.17.10.56 47500 port [tcp/*] succeeded! But the two Ignite > > instances don't seem to communicate, as I get an error message like : > > Failed to connect to any address from IP finder (make sure IP finder > > addresses are correct and firewalls are disabled on all host machines): > > [/10.17.10.55:47500, /10.17.10.56:47500] Did I miss something ? A quick > > and dirty try with a local docker-compose and a config file which is the > > base of the one I tried here was running flawlessly. Regards > > > > ------------------------------------------------------------------------------------------------- > > FreeMail powered by mail.fr > > > ------------------------------------------------------------------------------------------------- > FreeMail powered by mail.fr > > ------------------------------------------------------------------------------------------------- > FreeMail powered by mail.fr >
