Bi-directional recovery: Failover when clusterA is down
ECH ECK ECE Self-Managed
You can simulate this by shutting down either of the clusters. Let’s shut down
cluster Ain this tutorial.Start Logstash with the same configuration file. (This step is not required in real use cases where Logstash ingests continuously.)
### On Logstash server ### bin/logstash -f multiple_hosts.confObserve all Logstash traffic will be redirected to
cluster Bautomatically.TipYou should also redirect all search traffic to the
clusterBcluster during this time.The two data streams on
cluster Bnow contain a different number of documents.data streams on cluster A (down)
- 50 documents in
logs-generic-default-replicated_from_clusterb - 50 documents in
logs-generic-default
- 50 documents in
data streams On cluster B (up)
- 50 documents in
logs-generic-default-replicated_from_clustera - 150 documents in
logs-generic-default
- 50 documents in