# Standalone-ha vs domain vs cross data center mode

**URL:** <https://forum.keycloak.org/t/standalone-ha-vs-domain-vs-cross-data-center-mode/4165>\
**Category:** Miscellanaeous\
**Created:** [August 7, 2020, 5:47am UTC](https://forum.keycloak.org/t/standalone-ha-vs-domain-vs-cross-data-center-mode/4165 "2020-08-07T05:47:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![liweiyiw](https://avatars.discourse-cdn.com/v4/letter/l/ecd19e/32.png) [@liweiyiw](https://forum.keycloak.org/u/liweiyiw)\
**Post date:** [August 7, 2020, 5:47am UTC](https://forum.keycloak.org/t/standalone-ha-vs-domain-vs-cross-data-center-mode/4165/1 "2020-08-07T05:47:01Z")

</div>

In the offical document [https://www.keycloak.org/docs/latest/server\_installation/](https://www.keycloak.org/docs/latest/server_installation/)  
There are more details in cross data center mode than the standalone HA mode. Could I think some recommendations on cross data center like which sessions are better to be replicated are also applied to standalone-ha mode ?

Could I think the domain mode is a master/slave mode while the standalone mode is active/active mode ？  
Is the domain mode legacy mode some way if we would like to deploy K8S/openshift
