Keycloak failover issue [on hold]











up vote
0
down vote

favorite












I'm trying to setup keycloak domain cluster configuration using my Windows 7 machine. As per tutorial i created one slave user and configured the secret value in host-slave.xml file located under /domain/configuration directory.



I'm launching domain.bat twice with different option like domain.bat --host-config host-master.xml and second time domain.bat --host-config host-slave.xml



the Kaycloak page is opening at http://localhost:8080 and logs also showing server one and two entered in cluster view mode.



Now when i'm trying to test buy shutting down the master it's not switching to slave automatically . Please help



Below is logs from master showing second node already registered:



[Server:server-one] 21:01:36,581 INFO  [org.jboss.as] (Controller Boot     Thread) WFLYSRV0025: Keycloak 3.4.3.Fin
al (WildFly Core 3.0.8.Final) started in 71032ms - Started 628 of 981 services (703 services are lazy, passive
or on-demand)
[Server:load-balancer] 21:05:13,567 INFO [io.undertow] (default task-2) UT005053: Registering node abhishek-p
c:server-two, connection: ajp://127.0.0.1:8259/?#
[Server:load-balancer] 21:05:13,582 INFO [io.undertow] (default task-3) UT005045: Registering context /auth,
for node abhishek-pc:server-two
[Server:load-balancer] 21:05:13,598 INFO [io.undertow] (default task-4) UT005045: Registering context /, for
node abhishek-pc:server-two
[Server:load-balancer] 21:05:13,613 INFO [io.undertow] (default task-5) UT005045: Registering context /wildfl
y-services, for node abhishek-pc:server-two









share|improve this question







New contributor




user3110213 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











put on hold as off-topic by DavidPostill Nov 20 at 20:42


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This question is not about computer hardware or software, within the scope defined in the help center." – DavidPostill

