# Configuring Keycloak 17.X Quarkus in Clustered Domain mode

**URL:** <https://forum.keycloak.org/t/configuring-keycloak-17-x-quarkus-in-clustered-domain-mode/14952>\
**Category:** Configuring the server\
**Created:** [April 13, 2022, 12:15pm UTC](https://forum.keycloak.org/t/configuring-keycloak-17-x-quarkus-in-clustered-domain-mode/14952 "2022-04-13T12:15:49Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jakobim](https://avatars.discourse-cdn.com/v4/letter/j/cc9497/32.png) [@Jakobim](https://forum.keycloak.org/u/Jakobim)\
**Post date:** [April 13, 2022, 12:15pm UTC](https://forum.keycloak.org/t/configuring-keycloak-17-x-quarkus-in-clustered-domain-mode/14952/1 "2022-04-13T12:15:49Z")

</div>

Hi,

My org has charged me to prepare our team to migrate from RHSSO 7.5 to RHSSO 8 as soon as possible. To do so im trying to recreate our configurations using a Quarkus based Keycloak (17.0.1) architecture. We are so far using a clustered domain mode and we are not ready yet to migrate to container based architecture.

I successfuly recreated a standalone architecture pretty easily using the `keycloak.conf`` file. Problem is for domain clustered mode. What is the equivalent to the host-slave & host-master files we used to have at our disposal? Documentations mentions a config-default.xml file which is missing in both the 17.0 and 17.0.1 distribution i downloaded. Am i missing something ?

Documentation on this topic is heavily lacking for now, I would not dare to ask otherwise !

Thanks already.

---

<div class="post-metadata">

**Author:** ![dasniko](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/dasniko/32/2969_2.png) [@dasniko](https://forum.keycloak.org/u/dasniko)\
**Post date:** [April 13, 2022, 12:25pm UTC](https://forum.keycloak.org/t/configuring-keycloak-17-x-quarkus-in-clustered-domain-mode/14952/2 "2022-04-13T12:25:40Z")

</div>

With Quarkus-Keycloak, there is no more _standalone_ vs. _domain_ mode.  
This was a Wildfly-specific config/runtime model.

---

<div class="post-metadata">

**Author:** ![Jakobim](https://avatars.discourse-cdn.com/v4/letter/j/cc9497/32.png) [@Jakobim](https://forum.keycloak.org/u/Jakobim)\
**Post date:** [April 13, 2022, 12:39pm UTC](https://forum.keycloak.org/t/configuring-keycloak-17-x-quarkus-in-clustered-domain-mode/14952/3 "2022-04-13T12:39:03Z")

</div>

Hi, thanks for your quick answer !

So is it still possible to spread a configuration from a master to nodes without using third-party software such as Ansible (i.e keeping the previous domain architecture) ? or are you forced to replicate keycloaks nodes such as in your [example](https://gist.github.com/dasniko/3a57913047af3ca1b6b0a83b294dc1a1) ?

edit : to be accurate for eventuals readers, in domain controller mode, nodes synchronize their configuration based on domain-controllers one. It is not spread from master to nodes.

mj

---

<div class="post-metadata">

**Author:** ![dasniko](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/dasniko/32/2969_2.png) [@dasniko](https://forum.keycloak.org/u/dasniko)\
**Post date:** [April 13, 2022, 1:35pm UTC](https://forum.keycloak.org/t/configuring-keycloak-17-x-quarkus-in-clustered-domain-mode/14952/4 "2022-04-13T13:35:33Z")

</div>

There is no more such a thing like a “master”, as this was special to Wildfly domain mode. Keycloak never relied on such a feature.

If you don’t use a containerized environment, you’re doing yourself a favor (not only for using Keycloak, but in general!) if you have an option to automate and script your environment. E.g. like you already mentioned with Ansible or likewise tools.

---

<div class="post-metadata">

**Author:** ![Jakobim](https://avatars.discourse-cdn.com/v4/letter/j/cc9497/32.png) [@Jakobim](https://forum.keycloak.org/u/Jakobim)\
**Post date:** [April 13, 2022, 1:49pm UTC](https://forum.keycloak.org/t/configuring-keycloak-17-x-quarkus-in-clustered-domain-mode/14952/5 "2022-04-13T13:49:21Z")

</div>

If i was in charge, we would have a containrized environment for years.

Anyways, crystal clear, thanks for your reactiveness and your work !

mj
