0
我正尝试在Amazon Web Service上使用Wildfly-10设置HA群集。我的standalone-ha.xml配置是AWS上的Wildfly 10 HA群集不起作用
...
<subsystem xmlns="urn:jboss:domain:jgroups:4.0">
<channels default="ee">
<channel name="ee" stack="s3ping"/>
<channels>
<stacks>
...
<stack name="s3ping">
<transport type="TCP" socket-binding="jgroups-tcp" diagnostics-socket-binding="jgroups-diagnostics"/>
<protocol type="S3_PING">
<property name="access_key">
<%= @s3_access_key %>
</property>
<property name="secret_access_key">
<%= @s3_secret_access_key %>
</property>
<property name="prefix">
<%= @s3_bucket %>
</property>
<property name="timeout">
60000
</property>
</protocol>
<protocol type="MERGE2"/>
<protocol type="FD_SOCK" socket-binding="jgroups-tcp-fd"/>
<protocol type="FD"/>
<protocol type="VERIFY_SUSPECT"/>
<protocol type="BARRIER"/>
<protocol type="pbcast.NAKACK"/>
<protocol type="UNICAST2"/>
<protocol type="pbcast.STABLE"/>
<protocol type="pbcast.GMS"/>
<protocol type="UFC"/>
<protocol type="MFC"/>
<protocol type="FRAG2"/>
</stack>
</stacks>
</subsystem>
...
使用非常类似的配置,我可以使用Wildfly 8和Wildfly 8.2进行群集。但对于Wildfly 10,我无法取得成功。
此外我还添加了<distributable/>
到我的web.xml
。
在控制台上,我收到了警告;
[org.jboss.protocols.pbcast.GMS] (MSC service thread 1-1) node1: JOIN(node1) sent to node1 timed out (after 3000 ms), on try 1
并且它继续高达on try 10
。
什么是我的错,我该如何解决它。
谢谢。