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
xml jboss
New contributor
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.
add a comment |
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
xml jboss
New contributor
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.
add a comment |
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
xml jboss
New contributor
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
xml jboss
New contributor
New contributor
New contributor
asked Nov 20 at 15:53
user3110213
1
1
New contributor
New contributor
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.
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes