-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
XSite replication not working #106
Comments
|
The cache creating is never sent though the cross-site channel. it must be created manually in both sites. |
Hi @pruivo,
or even with
on both sides. Then created a key K1 on one side, but it won't appear on the other. The logs tell: Server 1:
Server 2:
So it tells, no members discovered on both sides... they still cannot find eachother. |
The port mapping is incorrect. The relay cluster always binds to port 7900 in the container. The templates |
Looks much better now... But why do I get a read timeout now?
Even if I try from my system commandline
|
No idea. It pops up at the beginning for some reason but it doesn't affect the cluster. To enable xsite in a cache, just create a cache with the following configuration On LON site:
On NYC site:
You can use the console (http://localhost:11222) or use curl (or similar tool) |
Thanks. Looks good now. Despite I can not see the entries on "Activity" but I see "Entries (4)" and when searching for that key, it appears! Entered one item at NYC and searched for it on LON. WORKED! Many thanks! I think that example should be added to the readme at the section XSite Replication. I think I'll create a PR for that. |
Hi,
I tried XSite replication on a local docker.
Config1 (using port 7300):
Config 2 (using port 7200):
My Docker-Commands:
docker run --rm -p 11222:11222 -p 7300:7300 -v c:/work/InfiniSpan:/user-config --name infinispan1 -e IDENTITIES_PATH="/user-config/identities.yaml" -e CONFIG_PATH="/user-config/config1.yaml" --network bridge infinispan/server:11.0.4.Final-2
docker run --rm -p 12222:11222 -p 7200:7300 -v c:/work/InfiniSpan:/user-config --name infinispan2 -e IDENTITIES_PATH="/user-config/identities.yaml" -e CONFIG_PATH="/user-config/config2.yaml" --network Bridge2 infinispan/server:11.0.4.Final-2
But when I create a new REPL_SYNC Cache on one of them, it won't be created on the other one automatically.
It only works when both are on the same network, but then they communicate through Multicast instead of XSite.
Is this docker container really working with XSite?
I'm using 11.0.4.Final-2
The text was updated successfully, but these errors were encountered: