2017-03-20 14 views
1

Googleのクラウドプラットフォームに問題があります。 VMでPOCを試してみましたが、正常にクラスタ化できます。Google CloudのインスタンスにWildflyクラスタを設定する方法

ですが、Googleのクラウドプラットフォームです。ワイルドフライでJGROUPとクラスタに参加することはできません ドメインモードで2つのインスタンスでCentos 7とwildfly 10.1.0の両方をインストールしています。 私がフォローを設定:https://docs.jboss.org/author/display/WFLY9/WildFly+9+Cluster+Howto

2017-03-20 09:44:54,068 INFO [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (MSC service thread 1-2) ISPN000094: Received new cluster view for channel ejb: [master:master01|0] (1) [master:master01] 
2017-03-20 09:44:54,069 INFO [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (MSC service thread 1-8) ISPN000094: Received new cluster view for channel hibernate: [master:master01|0] (1) [master:master01] 
2017-03-20 09:44:54,074 INFO [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (MSC service thread 1-8) ISPN000079: Channel hibernate local address is master:master01, physical addresses are [127.0.0.1:55200] 
2017-03-20 09:44:54,085 INFO [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (MSC service thread 1-1) ISPN000094: Received new cluster view for channel server: [master:master01|0] (1) [master:master01] 
2017-03-20 09:44:54,085 INFO [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (MSC service thread 1-1) ISPN000079: Channel server local address is master:master01, physical addresses are [127.0.0.1:55200] 
2017-03-20 09:44:54,086 INFO [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (MSC service thread 1-2) ISPN000079: Channel ejb local address is master:master01, physical addresses are [127.0.0.1:55200] 
2017-03-20 09:44:54,085 INFO [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (MSC service thread 1-6) ISPN000094: Received new cluster view for channel web: [master:master01|0] (1) [master:master01] 
2017-03-20 09:44:54,088 INFO [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (MSC service thread 1-6) ISPN000079: Channel web local address is master:master01, physical addresses are [127.0.0.1:55200] 

スレーブ

2017-03-20 11:21:51,701 INFO [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (MSC service thread 1-3) ISPN000094: Received new cluster view for channel web: [sctha1:master02|0] (1) [sctha1:master02] 
2017-03-20 11:21:51,701 INFO [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (MSC service thread 1-4) ISPN000094: Received new cluster view for channel hibernate: [sctha1:master02|0] (1) [sctha1:master02] 
2017-03-20 11:21:51,702 INFO [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (MSC service thread 1-1) ISPN000094: Received new cluster view for channel ejb: [sctha1:master02|0] (1) [sctha1:master02] 
2017-03-20 11:21:51,703 INFO [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (MSC service thread 1-7) ISPN000094: Received new cluster view for channel server: [sctha1:master02|0] (1) [sctha1:master02] 
2017-03-20 11:21:51,709 INFO [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (MSC service thread 1-4) ISPN000079: Channel hibernate local address is sctha1:master02, physical addresses are [10.140.0.2:55200] 
2017-03-20 11:21:51,710 INFO [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (MSC service thread 1-1) ISPN000079: Channel ejb local address is sctha1:master02, physical addresses are [10.140.0.2:55200] 
2017-03-20 11:21:51,710 INFO [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (MSC service thread 1-7) ISPN000079: Channel server local address is sctha1:master02, physical addresses are [10.140.0.2:55200] 
2017-03-20 11:21:51,711 INFO [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (MSC service thread 1-3) ISPN000079: Channel web local address is sctha1:master02, physical addresses are [10.140.0.2:55200] 

ファイアウォールが無効です。

いずれも同じ問題がありますか?

+0

https://cloudplatform.googleblog.com/2016/02/JGroups-based-clustering-and-node-discovery-with-Google-Cloud-Storage.html –

+0

を見てみましょう、私は解決策 HTTPSを見つけた@FedericoSierraありがとうございました://kb.novaordis.com/index.php/WildFly_Clustering_without_Multicast –

答えて

0

問題はJGroupsがデフォルトでプライベートインターフェイス(127.0.0.1)を使用するように設定されているためです。 standalone-ha.xml、あなたは見つけることができます:publicに属性とWildFlyは、右のインターフェース(-bコマンドラインオプション)にバインドされていることを確認し

<socket-binding name="jgroups-udp" interface="private" port="55200" multicast-address="${jboss.default.multicast.address:230.0.0.4}" multicast-port="45688"/> 

変更を。

関連する問題