high-availability.asciidoc 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. [[high-availability]]
  2. = Set up a cluster for high availability
  3. [partintro]
  4. --
  5. As with any software that stores data,
  6. it is important to routinely back up your data.
  7. {es}'s <<glossary-replica-shard,replica shards>> provide high availability
  8. during runtime;
  9. they enable you to tolerate sporadic node loss
  10. without an interruption of service.
  11. However, replica shards do not protect an {es} cluster
  12. from catastrophic failure.
  13. You need a backup of your cluster—
  14. a copy in case something goes wrong.
  15. {es} offers two features to support high availability for a cluster:
  16. * <<backup-cluster,Snapshot and restore>>,
  17. which you can use to back up individual indices or entire clusters.
  18. You can automatically store these backups in a repository on a shared filesystem.
  19. * <<xpack-ccr,Cross-cluster replication (CCR)>>,
  20. which you can use to copy indices in remote clusters to a local cluster.
  21. You can use {ccr} to recover from the failure of a primary cluster
  22. or serve data locally based on geo-proximity.
  23. --
  24. include::high-availability/backup-cluster.asciidoc[]
  25. include::ccr/index.asciidoc[]