<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>You need to cluster. <br>
    </p>
    <p><br>
    </p>
    <p><a class="moz-txt-link-freetext" href="https://keycloak.gitbooks.io/server-installation-and-configuration/content/v/2.1/">https://keycloak.gitbooks.io/server-installation-and-configuration/content/v/2.1/</a><br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 8/11/16 2:21 AM, Subhrajyoti Moitra
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAB6P+-FAmDRA_wOtDovaY_AVzxn2m+g8LD3c7P2rjoJxuJcUUg@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div>
            <div>Hello,<br>
              <br>
            </div>
            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?<br>
          </div>
          <div>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?<br>
          </div>
          <div><br>
          </div>
          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?<br>
          <br>
        </div>
        <div>How are other people doing loadbalancing and failover for
          keycloak server.<br>
        </div>
        <div><br>
        </div>
        <div>Please guide.<br>
          <br>
        </div>
        <div>Thanks,<br>
        </div>
        <div>Subhro.<br>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
keycloak-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/keycloak-user">https://lists.jboss.org/mailman/listinfo/keycloak-user</a></pre>
    </blockquote>
    <br>
  </body>
</html>