Tag: jgroups

Dockerize Axon / JGroups应用程序的应用程序部分?

目前我们的应用程序正在使用Axon / JGroups并且很好地协同工作,我们正在寻找使用Docker来交付/扩展应用程序的方法。 我想知道是否有人已经实现了使用Docker交付Axon的应用程序的方式? 我用我们的应用程序做了一些Dockerstesting,但是他们无法find对方,因此join集群失败。 任何人都知道如何实现这一目标?

JGroups在跨多个节点的Docker中运行时并不形成集群

我在Docker容器中运行jgroups应用程序。 容器运行在两个节点(A和B)之间,它们都使用docker群模式覆盖networking连接。 我提到https://docs.docker.com/engine/swarm/networking/ 这是我所做的和观察到的。 Jgroup绑定地址被设置为容器的覆盖networkingIP 在同一节点内运行的容器正在形成一个集群。 我使用nslookup来确保运行在节点A中的容器的覆盖networkingIP可以通过在节点B中运行的容器到达 docker node ls正确显示节点并能够成功调度容器实例。 Docker版本:Docker版本17.03.1-ce,build c6d412e 操作系统:Ubuntu 16.04.2 Cloud:AWS(端口7946 TCP / UDP和4789 UDP已打开) JGroups:3.6.6 Jgroups XML: <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:org:jgroups" xsi:schemaLocation="urn:org:jgroups http://www.jgroups.org/schema/jgroups.xsd"> <TCP bind_port="7600" recv_buf_size="${tcp.recv_buf_size:5M}" send_buf_size="${tcp.send_buf_size:5M}" max_bundle_size="64K" max_bundle_timeout="30" use_send_queues="true" sock_conn_timeout="300" timer_type="new3" timer.min_threads="4" timer.max_threads="10" timer.keep_alive_time="3000" timer.queue_max_size="500" thread_pool.enabled="true" thread_pool.min_threads="2" thread_pool.max_threads="8" thread_pool.keep_alive_time="5000" thread_pool.queue_enabled="true" thread_pool.queue_max_size="10000" thread_pool.rejection_policy="discard" oob_thread_pool.enabled="true" oob_thread_pool.min_threads="1" oob_thread_pool.max_threads="8" oob_thread_pool.keep_alive_time="5000" oob_thread_pool.queue_enabled="false" oob_thread_pool.queue_max_size="100" oob_thread_pool.rejection_policy="discard"/> <JDBC_PING […]