2 Replies Latest reply on Nov 18, 2014 8:31 AM by Tristan Tarrant

    How can I change from multicast mode to unicast mode in Infinispan-server-7.0.0.Final's JGroups configuration ?

    maru sung Newbie

      In the Infinispan-server-7.0.0.Final's clustered.xml, Default Communication Mode is multicast in udp or tcp. However I wish to change multicast to unicast in udp or tcp

      <server>

           ...

            <subsystem xmlns="urn:infinispan:server:jgroups:7.0" default-stack="${jboss.default.jgroups.stack:udp}">

                       <stack name="udp">

                           <transport type="UDP" socket-binding="jgroups-udp"/>

                           <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"/>

                           <protocol type="RSVP"/>

                       </stack>

                       <stack name="tcp">

                           <transport type="TCP" socket-binding="jgroups-tcp"/>

                           <protocol type="MPING" socket-binding="jgroups-mping"/>

                           <protocol type="MERGE3"/>

                           <protocol type="FD_SOCK" socket-binding="jgroups-tcp-fd"/>

                           <protocol type="FD"/>

                           <protocol type="VERIFY_SUSPECT"/>

                           <protocol type="pbcast.NAKACK2">

                               <property name="use_mcast_xmit">false</property>

                           </protocol>

                           <protocol type="UNICAST3"/>

                           <protocol type="pbcast.STABLE"/>

                           <protocol type="pbcast.GMS"/>

                           <protocol type="MFC"/>

                           <protocol type="FRAG2"/>

                           <protocol type="RSVP"/>

                       </stack>

                ...

           </subsystem>

      ...

      ...

            <socket-binding-group name="standard-sockets" default-interface="public" port-offset="${jboss.socket.binding.port-offset:0}">

                   <socket-binding name="management-http" interface="management" port="${jboss.management.http.port:9990}"/>

                   <socket-binding name="management-https" interface="management" port="${jboss.management.https.port:9993}"/>

                   <socket-binding name="ajp" port="${jboss.ajp.port:8009}"/>

                   <socket-binding name="hotrod" port="11222"/>

                   <socket-binding name="http" port="${jboss.http.port:8080}"/>

                   <socket-binding name="https" port="${jboss.https.port:8443}"/>

                   <socket-binding name="jgroups-mping" port="0" multicast-address="${jboss.default.multicast.address:234.99.54.14}" multicast-port="45700"/>

                   <socket-binding name="jgroups-tcp" port="7600"/>

                   <socket-binding name="jgroups-tcp-fd" port="57600"/>

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

                   <socket-binding name="jgroups-udp-fd" port="54200"/>

                   <socket-binding name="memcached" port="11211"/>

                   <socket-binding name="modcluster" port="0" multicast-address="224.0.1.115" multicast-port="23364"/>

                   <socket-binding name="txn-recovery-environment" port="4712"/>

                   <socket-binding name="txn-status-manager" port="4713"/>

                   <socket-binding name="websocket" port="8181"/>

               </socket-binding-group>

      </server>