Skip to content

Commit 43ec48d

Browse files
committed
TELCODOCS-754: Added prerequisite and installation modules for AI SaaS..
1 parent f1f020b commit 43ec48d

15 files changed

+463
-9
lines changed

_topic_maps/_topic_map.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,10 @@ Topics:
290290
Topics:
291291
- Name: Installing an on-premise cluster using the Assisted Installer
292292
File: installing-on-prem-assisted
293+
- Name: Preparing to install
294+
File: assisted-installer-preparing-to-install
295+
- Name: Installing with the Assisted Installer
296+
File: assisted-installer-installing
293297
- Name: Installing on a single node
294298
Dir: installing_sno
295299
Distros: openshift-enterprise
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
:_content-type: ASSEMBLY
2+
[id="installing-with-ai"]
3+
= Installing with the Assisted Installer
4+
include::_attributes/common-attributes.adoc[]
5+
:context: assisted-installer-installing
6+
7+
toc::[]
8+
9+
After you ensure the cluster nodes and network requirements are met, you can begin installing the cluster.
10+
11+
include::modules/assisted-installer-pre-installation-considerations.adoc[leveloffset=+1]
12+
13+
include::modules/assisted-installer-setting-the-cluster-details.adoc[leveloffset=+1]
14+
15+
include::modules/assisted-installer-configuring-host-network-interfaces.adoc[leveloffset=+1]
16+
17+
[role="_additional_resources"]
18+
.Additional resources
19+
* xref:../installing_bare_metal_ipi/ipi-install-installation-workflow.adoc#configuring-host-network-interfaces-in-the-install-config-yaml-file_ipi-install-installation-workflow[Configuring network interfaces]
20+
21+
* link:http://nmstate.io[NMState version 2.1.4]
22+
23+
include::modules/assisted-installer-adding-hosts-to-the-cluster.adoc[leveloffset=+1]
24+
25+
include::modules/installing-with-usb-media.adoc[leveloffset=+1]
26+
27+
include::modules/assisted-installer-booting-with-a-usb-drive.adoc[leveloffset=+1]
28+
29+
include::modules/install-booting-from-an-iso-over-http-redfish.adoc[leveloffset=+1]
30+
31+
[role="_additional_resources"]
32+
.Additional resources
33+
34+
* xref:../installing_bare_metal_ipi/ipi-install-installation-workflow.adoc#bmc-addressing_ipi-install-installation-workflow[BMC addressing].
35+
36+
* xref:../installing_bare_metal_ipi/ipi-install-prerequisites.adoc#ipi-install-firmware-requirements-for-installing-with-virtual-media_ipi-install-prerequisites[Firmware requirements for installing with virtual media]
37+
38+
include::modules/assisted-installer-configuring-hosts.adoc[leveloffset=+1]
39+
40+
include::modules/assisted-installer-configuring-networking.adoc[leveloffset=+1]
41+
42+
include::modules/assisted-installer-installing-the-cluster.adoc[leveloffset=+1]
43+
44+
include::modules/assisted-installer-completing-the-installation.adoc[leveloffset=+1]
45+
46+
47+
[role="_additional_resources"]
48+
[id="ai-saas-installing-additional-resources_{context}"]
49+
== Additional resources
50+
51+
* xref:../../cli_reference/openshift_cli/getting-started-cli.adoc#cli-installing-cli_cli-developer-commands[Installing the OpenShift CLI].
52+
53+
* xref:../../cli_reference/openshift_cli/getting-started-cli.adoc#cli-logging-in_cli-developer-commands[Logging in to the OpenShift CLI]
54+
55+
* xref:../../post_installation_configuration/preparing-for-users.adoc#creating-cluster-admin_post-install-preparing-for-users[Creating a cluster admin]
56+
57+
* xref:../../post_installation_configuration/preparing-for-users.adoc#removing-kubeadmin_post-install-preparing-for-users[Removing the kubeadmin user]
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
:_content-type: ASSEMBLY
2+
[id="preparing-to-install-with-ai"]
3+
= Preparing to install with the Assisted Installer
4+
include::_attributes/common-attributes.adoc[]
5+
:context: assisted-installer-preparing-to-install
6+
7+
toc::[]
8+
9+
Before installing a cluster, you must ensure the cluster nodes and network meet the requirements.
10+
11+
[id="assisted-installer-prerequisites"]
12+
== Prerequisites
13+
14+
* You reviewed details about the xref:../../architecture/architecture-installation.adoc#architecture-installation[{product-title} installation and update] processes.
15+
* You read the documentation on xref:../../installing/installing-preparing.adoc#installing-preparing[selecting a cluster installation method and preparing it for users].
16+
* If you use a firewall, you must xref:../../installing/install_config/configuring-firewall.adoc#configuring-firewall[configure it] so that {ai-full} can access the resources it requires to function.
17+
18+
include::modules/assisted-installer-assisted-installer-prerequisites.adoc[leveloffset=+1]
19+
20+
[role="_additional-resources"]
21+
[id="ai-saas-preparing--to-install-additional-resources_{context}"]
22+
== Additional resources
23+
24+
* xref:../installing_bare_metal_ipi/ipi-install-prerequisites.adoc#ipi-install-firmware-requirements-for-installing-with-virtual-media_ipi-install-prerequisites[Firmware requirements for installing with virtual media]
25+
26+
* xref:../installing_bare_metal_ipi/ipi-install-prerequisites.html#network-requirements-increase-mtu_ipi-install-prerequisites[Increase the network MTU]

