Hello,
I want to have Keycloak instances which will support upto 3000 realms. I tried setting up Keycloak HA with external infinispan but it is giving me issues similar to Query related to Keycloak HA with separate Infinispan cache.
For testing I tried installing 2 Keycloak (idp1 and idp2) HA clusters pointing to same Database.
My observations from it :
-
I have first installed idp1 cluster and created 100 realms in it. Then I have installed idp2 pointing to same database which is used in idp1. All the realms in idp1 are present in idp2.
-
I have then created one realm (test-realm) in idp2, that is reflected in idp1 after I relogged-in into idp1 admin console. But when I have created realm in idp1, it is not reflected in idp2.
-
I have created one user (user1) in test-realm in idp1, which is also present in idp2, then I have created user2 in test-realm in idp2, which is also present in idp1.
Can anyone please suggest me if it is okay to use same database for multiple keycloak instances?
Thanks