[keycloak-user] 2 Keycloak instance using the same DB.

Bill Burke bburke at redhat.com
Thu Aug 11 08:47:26 EDT 2016


You need to cluster.


https://keycloak.gitbooks.io/server-installation-and-configuration/content/v/2.1/


On 8/11/16 2:21 AM, Subhrajyoti Moitra wrote:
> Hello,
>
> We are trying to load balance keycloak servers to accommodate more 
> traffic and as a failover. We are pointing 2 instances of keycloak 
> servers(running on 2 different machines) to the same DB. Could there 
> be a problem with that setup?
> If so what kind of issues are expected to come? Do we have to setup 
> something special on the load balancer so that the sessions are 
> maintained properly?
>
> The keycloak servers also integrates with our organization's Active 
> Directory to defer the authentication process. Should we disable sync 
> on one and allow ldap sync from only one server? Is there a potential 
> problem with the same, ie 2 keycloak instance pointing to the same DB?
>
> How are other people doing loadbalancing and failover for keycloak server.
>
> Please guide.
>
> Thanks,
> Subhro.
>
>
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20160811/6557acf2/attachment.html 


More information about the keycloak-user mailing list