Infinispan Cluster Manager - Hope this helps others...

16 views
Skip to first unread message

Deven Phillips

unread,
Apr 27, 2017, 2:26:53 PM4/27/17
to ve...@googlegroups.com
Finally resolved my issues with some help from the Infinispan/JGroups developers... For those of you who may want to know.

1. My HP ProCurve 2824 GigE switch had a buggy firmware version which caused issues via IGMP/Multicast - Updated to 10.107 and things improved
2. My wifi AP at home had "WMM" enabled, which is apparently a form of QoS, turning this off resolved most of the rest.

Here's what I added to my startup via the Maven Exec plugin:

            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>exec-maven-plugin</artifactId>
                <version>1.6.0</version>
                <configuration>
                    <executable>java</executable>
                    <arguments>
                        <argument>-jar</argument>
                        <argument>target/cluster-1.0-SNAPSHOT.jar</argument>
                        <argument>-cluster</argument>
                        <argument>-cluster-host</argument>
                        <argument>${cluster.ip}</argument>
                        <argument>-Djava.net.preferIPv4Stack=true</argument>
                        <argument>-Djgroups.tcp.address=${cluster.ip}</argument>
                        <argument>-Djgroups.mping.mcast_addr=239.5.5.5</argument>
                    </arguments>
                </configuration>
            </plugin>

Then I can just run the application with `mvn exec:exec -Dcluster.ip=<IP Address>` and it "just works".

Hope that helps others!!

Deven
Reply all
Reply to author
Forward
0 new messages