If this question can be reworded to fit the rules in the help center, please edit the question.

















    up vote
    0
    down vote

    favorite












    I'm trying to setup keycloak domain cluster configuration using my Windows 7 machine. As per tutorial i created one slave user and configured the secret value in host-slave.xml file located under /domain/configuration directory.



    I'm launching domain.bat twice with different option like domain.bat --host-config host-master.xml and second time domain.bat --host-config host-slave.xml



    the Kaycloak page is opening at http://localhost:8080 and logs also showing server one and two entered in cluster view mode.



    Now when i'm trying to test buy shutting down the master it's not switching to slave automatically . Please help



    Below is logs from master showing second node already registered:



    [Server:server-one] 21:01:36,581 INFO  [org.jboss.as] (Controller Boot     Thread) WFLYSRV0025: Keycloak 3.4.3.Fin
    al (WildFly Core 3.0.8.Final) started in 71032ms - Started 628 of 981 services (703 services are lazy, passive
    or on-demand)
    [Server:load-balancer] 21:05:13,567 INFO [io.undertow] (default task-2) UT005053: Registering node abhishek-p
    c:server-two, connection: ajp://127.0.0.1:8259/?#
    [Server:load-balancer] 21:05:13,582 INFO [io.undertow] (default task-3) UT005045: Registering context /auth,
    for node abhishek-pc:server-two
    [Server:load-balancer] 21:05:13,598 INFO [io.undertow] (default task-4) UT005045: Registering context /, for
    node abhishek-pc:server-two
    [Server:load-balancer] 21:05:13,613 INFO [io.undertow] (default task-5) UT005045: Registering context /wildfl
    y-services, for node abhishek-pc:server-two









    share|improve this question







    New contributor




    user3110213 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.











    put on hold as off-topic by DavidPostill Nov 20 at 20:42


    This question appears to be off-topic. The users who voted to close gave this specific reason:


    • "This question is not about computer hardware or software, within the scope defined in the help center." – DavidPostill

    If this question can be reworded to fit the rules in the help center, please edit the question.















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I'm trying to setup keycloak domain cluster configuration using my Windows 7 machine. As per tutorial i created one slave user and configured the secret value in host-slave.xml file located under /domain/configuration directory.



      I'm launching domain.bat twice with different option like domain.bat --host-config host-master.xml and second time domain.bat --host-config host-slave.xml



      the Kaycloak page is opening at http://localhost:8080 and logs also showing server one and two entered in cluster view mode.



      Now when i'm trying to test buy shutting down the master it's not switching to slave automatically . Please help



      Below is logs from master showing second node already registered:



      [Server:server-one] 21:01:36,581 INFO  [org.jboss.as] (Controller Boot     Thread) WFLYSRV0025: Keycloak 3.4.3.Fin
      al (WildFly Core 3.0.8.Final) started in 71032ms - Started 628 of 981 services (703 services are lazy, passive
      or on-demand)
      [Server:load-balancer] 21:05:13,567 INFO [io.undertow] (default task-2) UT005053: Registering node abhishek-p
      c:server-two, connection: ajp://127.0.0.1:8259/?#
      [Server:load-balancer] 21:05:13,582 INFO [io.undertow] (default task-3) UT005045: Registering context /auth,
      for node abhishek-pc:server-two
      [Server:load-balancer] 21:05:13,598 INFO [io.undertow] (default task-4) UT005045: Registering context /, for
      node abhishek-pc:server-two
      [Server:load-balancer] 21:05:13,613 INFO [io.undertow] (default task-5) UT005045: Registering context /wildfl
      y-services, for node abhishek-pc:server-two









      share|improve this question







      New contributor




      user3110213 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      I'm trying to setup keycloak domain cluster configuration using my Windows 7 machine. As per tutorial i created one slave user and configured the secret value in host-slave.xml file located under /domain/configuration directory.



      I'm launching domain.bat twice with different option like domain.bat --host-config host-master.xml and second time domain.bat --host-config host-slave.xml



      the Kaycloak page is opening at http://localhost:8080 and logs also showing server one and two entered in cluster view mode.



      Now when i'm trying to test buy shutting down the master it's not switching to slave automatically . Please help



      Below is logs from master showing second node already registered:



      [Server:server-one] 21:01:36,581 INFO  [org.jboss.as] (Controller Boot     Thread) WFLYSRV0025: Keycloak 3.4.3.Fin
      al (WildFly Core 3.0.8.Final) started in 71032ms - Started 628 of 981 services (703 services are lazy, passive
      or on-demand)
      [Server:load-balancer] 21:05:13,567 INFO [io.undertow] (default task-2) UT005053: Registering node abhishek-p
      c:server-two, connection: ajp://127.0.0.1:8259/?#
      [Server:load-balancer] 21:05:13,582 INFO [io.undertow] (default task-3) UT005045: Registering context /auth,
      for node abhishek-pc:server-two
      [Server:load-balancer] 21:05:13,598 INFO [io.undertow] (default task-4) UT005045: Registering context /, for
      node abhishek-pc:server-two
      [Server:load-balancer] 21:05:13,613 INFO [io.undertow] (default task-5) UT005045: Registering context /wildfl
      y-services, for node abhishek-pc:server-two






      xml jboss






      share|improve this question







      New contributor




      user3110213 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question







      New contributor




      user3110213 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question






      New contributor




      user3110213 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked Nov 20 at 15:53









      user3110213

      1




      1




      New contributor




      user3110213 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      user3110213 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      user3110213 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.




      put on hold as off-topic by DavidPostill Nov 20 at 20:42


      This question appears to be off-topic. The users who voted to close gave this specific reason:


      • "This question is not about computer hardware or software, within the scope defined in the help center." – DavidPostill

      If this question can be reworded to fit the rules in the help center, please edit the question.




      put on hold as off-topic by DavidPostill Nov 20 at 20:42


      This question appears to be off-topic. The users who voted to close gave this specific reason:


      • "This question is not about computer hardware or software, within the scope defined in the help center." – DavidPostill

      If this question can be reworded to fit the rules in the help center, please edit the question.



























          active

          oldest

          votes






















          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes

          Popular posts from this blog

          If I really need a card on my start hand, how many mulligans make sense? [duplicate]

          Alcedinidae

          Can an atomic nucleus contain both particles and antiparticles? [duplicate]