installing/installing_on_prem_assisted/installing-on-prem-assisted.adoc

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,15 @@
22
[id="installing-on-prem-assisted"]
33
= Installing an on-premise cluster using the {ai-full}
44
include::_attributes/common-attributes.adoc[]
5-
:context: installing-one-prem-assisted
5+
:context: installing-on-prem-assisted
66

77
toc::[]
88

9-
You can install {product-title} on on-premise hardware or on-premise VMs using the {ai-full}. The {ai-full} provides you with more options for customization than an installer-provisioned installation, while still running pre-flight validations and using smart defaults.
9+
You can install {product-title} on on-premise hardware or on-premise VMs using the {ai-full}. Installing {product-title} using the {ai-full} supports both x86-64 and arm64 CPU architectures.
1010

11-
Installing {product-title} using the {ai-full} supports both x86-64 and arm64 CPU architectures.
11+
include::modules/assisted-installer-using-the-assisted-installer.adoc[leveloffset=+1]
1212

1313
[id="assisted-installer-api-support-policy"]
1414
== API support for the {ai-full}
1515

1616
Supported APIs for the {ai-full} are stable for a minimum of three months from the announcement of deprecation.
17-
18-
19-
//Removed per comments in https://issues.redhat.com/browse/TELCODOCS-655
20-
//include::modules/assisted-installer-release-notes.adoc[leveloffset=+1]
21-
22-
include::modules/assisted-installer-using-the-assisted-installer.adoc[leveloffset=+1]
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
// This is included in the following assemblies:
2+
//
3+
// assisted-installer-installing.adoc
4+
5+
:_content-type: PROCEDURE
6+
[id="adding-hosts-to-the-cluster_{context}"]
7+
= Adding hosts to the cluster
8+
9+
You must add one or more hosts to the cluster. Adding a host to the cluster involves generating a discovery ISO. The discovery ISO runs {op-system-first} in-memory with an agent. Perform the following procedure for each host on the cluster.
10+
11+
.Procedure
12+
13+
. Click the *Add hosts* button and select the installation media.
14+
15+
.. Select *Minimal image file: Provision with virtual media* to download a smaller image that will fetch the data needed to boot. The nodes must have virtual media capability. This is the recommended method.
16+
17+
.. Select *Full image file: Provision with physical media* to download the larger full image.
18+
19+
. Add an SSH public key so that you can connect to the cluster nodes as the `core` user. Having a login to the cluster nodes can provide you with debugging information during the installation.
20+
21+
. Optional: If the cluster hosts are behind a firewall that requires the use of a proxy, select *Configure cluster-wide proxy settings*. Enter the username, password, IP address and port for the HTTP and HTTPS URLs of the proxy server.
22+
23+
. Click *Generate Discovery ISO*.
24+
25+
. Download the discovery ISO.
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
// This is included in the following assemblies:
2+
//
3+
// installing-on-prem-assisted.adoc
4+
:_content-type: CONCEPT
5+
6+
[id='assisted-installer-prerequisites_{context}']
7+
= Assisted Installer prerequisites
8+
9+
The {ai-full} validates the following prerequisites to ensure successful installation.
10+
11+
== Hardware
12+
13+
For control plane nodes or the {sno} node, nodes must have at least the following resources:
14+
15+
* 8 CPU cores
16+
* 16.00 GiB RAM
17+
* 100 GB storage
18+
* 10ms write speed or less for etcd `wal_fsync_duration_seconds`
19+
20+
For worker nodes, each node must have at least the following resources:
21+
22+
* 4 CPU cores
23+
* 16.00 GiB RAM
24+
* 100 GB storage
25+
26+
== Networking
27+
28+
The network must meet the following requirements:
29+
30+
* A DHCP server unless using static IP addressing.
31+
* A base domain name. You must ensure that the following requirements are met:
32+
- There is no wildcard, such as `*.<cluster_name>.<base_domain>`, or the installation will not proceed.
33+
- A DNS A/AAAA record for `api.<cluster_name>.<base_domain>`.
34+
- A DNS A/AAAA record with a wildcard for `*.apps.<cluster_name>.<base_domain>`.
35+
* Port `6443` is open for the API URL if you intend to allow users outside the firewall to access the cluster via the `oc` CLI tool.
36+
* Port `443` is open for the console if you intend to allow users outside the firewall to access the console.
37+
38+
[IMPORTANT]
39+
====
40+
DNS A/AAAA record settings at top-level domain registrars can take significant time to update. Ensure the A/AAAA record DNS settings are working before installation to prevent installation delays.
41+
====
42+
43+
The {product-title} cluster's network must also meet the following requirements:
44+
45+
* Connectivity between all cluster nodes
46+
* Connectivity for each node to the internet
47+
* Access to an NTP server for time synchronization between the cluster nodes
48+
49+
== Preflight validations
50+
51+
The {ai-full} ensures the cluster meets the prerequisites before installation, because it eliminates complex post-installation troubleshooting, thereby saving significant amounts of time and effort. Before installing software on the nodes, the {ai-full} conducts the following validations:
52+
53+
* Ensures network connectivity
54+
* Ensures sufficient network bandwidth
55+
* Ensures connectivity to the registry
56+
* Ensures time synchronization between cluster nodes
57+
* Verifies that the cluster nodes meet the minimum hardware requirements
58+
* Validates the installation configuration parameters
59+
60+
If the {ai-full} does not successfully validate the foregoing requirements, installation will not proceed.
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
// This is included in the following assemblies:
2+
//
3+
// installing_sno/install-sno-installing-sno.adoc
4+
5+
:_content-type: PROCEDURE
6+
[id="booting-with-a-usb-drive_{context}"]
7+
= Booting with a USB drive
8+
9+
To register nodes with the {ai-full} using a bootable USB drive, use the following procedure.
10+
11+
.Procedure
12+
13+
. Attach the {op-system} discovery ISO to the target host.
14+
15+
. Configure the boot drive order in the server BIOS settings to boot from the attached discovery ISO, and then reboot the server.
16+
17+
. On the administration host, return to the browser. Wait for the host to appear in the list of discovered hosts.
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
// This is included in the following assemblies:
2+
//
3+
// assisted-installer-installing.adoc
4+
5+
:_content-type: PROCEDURE
6+
[id="completing-the-installation_{context}"]
7+
= Completing the installation
8+
9+
After the cluster is installed and initialized, the {ai-full} indicates that the installation is finished. The {ai-full} provides the console URL, the `kubeadmin` username and password, and the `kubeconfig` file. Additionally, the {ai-full} provides cluster details including the {product-title} version, base domain, CPU architecture, API and Ingress IP addresses, and the cluster and service network IP addresses.
10+
11+
.Prerequisites
12+
13+
* You have installed the `oc` CLI tool.
14+
15+
16+
.Procedure
17+
18+
. Make a copy of the `kubeadmin` username and password.
19+
20+
. Download the `kubeconfig` file and copy it to the `auth` directory under your working directory:
21+
+
22+
[source,terminal]
23+
----
24+
$ mkdir -p <working_directory>/auth
25+
----
26+
+
27+
[source,terminal]
28+
----
29+
$ cp kubeadmin <working_directory>/auth
30+
----
31+
+
32+
[NOTE]
33+
====
34+
The `kubeconfig` file is available for download for 24 hours after completing the installation.
35+
====
36+
37+
. Add the `kubeconfig` file to your environment:
38+
+
39+
[source,terminal]
40+
----
41+
$ export KUBECONFIG=<your working directory>/auth/kubeconfig
42+
----
43+
44+
. Login with the `oc` CLI tool:
45+
+
46+
[source,terminal]
47+
----
48+
$ oc login -u kubeadmin -p <password>
49+
----
50+
+
51+
Replace `<password>` with the password of the `kubeadmin` user.
52+
53+
. Click on the web console URL or click *Launch OpenShift Console* to open the console.
54+
55+
. Enter the `kubeadmin` username and password. Follow the instructions in the {product-title} console to configure an identity provider and configure alert receivers.
56+
57+
. Add a bookmark of the {product-title} console.
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
// This is included in the following assemblies:
2+
//
3+
// assisted-installer-installing.adoc
4+
5+
:_content-type: PROCEDURE
6+
[id="configuring-host-network-interfaces_{context}"]
7+
= Optional: Configuring host network interfaces
8+
9+
The {ai-full} supports IPv4 networking and dual stack networking. The {ai-full} also supports configuring host network interfaces with the NMState library, a declarative network manager API for hosts. You can use NMState to deploy hosts with static IP addressing, bonds, VLANs and other advanced networking features. If you chose to configure host network interfaces, you must set network-wide configurations. Then, you must create a host-specific configuration for each host and generate the discovery ISO with the host-specific settings.
10+
11+
.Procedure
12+
13+
. Select the internet protocol version. Valid options are *IPv4* and *Dual stack*.
14+
15+
. If the cluster hosts are on a shared VLAN, enter the VLAN ID.
16+
17+
. Enter the network-wide IP addresses. If you selected *Dual stack* networking, you must enter both IPv4 and IPv6 addresses.
18+
19+
.. Enter the cluster network's IP address range in CIDR notation.
20+
21+
.. Enter the default gateway IP address.
22+
23+
.. Enter the DNS server IP addresss.
24+
25+
. Enter the host-specific configuration.
26+
27+
.. If you are only setting a static IP address that uses a single network interface, use the form view to enter the IP address and the MAC address for the host.
28+
29+
.. If you are using multiple interfaces, bonding, or other advanced networking features, use the YAML view and enter the desired network state for the host using NMState syntax.
30+
31+
.. Add the MAC address and interface name for each interface used in your network configuration.
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
// This is included in the following assemblies:
2+
//
3+
// assisted-installer-installing.adoc
4+
5+
:_content-type: PROCEDURE
6+
[id="configuring-hosts_{context}"]
7+
= Configuring hosts
8+
9+
After booting the hosts with the discovery ISO, the hosts will appear in the table at the bottom of the page. You can configure the hostname, role, and installation disk for each host.
10+
11+
.Procedure
12+
13+
. Select a host.
14+
15+
. From the *Actions* list, select *Change hostname*. You must ensure each host has a valid and unique hostname. If necessary, enter a new name for the host and click *Change*.
16+
17+
. For multi-host clusters, in the *Role* column next to the host name, you can click on the menu to change the role of the host.
18+
+
19+
If you do not select a role, the {ai-full} will assign the role automatically. The minimum hardware requirements for control plane nodes exceed that of worker nodes. If you assign a role to a host, ensure that you assign the control plane role to hosts that meet the minimum hardware requirements.
20+
21+
. To the left of the checkbox next to a host name, click to expand the host details. If you have multiple disk drives, you can select a different disk drive to act as the installation disk.
22+
23+
. Repeat this procedure for each host.
24+
25+
Once all cluster hosts appear with a status of *Ready*, proceed to the next step.

0 commit comments

Comments
 (0)