Skip to content

Commit 59f24dd

Browse files
BZ1873575: added a section called reinstalling the OCP cluster
1 parent 164208d commit 59f24dd

File tree

2 files changed

+34
-0
lines changed

2 files changed

+34
-0
lines changed

installing/installing-troubleshooting.adoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,8 @@ include::modules/manually-gathering-logs-with-ssh.adoc[leveloffset=+1]
1919
include::modules/manually-gathering-logs-without-ssh.adoc[leveloffset=+1]
2020

2121
include::modules/installation-getting-debug-information.adoc[leveloffset=+1]
22+
23+
include::modules/restarting-installation.adoc[leveloffset=+1]
24+
25+
.Additional resources
26+
* xref:../installing/index.adoc#ocp-installation-overview[Installing an {product-title} cluster]

modules/restarting-installation.adoc

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
// Module included in the following assemblies:
2+
//
3+
// installing/installing-troubleshooting.adoc
4+
5+
[id="restarting-installation_{context}"]
6+
= Reinstalling the {product-title} cluster
7+
8+
If you are unable to debug and resolve issues in the failed {product-title} installation, consider installing a new {product-title} cluster. Before starting the installation process again, you must complete thorough cleanup.
9+
For a user-provisioned infrastructure (UPI) installation, you must manually destroy the cluster and delete all associated resources. The following procedure is for an installer-provisioned infrastructure (IPI) installation.
10+
11+
.Procedure
12+
13+
. Destroy the cluster and remove all the resources associated with the cluster, including the hidden installer state files in the installation directory:
14+
+
15+
[source, terminal]
16+
----
17+
$ ./openshift-install destroy cluster --dir=<installation_directory> <1>
18+
----
19+
<1> `installation_directory` is the directory you specified when you ran `./openshift-install create cluster`. This directory contains the {product-title}
20+
definition files that the installation program creates.
21+
22+
. Before reinstalling the cluster, delete the installation directory:
23+
+
24+
[source, terminal]
25+
----
26+
$ rm -rf <installation_directory>
27+
----
28+
29+
. Follow the procedure for installing a new {product-title} cluster.

0 commit comments

Comments
 (0)