Keycloak: most trivial Cross-Datacenter Replication Mode


What’s the most trivial setup to achieve a keycloak production installation across two datacenters (to provide high availability) ? Is it possible to have just 4 machines: 2 keycloak instances + 2 databases (1 in each DC) ? Assuming this is a viable setup, then in both keycloak machines, is it better to have Infinispan and Keycloak as two separate Wildfly instances, or should they reside within the same Wildfy instance ?

More globally, why is the Cross-Datacenter Replication Mode marked as a technology preview ? What part of it is not fully supported ? Is there any other operating mode alternative to achieve high availability across two DCs?