Quantcast
Channel: StackExchange Replication Questions
Viewing all articles
Browse latest Browse all 17268

Issues with infinispan cross site replication not working in infinispan 8.2

$
0
0

I have two DC at two sub domains , first is UDIT and the second is JBOSS (will be used as Backup Site).

Changes made in UDIT's domain.xml

(a) Added <channel name="xsite" stack="tcp"/>

(b) Made relay entry as

<relay site="UDIT"> <remote-site name="JBOSS" channel="xsite"/> </relay>

(c) Then Added JBOSS in the Back up site as

<distributed-cache name="default" mode="SYNC" segments="20" owners="2" remote-timeout="30000" start="EAGER"> <locking acquire-timeout="30000" concurrency-level="1000" striping="false"/> <transaction mode="NONE"/> <backups> <backup site="JBOSS" strategy="SYNC" enabled="true" /> </backups> </distributed-cache>

Changes made in JBOSS's domain.xml

(a) Added <channel name="xsite" stack="tcp"/>

(b) Made relay entry as

<relay site="JBOSS"> <remote-site name="UDIT" channel="xsite"/> </relay>

(c) Then said this is a remote cache

<distributed-cache name="default" mode="SYNC" segments="20" owners="2" remote-timeout="30000" start="EAGER"> <locking acquire-timeout="30000" concurrency-level="1000" striping="false"/> <transaction mode="NONE"/> <backup-for remote-cache="default" remote-site="UDIT"/> </distributed-cache>

Now, I started DC on UDIT and another DC on JBOSS. They both starts fine and join the bridge cluster 'xsite' , but the node UDIT is not able to backup data to JBOSS.

I get this error -

[Server:ServerOne] 11:11:01,220 ERROR [org.jgroups.protocols.relay.RELAY2] (HotRodServerWorker-8-2) Udit:ServerOne: no route to JBOSS: dropping message [Server:ServerOne] 11:11:11,222 WARN [org.infinispan.xsite.BackupSenderImpl] (HotRodServerWorker-8-2) ISPN000202: Problems backing up data for cache default to site JBOSS: org.infinispan.util.concurrent.TimeoutException: Timed out after 10 seconds waiting for a response from JBOSS (sync, timeout=10000)

I do now know what went wrong... :(


Viewing all articles
Browse latest Browse all 17268

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>