Quantcast
Channel: Ignite Realtime : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 10742

OF 3.9.1, Ubuntu & Hazelcast - Cannot see cluster members & admin console login problem

$
0
0

We have set up two Openfire servers v3.9.1 under Ubuntu 12.04 LTS, both using an external MySQL DB backend. The servers as separate entities work fine. We wanted to cluster them in order to add High Availability functionality to our platform. By reading many posts and instructions, we used the Hazelcast plugin, to no effect!

 

When OpenFire is started in both servers and we visit the cluster information tab, each server can see as a cluster member only itself! That is, server A can see as a cluster member only server A, whereas server B can see only server B. We have disabled multicast as a cluster transport due to network incompatibility and we use the TCP/IP method of interconnecting the clusters.

 

In addition, we are using a load-balancer to load-balance the XMPP and the HTTP connections to the admin interface. However, when the servers are accessed via the load-balanced address (eg balance.mycompany.com), we cannot login to the admin console but if we access directly the admin console of either either serverA.mycompany.com or serverB.mycompany.com, we can login perfectly!

 

Any ideas or help regarding the two issues?? The cluster as-is is unusable!

 

 

The cluster setup is the following:

 

SERVER A (IP 192.168.0.1)

<hazelcast xsi:schemaLocation="http://www.hazelcast.com/schema/config hazelcast-                                            config-2.3.xsd"
       xmlns="http://www.hazelcast.com/schema/config"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<group>
    <name>openfire</name>
    <password>openfire</password>
</group>
<management-center enabled="false"/>
<network>
    <port auto-increment="true">5701</port>
    <join>
        <multicast enabled="false">
            <multicast-group>224.2.2.3</multicast-group>
            <multicast-port>54327</multicast-port>
        </multicast>
        <tcp-ip enabled="true"/>
            <member>server1.mycompany.com</member>
            <member>server2.mycompany.com</member>
        </tcp-ip>
        <aws enabled="false"/>
    </join>
    <interfaces enabled="true"/>
            <interface>192.168.0.1</interface>
    </interfaces>
    <ssl enabled="false" />
    <socket-interceptor enabled="false" />

 

 

 

Server B (IP 192.168.0.2)

<hazelcast xsi:schemaLocation="http://www.hazelcast.com/schema/config hazelcast-                                            config-2.3.xsd"
       xmlns="http://www.hazelcast.com/schema/config"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<group>
    <name>openfire</name>
    <password>openfire</password>
</group>
<management-center enabled="false"/>
<network>
    <port auto-increment="true">5701</port>
    <join>
        <multicast enabled="false">
            <multicast-group>224.2.2.3</multicast-group>
            <multicast-port>54327</multicast-port>
        </multicast>
        <tcp-ip enabled="true"/>
            <member>server1.mycompany.com</member>
            <member>server2.mycompany.com</member>
        </tcp-ip>
        <aws enabled="false"/>
    </join>
    <interfaces enabled="true"/>
            <interface>192.168.0.2</interface>
    </interfaces>
    <ssl enabled="false" />
    <socket-interceptor enabled="false" />

Viewing all articles
Browse latest Browse all 10742

Trending Articles