Skip to content

Commit 8a5d79d

Browse files
authored
Merge pull request #71173 from xenolinux/on-prem-backup-restore-hcp
/lgtm OSDOCS#9491: Update back up and restore procedure for on-premise
2 parents 4ddbc36 + c7ce8c4 commit 8a5d79d

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

hosted_control_planes/hcp-backup-restore-dr.adoc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ In hosted clusters, etcd pods run as part of a stateful set. The stateful set re
1515

1616
include::modules/hosted-cluster-etcd-status.adoc[leveloffset=+2]
1717
include::modules/hosted-cluster-single-node-recovery.adoc[leveloffset=+2]
18-
include::modules/hosted-cluster-etcd-quorum-loss-recovery.adoc[leveloffset=+2]
1918

2019
[id="hcp-backup-restore"]
2120
== Backing up and restoring etcd on a hosted cluster on {aws-short}
@@ -33,6 +32,9 @@ include::modules/backup-etcd-hosted-cluster.adoc[leveloffset=+2]
3332
// Restoring an etcd snapshot on a hosted cluster
3433
include::modules/restoring-etcd-snapshot-hosted-cluster.adoc[leveloffset=+2]
3534

35+
// Backing up and restoring etcd on a hosted cluster in an on-premise environment
36+
include::modules/hosted-cluster-etcd-backup-restore-on-prem.adoc[leveloffset=+1]
37+
3638
[id="hcp-dr-aws"]
3739
== Disaster recovery for a hosted cluster within an {aws-short} region
3840

@@ -166,4 +168,4 @@ include::modules/dr-hosted-cluster-within-aws-region-restore.adoc[leveloffset=+2
166168
include::modules/dr-hosted-cluster-within-aws-region-delete.adoc[leveloffset=+2]
167169

168170
//Helper script
169-
include::modules/dr-hosted-cluster-within-aws-region-script.adoc[leveloffset=+2]
171+
include::modules/dr-hosted-cluster-within-aws-region-script.adoc[leveloffset=+2]

modules/hosted-cluster-etcd-quorum-loss-recovery.adoc renamed to modules/hosted-cluster-etcd-backup-restore-on-prem.adoc

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,18 @@
33
// * hcp-backup-restore-dr.adoc
44

55
:_mod-docs-content-type: PROCEDURE
6-
[id="hosted-cluster-etcd-quorum-loss-recovery_{context}"]
7-
= Recovering an etcd cluster from a quorum loss
6+
[id="hosted-cluster-etcd-backup-restore-on-prem_{context}"]
7+
= Backing up and restoring etcd on a hosted cluster in an on-premise environment
88

9-
If multiple members of the etcd cluster have lost data or return a `CrashLoopBackOff` status, it can cause an etcd quorum loss. You must restore your etcd cluster from a snapshot.
9+
By backing up and restoring etcd on a hosted cluster, you can fix failures, such as corrupted or missing data in an etcd member of a three node cluster. If multiple members of the etcd cluster encounter data loss or have a `CrashLoopBackOff` status, this approach helps prevent an etcd quorum loss.
1010

1111
[IMPORTANT]
1212
====
1313
This procedure requires API downtime.
1414
====
1515

1616
.Prerequisites
17+
1718
* The `oc` and `jq` binaries have been installed.
1819
1920
.Procedure

0 commit comments

Comments
 (0)