3 Replies Latest reply on Aug 9, 2011 9:04 PM by clebert.suconic

    standalone cluster setup

    spandit_tudor.com

      I have two servers (KVMs) with multicast ip address (10.20.30.40) and port (5405)

      I have setup configuration as follows on both of the servers.

       

      hornetq-configuration.xml

       

         <broadcast-groups>

            <broadcast-group name="custom-broadcast-group">

               <group-address>10.20.30.40</group-address>

               <group-port>5405</group-port>

               <broadcast-period>5000</broadcast-period>

               <connector-ref>netty</connector-ref>

            </broadcast-group>

         </broadcast-groups>

       

       

         <discovery-groups>

            <discovery-group name="custom-discovery-group">

               <group-address>10.20.30.40</group-address>

               <group-port>5405</group-port>

               <refresh-timeout>10000</refresh-timeout>

            </discovery-group>

         </discovery-groups>

       

       

         <cluster-connections>

            <cluster-connection name="custom-cluster">

               <address>jms</address>

               <connector-ref>netty</connector-ref>

               <forward-when-no-consumers>true</forward-when-no-consumers>

               <discovery-group-ref discovery-group-name="custom-discovery-group"/>

            </cluster-connection>

         </cluster-connections>

       

       

      HornetQ server starts successfully on both the servers. There are no errors.

       

      But I still cannot send messages from one server and receive them on the other.

       

      Appreciate any help you can provide.

       

      Thanks,

      Sanjeev