我试图让 s3ping 发现方法在 jboss 中工作为 7。我已经部署了一个集群的示例 Web 应用程序。截至目前,我有一个节点。但在不久的将来,我将在集群中添加更多节点..
我已使用所需的 s3 凭据和存储桶详细信息修改了文件 Standalone-ha.xml。
<stack name="s3ping">
<transport type="TCP" socket-binding="jgroups-tcp" diagnostics-socket-binding="jgroups-diagnostics"/>
<protocol type="S3_PING">
<property name="access_key">
XXXXXXXXXXXXXXX
</property>
<property name="secret_access_key">
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
</property>
<property name="prefix">
MyjbossBucket
</property>
<property name="timeout">
6000
</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>
我使用以下命令启动这个 jboss 实例。
./standalone.sh -b 10.1.137.250 -bmanagement=10.1.137.250 -c standalone-ha.xml -Djboss.default.jgroups.stack=s3ping -Djgroups.bind.address=10.1.137.250 -Djboss.node.name=node1
它启动成功,但无法看到在 s3 存储桶内创建的任何节点信息文件。请指导我通过正确的方法来完成这项工作......或者我在配置中犯了一些错误......
问候