Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-13635

Cross-site replication not working

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not a Bug
    • Major
    • None
    • 13.0.5.Final
    • Cross-Site Replication
    • None

    Description

      Hello,

      I have two infinispan nodes (server1 and server2), configured to communicate over TCP using TCPPING. But I can't find any trace of xsite in the logs: server1.log, server2.log

      I configured them following the documenation:

      Please find below my config :

      • Server1:
         <jgroups>
             <stack name="relay-global" extends="tcp">
                 <TCPPING initial_hosts="server1[7800],server2[7800]" 
                             num_initial_members="2"
                             port_range="0"
                             stack.combine="REPLACE"
                             stack.position="MPING"
                             timeout="3000"/>
             </stack>
             <stack name="xsite" extends="udp">
                 <relay.RELAY2 site="LON" xmlns="urn:org:jgroups"
                                 max_site_masters="10"
                                 can_become_site_master="true"/>
                 <remote-sites default-stack="relay-global">
                     <remote-site name="LON"/>
                     <remote-site name="NYC"/>
                 </remote-sites>
             </stack>
         </jgroups>   <cache-container name="default" statistics="true">
            <transport cluster="${infinispan.cluster.name:cluster}" stack="xsite"/>
            <security>
               <authorization/>
            </security>
         </cache-container>
      
      • Server2:
         <jgroups>
             <stack name="relay-global" extends="tcp">
                 <TCPPING initial_hosts="server1[7800],server2[7800]" 
                             num_initial_members="2"
                             port_range="0"
                             stack.combine="REPLACE"
                             stack.position="MPING"
                             timeout="3000"/>
             </stack>
             <stack name="xsite" extends="udp">
                 <relay.RELAY2 site="NYC" xmlns="urn:org:jgroups"
                                 max_site_masters="10"
                                 can_become_site_master="true"/>
                 <remote-sites default-stack="relay-global">
                     <remote-site name="LON"/>
                     <remote-site name="NYC"/>
                 </remote-sites>
             </stack>
         </jgroups>   <cache-container name="default" statistics="true">
            <transport cluster="${infinispan.cluster.name:cluster}" stack="xsite"/>
            <security>
               <authorization/>
            </security>
         </cache-container> 

       And the firewall is configured to allow only : 

      To                         Action      From
      --                         ------      ----
      22/tcp                     ALLOW       Anywhere                  
      7800/tcp                   ALLOW       Anywhere                  
      7800/udp                   ALLOW       Anywhere                  
      11222/tcp                  ALLOW       Anywhere                  
      22/tcp (v6)                ALLOW       Anywhere (v6)             
      7800/tcp (v6)              ALLOW       Anywhere (v6)             
      7800/udp (v6)              ALLOW       Anywhere (v6)             
      11222/tcp (v6)             ALLOW       Anywhere (v6)

      In addition, the environment is : 

      • Infinispan nodes : Ubuntu 20.04.3 LTS
      • Infinispan version :  Infinispan 
      • java version : OpenJDK 11.0.13

      Attachments

        1. server1.log
          6 kB
        2. server2.log
          6 kB

        Activity

          People

            Unassigned Unassigned
            khalid.lemghari@gmail.com Khalid LEMGHARI (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: