Hello, Im trying to setup my 2 rackspace cloud servers with hazelcast clustering, But I cannot get it to work, in openfire admin, clustering is enabled and I see only 1 node at the moment.
my config file looks like this on server 1:
<join>
<multicast enabled="false">
<multicast-group>224.2.2.3</multicast-group>
<multicast-port>54327</multicast-port>
</multicast>
<tcp-ip enabled="true">
<hostname>198.101.159.111:5701</hostname>
<hostname>166.78.249.122:5701</hostname>
</tcp-ip>
<aws enabled="false"/>
</join>
<interfaces enabled="true">
<interface>166.78.249.111</interface>
</interfaces>
<ssl enabled="false" />
<socket-interceptor enabled="false" />
and on server 2:
<join>
<multicast enabled="false">
<multicast-group>224.2.2.3</multicast-group>
<multicast-port>54327</multicast-port>
</multicast>
<tcp-ip enabled="true">
<hostname>198.101.159.111:5701</hostname>
<hostname>166.78.249.122:5701</hostname>
</tcp-ip>
<aws enabled="false"/>
</join>
<interfaces enabled="true">
<interface>166.78.249.122</interface>
</interfaces>
<ssl enabled="false" />
<socket-interceptor enabled="false" />
and the log file on server 1 says:
Jun 02, 2014 11:07:53 AM com.hazelcast.config.ClasspathXmlConfig
INFO: Configuring Hazelcast from 'hazelcast-cache-config.xml'.
Jun 02, 2014 11:07:53 AM com.hazelcast.instance.DefaultAddressPicker
INFO: Interfaces is enabled, trying to pick one address matching to one of: [19$
Jun 02, 2014 11:07:53 AM com.hazelcast.instance.DefaultAddressPicker
INFO: Prefer IPv4 stack is true.
Jun 02, 2014 11:07:53 AM com.hazelcast.instance.DefaultAddressPicker
INFO: Picked Address[198.101.159.111]:5701, using socket ServerSocket[addr=/0:0$
Jun 02, 2014 11:07:54 AM com.hazelcast.system
INFO: [198.101.159.111]:5701 [openfire] Hazelcast Community Edition 3.1.7 (2014$
Jun 02, 2014 11:07:54 AM com.hazelcast.system
INFO: [198.101.159.111]:5701 [openfire] Copyright (C) 2008-2014 Hazelcast.com
Jun 02, 2014 11:07:54 AM com.hazelcast.instance.Node
INFO: [198.101.159.111]:5701 [openfire] Creating TcpIpJoiner
Jun 02, 2014 11:07:54 AM com.hazelcast.core.LifecycleService
INFO: [198.101.159.111]:5701 [openfire] Address[198.101.159.111]:5701 is STARTI$
Jun 02, 2014 11:07:54 AM com.hazelcast.cluster.TcpIpJoiner
INFO: [198.101.159.111]:5701 [openfire]
INFO: [198.101.159.111]:5701 [openfire]
Members [1] {
Member [198.101.159.111]:5701 this
}
Jun 02, 2014 11:07:54 AM com.hazelcast.core.LifecycleService
INFO: [198.101.159.111]:5701 [openfire] Address[198.101.159.111]:5701 is STARTED
Jun 02, 2014 11:07:54 AM com.hazelcast.partition.PartitionService
INFO: [198.101.159.111]:5701 [openfire] Initializing cluster partition table fi$