Keycloak
30 строк · 1.6 Кб
1<#import "/templates/guide.adoc" as tmpl>
2<#import "/templates/links.adoc" as links>
3
4<@tmpl.guide
5title="Fail over to the secondary site"
6summary="This describes the automatic and operational procedures necessary" >
7
8This {section} describes the steps to fail over from primary site to secondary site in a setup as outlined in <@links.ha id="concepts-active-passive-sync" /> together with the blueprints outlined in <@links.ha id="bblocks-active-passive-sync" />.
9
10== When to use procedure
11
12A failover from the primary site to the secondary site will happen automatically based on the checks configured in the loadbalancer.
13
14When the primary site loses its state in {jdgserver_name} or a network partition occurs that prevents the synchronization, manual procedures are necessary to recover the primary site before it can handle traffic again, see the <@links.ha id="operate-switch-back" /> {section}.
15
16To prevent an automatic fallback to the primary site before those manual steps have been performed, configure the loadbalancer as described following to prevent this from happening automatically.
17
18For a graceful switch to the secondary site, follow the instructions in the <@links.ha id="operate-switch-over" /> {section}.
19
20See the <@links.ha id="introduction" /> {section} for different operational procedures.
21
22== Procedure
23
24Follow these steps to manually force a failover.
25
26=== Route53
27
28To force Route53 to mark the primary site as permanently not available and prevent an automatic fallback, edit the health check in AWS to point to a non-existent route (`health/down`).
29
30</@tmpl.guide>
31
32