Repository navigation
Keycloak && IS cluster #12239
Replies: 3 comments 8 replies
|
In the WildFly distribution you have to define the site name as the If you have cross-site replication using two Infinispan servers, one in each datacenter, and two Keycloak servers in each datacenter, there will be a local cluster in each datacenter (one Infinispan server + two Keycloak servers), and a cross-datacenter cluster composed of the two Infinispan servers. I may have misunderstood this part, but it is what I understand from the Communication details section of the installation guide, and from other sources. |
|
Hi, I tried current |
Uh oh!
There was an error while loading. Please reload this page.
Describe the bug
Hello.
Keycloak - 18.0.0
Infinispan - 13.0.8
Was deployed one instance KC bare metal and trying to configure it with IS cluster (2 nodes in different datacenters).
Config of IS:
`
Config cache on KC:
`
`
After building
"sudo bin/kc.sh start --auto-build --cache=ispn --cache-config-file=cache.xml --https-port 443"
faced with issue:
INFO [org.infinispan.HOTROD] (blocking-thread--p3-t1) ISPN004021: Infinispan version: Infinispan 'Triskaidekaphobia' 13.0.8.Final INFO [org.infinispan.HOTROD] (Thread-0) ISPN004006: Server sent new topology view (id=5, age=0) containing 2 addresses: [10.104.X.X:11222, 10.4.Y.Y:11222] INFO [org.infinispan.HOTROD] (Thread-0) ISPN004014: New server added(10.104.X.X:11222), adding to the pool. INFO [org.infinispan.HOTROD] (Thread-0) ISPN004014: New server added(10.4.Y.Y:11222), adding to the pool. INFO [org.infinispan.HOTROD] (Thread-0) ISPN004016: Server not in cluster anymore(infinispan02:11222), removing from the pool. INFO [org.infinispan.HOTROD] (Thread-0) ISPN004016: Server not in cluster anymore(infinispan01:11222), removing from the pool. INFO [org.keycloak.connections.infinispan.DefaultInfinispanConnectionProviderFactory] (main) Node name: %node_name%-65174, Site name: null INFO [org.keycloak.models.sessions.infinispan.InfinispanUserLoginFailureProviderFactory] (main) Remote store configured for cache 'loginFailures' INFO [org.infinispan.CLUSTER] (main) ISPN000080: Disconnecting JGroups channelISPNERROR [org.keycloak.quarkus.runtime.cli.ExecutionExceptionHandler] (main) ERROR: Failed to start server in (production) mode ERROR [org.keycloak.quarkus.runtime.cli.ExecutionExceptionHandler] (main) ERROR: Multiple datacenters available, but site name is not configured! Check your configurationHow to resolve it?
Version
18.0.0
Expected behavior
No response
Actual behavior
No response
How to Reproduce?
No response
Anything else?
No response
All reactions