Disaster Recovery Volumes
Help and potential gotchas associated with specific cloud providers.
A disaster recovery (DR) volume is a special volume that is mainly intended to store data in a backup cluster in case the whole main cluster goes down. Disaster recovery volumes are used to increase the resiliency of Longhorn volumes.
For a longer explanation of how DR volumes work, see the concepts section.
For disaster recovery volume, Last Backup
indicates the most recent backup of its original backup volume.
If the icon representing the disaster volume is gray, it means the volume is restoring the Last Backup
and this volume cannot be activated. If the icon is blue, it means the volume has restored the Last Backup
.
Prerequisites: Set up two Kubernetes clusters. These will be called cluster A and cluster B. Install Longhorn on both clusters, and set the same backup target on both clusters. For help setting the backup target, refer to this page.
Longhorn supports activating a disaster recovery (DR) volume under the following conditions:
Allow Volume Creation with Degraded Availability
is enabled, the volume is degraded, indicating some replicas are unhealthy.When the setting Allow Volume Creation with Degraded Availability
is disabled, attempting to activate a degraded DR volume will cause the volume to become stuck in the attached state. However, after enabling the setting, the DR volume will be activated and converted into a normal volume, remaining in the detached state.
© 2019-2024 Longhorn Authors | Documentation Distributed under CC-BY-4.0
© 2024 The Linux Foundation. All rights reserved. The Linux Foundation has registered trademarks and uses trademarks. For a list of trademarks of The Linux Foundation, please see our Trademark Usage page.