-
1. Re: Can I replace jboss 6.3 jgroup with datagrid jgroup?
andresperez0828 Aug 12, 2015 4:55 PM (in response to stephenklau)Hi stephen lau,
Would You pass me your JDG Jgroups configuration, i have a problem posted "https://developer.jboss.org/thread/261836", if you could help me, would be great,
best regards,
-
2. Re: Can I replace jboss 6.3 jgroup with datagrid jgroup?
andresperez0828 Aug 14, 2015 9:25 AM (in response to stephenklau)Hi Stephen ,
I have fixed my problem,
You can overwrite de Jgroups configuration adding any properties in your selected stack so:
<subsystem xmlns="urn:infinispan:server:jgroups:6.1" default-stack="${jboss.default.jgroups.stack:udp}">
<stack name="udp">
<transport type="UDP" socket-binding="jgroups-udp">
<property name="ucast_recv_buf_size">20m</property>
<property name="mcast_recv_buf_size">25m</property>
<property name="mcast_send_buf_size">640k</property>
</transport>
<protocol type="PING"/>
<protocol type="MERGE3"/>
<protocol type="FD_SOCK" socket-binding="jgroups-udp-fd"/>
<protocol type="FD_ALL"/>
<protocol type="VERIFY_SUSPECT"/>
<protocol type="pbcast.NAKACK2"/>
<protocol type="UNICAST3"/>
<protocol type="pbcast.STABLE"/>
<protocol type="pbcast.GMS"/>
<protocol type="UFC"/>
<protocol type="MFC"/>
<protocol type="FRAG2"/>
</stack>
this is the way like i know to do it, I searched about overwrite de jgroups.xml in JDG but I found not something. I hopefully this will serve.
-
3. Re: Can I replace jboss 6.3 jgroup with datagrid jgroup?
sebastian.laskawiec Aug 18, 2015 6:13 AM (in response to andresperez0828)Exactly, Andreas is correct.
However if you are using the Library Mode, you might be interested in this: 26.2. Configure JGroups (Library Mode)
-
4. Re: Can I replace jboss 6.3 jgroup with datagrid jgroup?
stephenklau Aug 18, 2015 12:38 PM (in response to sebastian.laskawiec)I am using the Library mode with Jboss. I used the default JGroup xml provided in the infinispan jar file as a starting point and modified the setting according to our environments. The Jboss server has its own JGroup configuration. So we are running two instances of JGroup - one for JDG and one for Jboss.
-
5. Re: Can I replace jboss 6.3 jgroup with datagrid jgroup?
wdfink Aug 19, 2015 1:35 PM (in response to stephenklau)There are a lot of things to consider.
If you change the JGroups bits in EAP you loose the support for this.
And there is a reason to separate this as JDG has different requirements as EAP, also you don't want to mess each cluster with different messages which need to be dropped.
So I recommend to use the JDG modules for EAP, set a dependency for your application and keep the mcast addresses different for EAP and JDG cluster.
-
6. Re: Can I replace jboss 6.3 jgroup with datagrid jgroup?
stephenklau Aug 19, 2015 1:41 PM (in response to wdfink)Thanks. We will be moving forward by using JDG modules for EAP and keep it separate from the EAP JGroup.