<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Upgrade to 1.9.5.  A lot of changes have happened since 1.5....A
      lot...We don't support community versions that old.  Commercial
      support will be based off of 1.9.x branch.<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 5/27/16 2:50 PM, Moon S.Yim wrote:<br>
    </div>
    <blockquote cite="mid:BLU181-W388BE77A84DDC499156A4BC2420@phx.gbl"
      type="cite">
      <style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:굴림
}
--></style>
      <div dir="ltr">Hello keycloak users,<br>
        Not sure this is a correct way to ask question in User Forum.<br>
        <br>
        We're using keyclock 1.5 for production as single node, it works
        well.<br>
        We're trying to make HA clustering with 2 nodes, but doesn't
        work.<br>
        just following  keycloak user guide
(<a class="moz-txt-link-freetext" href="http://keycloak.github.io/docs/userguide/keycloak-server/pdf/keycloak-reference-guide-en-US.pdf">http://keycloak.github.io/docs/userguide/keycloak-server/pdf/keycloak-reference-guide-en-US.pdf</a>)
        Chapter 29. Clustering.<br>
        how to start is<br>
        /opt/keycloak-1.5.0.Final/keycloak/bin/standalone.sh 
        --server-config=standalone-keycloak-ha.xml
        -Djboss.bind.address=`hostname -i` &amp;  <br>
        or<br>
        /opt/keycloak-1.5.0.Final/keycloak/bin/standalone.sh 
        --server-config=standalone-keycloak-ha.xml
        -Djboss.bind.address=`hostname -i` -bpublic=`hostname -i`
        -bprivate=`hostname -i` &amp; <br>
        <br>
        standalone-keycloak-ha.xml  or  standalone-ha.xml, the same
        results.<br>
        <br>
        keyclock process is up and running on 2 nodes, but no log for
        clustering when it starts up.<br>
        and Admin console login is failed.<br>
        <br>
        18:02:59,625 WARN  [org.keycloak.events] (default task-21)
        type=CODE_TO_TOKEN_ERROR, realmId=master,
        clientId=security-admin-console, userId=null,
        ipAddress=10.x.x.113, error=invalid_code,
        code_id=c4f010be-9747-4b8a-a7be-e44f9bc1e3bf,
        client_auth_method=client-secret<br>
        18:03:51,482 WARN  [org.keycloak.events] (default task-6)
        type=LOGIN_ERROR, realmId=master, clientId=null, userId=null,
        ipAddress=10.x.x.113, error=invalid_code<br>
        <br>
        my questions for HA clustering  is<br>
        1) how 2 nodes recognize each other? there is no configuration
        for that except sessions  cache of infinispan/Keycloak container<br>
        2) any good example of standalone-keycloak-ha.xml for 2 nodes
        clustering.<br>
        <br>
        <br>
        <div>
          <div>
            <div>
              Thanks<br>
              Best Regards, MoonY<br>
               
              <div>
                <hr>
              </div>
              <div><br>
                <hr>
              </div>
            </div>
          </div>
        </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>