1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00
Files
openshift-docs/modules/installing-ocp-agent-verify.adoc
2023-10-30 10:13:25 -04:00

91 lines
2.7 KiB
Plaintext

// Module included in the following assemblies:
//
// * installing/installing-with-agent-based-installer/installing-with-agent-based-installer.adoc
:_mod-docs-content-type: PROCEDURE
[id="installing-ocp-agent-verify_{context}"]
= Tracking and verifying installation progress
Use the following procedure to track installation progress and to verify a successful installation.
.Procedure
. Optional: To know when the bootstrap host (rendezvous host) reboots, run the following command:
+
[source,terminal]
----
$ ./openshift-install --dir <install_directory> agent wait-for bootstrap-complete \ <1>
--log-level=info <2>
----
<1> For `<install_directory>`, specify the path to the directory where the agent ISO was generated.
<2> To view different installation details, specify `warn`, `debug`, or `error` instead of `info`.
+
.Example output
[source,terminal]
----
...................................................................
...................................................................
INFO Bootstrap configMap status is complete
INFO cluster bootstrap is complete
----
+
The command succeeds when the Kubernetes API server signals that it has been bootstrapped on the control plane machines.
. To track the progress and verify successful installation, run the following command:
+
[source,terminal]
----
$ openshift-install --dir <install_directory> agent wait-for install-complete <1>
----
<1> For `<install_directory>` directory, specify the path to the directory where the agent ISO was generated.
+
.Example output
[source,terminal]
----
...................................................................
...................................................................
INFO Cluster is installed
INFO Install complete!
INFO To access the cluster as the system:admin user when using 'oc', run
INFO export KUBECONFIG=/home/core/installer/auth/kubeconfig
INFO Access the OpenShift web-console here: https://console-openshift-console.apps.sno-cluster.test.example.com
----
[NOTE]
====
If you are using the optional method of {ztp} manifests, you can configure IP address endpoints for cluster nodes through the `AgentClusterInstall.yaml` file in three ways:
* IPv4
* IPv6
* IPv4 and IPv6 in parallel (dual-stack)
IPv6 is supported only on bare metal platforms.
====
.Example of dual-stack networking
[source,yaml,subs="attributes+"]
----
apiVIP: 192.168.11.3
ingressVIP: 192.168.11.4
clusterDeploymentRef:
name: mycluster
imageSetRef:
name: openshift-{product-version}
networking:
clusterNetwork:
- cidr: 172.21.0.0/16
hostPrefix: 23
- cidr: fd02::/48
hostPrefix: 64
machineNetwork:
- cidr: 192.168.11.0/16
- cidr: 2001:DB8::/32
serviceNetwork:
- 172.22.0.0/16
- fd03::/112
networkType: OVNKubernetes
----