Skip to content

Commit 1690c1b

Browse files
author
Talia Shwartzberg
committed
HCIDOCS-474-OCI: AI installation on OCI bare metal
1 parent b1caac8 commit 1690c1b

11 files changed

+312
-131
lines changed

installing/installing_oci/installing-oci-assisted-installer.adoc

Lines changed: 28 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ include::_attributes/common-attributes.adoc[]
66

77
toc::[]
88

9-
From {product-title} {product-version} and later versions, you can use the {ai-full} to install a cluster on {oci-first} by using infrastructure that you provide.
9+
You can use the {ai-full} to install a cluster on {oci-first}. This method is recommended for most users, and requires an internet connection.
10+
11+
If you want to set up the cluster manually or using other automation tools, or if you are working in a disconnected environment, you can use the Red Hat Agent-based Installer for the installation. For details, see xref:../../installing/installing_oci/installing-oci-agent-based-installer.adoc#installing-oci-agent-based-installer[Installing a cluster on {oci-first-no-rt} by using the Agent-based Installer].
1012

1113
// The Assisted Installer and OCI overview
1214
include::modules/installing-oci-about-assisted-installer.adoc[leveloffset=+1]
@@ -15,15 +17,26 @@ include::modules/installing-oci-about-assisted-installer.adoc[leveloffset=+1]
1517
.Additional resources
1618

1719
* link:https://access.redhat.com/documentation/en-us/assisted_installer_for_openshift_container_platform/[{ai-full} for {product-title}]
20+
* link:https://docs.oracle.com/en-us/iaas/Content/openshift-on-oci/installing-assisted.htm[Installing a Cluster with Red Hat's {ai-full} (Oracle documentation)]
1821
* xref:../../installing/installing_platform_agnostic/installing-platform-agnostic.adoc#cluster-entitlements_installing-platform-agnostic[Internet access for {product-title}]
19-
* link:https://docs.oracle.com/en-us/iaas/Content/Block/Concepts/blockvolumeperformance.htm#vpus[Volume Performance Units (Oracle documentation)]
20-
* link:https://docs.oracle.com/iaas/Content/openshift-on-oci/installing-agent-about-instance-configurations.htm[Instance Sizing Recommendations for {product-title} on {oci} Nodes (Oracle) documentation]
2122
22-
// Creating OCI resources and services
23+
// Preparing the OCI environment
2324
include::modules/creating-oci-resources-services.adoc[leveloffset=+1]
2425

2526
// Using the Assisted Installer to generate an OCI-compatible discovery ISO image
26-
include::modules/using-assisted-installer-oci-agent-iso.adoc[leveloffset=+1]
27+
[id="using-assisted-installer-oci-agent-iso_{context}"]
28+
== Using the {ai-full} to generate an {oci}-compatible discovery ISO image
29+
30+
Create the cluster configuration and generate the discovery ISO image in the {ai-full} web console.
31+
32+
.Prerequisites
33+
34+
* You created a child compartment and an object storage bucket on {oci}. For details, see _Preparing the {oci} environment_.
35+
* You reviewed details about the {product-title} installation and update processes.
36+
37+
include::modules/using-assisted-installer-oci-create-cluster.adoc[leveloffset=+2]
38+
39+
include::modules/using-assisted-installer-oci-agent-iso.adoc[leveloffset=+2]
2740

2841
[role="_additional-resources"]
2942
.Additional resources
@@ -35,7 +48,15 @@ include::modules/using-assisted-installer-oci-agent-iso.adoc[leveloffset=+1]
3548
include::modules/provision-oci-infrastructure-ocp-cluster.adoc[leveloffset=+1]
3649

3750
// Completing the remaining Assisted Installer steps
38-
include::modules/complete-assisted-installer-oci.adoc[leveloffset=+1]
51+
52+
[id="completing-assisted-installer-oci_{context}"]
53+
== Completing the remaining {ai-full} steps
54+
55+
After you provision {oci-first} resources and upload {product-title} custom manifest configuration files to {oci}, you must complete the remaining cluster installation steps on the {ai-full} before you can create an instance {oci}. These steps include assigning node roles and adding custom manifests.
56+
57+
include::modules/complete-assisted-installer-oci-node-roles.adoc[leveloffset=+2]
58+
59+
include::modules/complete-assisted-installer-oci-custom-manifests.adoc[leveloffset=+2]
3960

4061
[role="_additional-resources"]
4162
.Additional resources
@@ -52,4 +73,5 @@ include::modules/installing-troubleshooting-assisted-installer-oci.adoc[leveloff
5273
.Additional resources
5374

5475
* link:https://docs.oracle.com/iaas/Content/openshift-on-oci/openshift-troubleshooting.htm[Troubleshooting {product-title} on {oci} (Oracle documentation)]
76+
5577
* xref:../../installing/installing_on_prem_assisted/installing-on-prem-assisted.adoc#using-the-assisted-installer_installing-on-prem-assisted[Installing an on-premise cluster using the {ai-full}]
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * installing/installing_oci/installing-oci-assisted-installer.adoc
4+
5+
:_mod-docs-content-type: PROCEDURE
6+
[id="adding-custom-manifests-oci_{context}"]
7+
= Adding custom manifests
8+
9+
Add the mandatory custom manifests provided by Oracle. For details, see link:https://github.com/dfoster-oracle/oci-openshift/blob/v1.0.0-release-preview/custom_manifests/README.md[Custom Manifests (Oracle documentation).]
10+
11+
.Prerequisites
12+
13+
* You copied the `dynamic_custom_manifest.yml` file from the Terraform stack in {oci}. For details, see "Provisioning {oci} infrastructure for your cluster".
14+
15+
.Procedure
16+
17+
. On the *Custom manifests* page, in the *Folder* field, select `manifests`. This is the {ai-full} folder where you want to save the custom manifest file.
18+
19+
. In the *File name* field, enter a filename, for example, `dynamic_custom_manifest.yml`.
20+
21+
. Paste the contents of the `dynamic_custom_manifest.yml` file that you copied from {oci}:
22+
23+
.. In the *Content* section, click the *Paste content* icon.
24+
25+
.. If you are using Firefox, click *OK* to close the dialog box, and then press *Ctrl+V*. Otherwise, skip this step.
26+
27+
. Click *Next* to save the custom manifest.
28+
29+
. From the *Review and create* page, click *Install cluster* to create your {product-title} cluster on {oci}.
30+
31+
After the cluster installation and initialization operations, the {ai-full} indicates the completion of the cluster installation operation. For more information, see "Completing the installation" section in the {ai-full} for {product-title} document.
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * installing/installing_oci/installing-oci-assisted-installer.adoc
4+
5+
:_mod-docs-content-type: PROCEDURE
6+
[id="assigning-node-roles-oci_{context}"]
7+
= Assigning node roles
8+
9+
Following host discovery, the role of all nodes appears as *Auto-assign* by default. Change each of the node roles to either *Control Plane node* or *Worker*.
10+
11+
.Prerequisites
12+
13+
* You created and applied the Terraform stack in {oci}. For details, see "Provisioning {oci} infrastructure for your cluster".
14+
15+
.Procedure
16+
17+
. From the {ai-full} user interface, go to the *Host discovery* page.
18+
19+
. Under the *Role* column, select either *Control plane node* or *Worker* for each targeted hostname. Then click *Next*.
20+
+
21+
[NOTE]
22+
====
23+
. Before continuing to the next step, wait for each node to reach `Ready` status.
24+
. Expand the node to verify that the hardware type is bare metal.
25+
====
26+
27+
. Accept the default settings for the *Storage* and *Networking* pages. Then click *Next*.

modules/complete-assisted-installer-oci.adoc

Lines changed: 0 additions & 39 deletions
This file was deleted.

modules/creating-oci-resources-services.adoc

Lines changed: 26 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,38 @@
44

55
:_mod-docs-content-type: PROCEDURE
66
[id="creating-oci-resources-services_{context}"]
7-
= Creating {oci} resources and services
7+
= Preparing the {oci} environment
88

9-
Create {oci-first} resources and services so that you can establish infrastructure with governance standards that meets your organization's requirements.
9+
Before installing {product-title} using Assisted Installer, create the necessary resources and download the configuration file in the {oci} environment.
1010

1111
.Prerequisites
1212

13-
* You configured an {oci} account to host the cluster. See link:https://docs.oracle.com/iaas/Content/openshift-on-oci/install-prereq.htm[Prerequisites (Oracle documentation)].
13+
* You have an {oci} account to host the cluster.
14+
* If you use a firewall and you plan to use a Telemetry service, you configured your firewall to allow {product-title} to access the sites required.
1415
1516
.Procedure
1617

1718
. Log in to your link:https://cloud.oracle.com/a/[{oci-first-no-rt}] account with administrator privileges.
1819

19-
. Download an archive file from an Oracle resource. The archive file includes files for creating cluster resources and custom manifests. The archive file also includes a script, and when you run the script, the script creates {oci} resources, such as DNS records, an instance, and so on. For more information, see link:https://docs.oracle.com/iaas/Content/openshift-on-oci/install-prereq.htm#install-configuration-files[Configuration Files (Oracle documentation)].
20+
. Configure the account by defining the link:https://docs.oracle.com/iaas/Content/openshift-on-oci/install-prereq.htm[Cloud Accounts and Resources (Oracle documentation)]. Ensure that you create the following resources:
21+
22+
.. Create a child compartment for organizing, restricting access, and setting usage limits to {oci} resources. For the full procedure, see link:https://docs.oracle.com/en-us/iaas/Content/Identity/compartments/To_create_a_compartment.htm#To[Creating a Compartment (Oracle documentation)].
23+
24+
.. Create a new object storage bucket into which you will upload the discovery ISO image.
25+
For the full procedure, see link:https://docs.oracle.com/en-us/iaas/Content/Object/Tasks/managingbuckets_topic-To_create_a_bucket.htm#top[Creating an Object Storage Bucket (Oracle documentation)].
26+
27+
. Download the latest version of the `create-cluster-vX.X.X.zip` configuration file from the link:https://github.com/oracle-quickstart/oci-openshift[`oracle-quickstart/oci-openshift`] repository. This file
28+
provides the infrastructure for the cluster and contains configurations for the following:
29+
+
30+
--
31+
** *Terraform Stacks*: The Terraform stack code for provisioning {oci} resources to create and manage {product-title} clusters on {oci}.
32+
33+
** *Custom Manifests*: The manifest files needed for the installation of {product-title} clusters on {oci}.
34+
--
35+
+
36+
[NOTE]
37+
====
38+
To make any changes to the manifests, you can clone the entire Oracle GitHub repository and access the `custom_manifests` and `terraform-stacks` directories directly.
39+
====
40+
+
41+
For details, see link:https://docs.oracle.com/iaas/Content/openshift-on-oci/install-prereq.htm#install-configuration-files[Configuration Files (Oracle documentation)].

modules/installing-oci-about-assisted-installer.adoc

Lines changed: 68 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,34 +4,87 @@
44

55
:_mod-docs-content-type: CONCEPT
66
[id="installing-oci-about-assisted-installer_{context}"]
7-
= The {ai-full} and {oci} overview
7+
= About the {ai-full} and {oci} integration
88

99
You can run cluster workloads on {oci-first} infrastructure that supports dedicated, hybrid, public, and multiple cloud environments. Both Red{nbsp}Hat and Oracle test, validate, and support running {oci} in an {product-title} cluster on {oci}.
1010

11-
The {ai-full} supports the {oci} platform, and you can use the {ai-full} to access an intuitive interactive workflow for the purposes of automating cluster installation tasks on {oci}.
11+
This section explains how to use the {ai-full} to install an {product-title} cluster on the {oci} platform. The installation deploys cloud-native components such as {oci-ccm-full} and {oci-csi-full}, and integrates your cluster with {oci} API resources such as instance node, load balancer, and storage.
1212

13-
.Workflow for using the {ai-full} in a connected environment to install a cluster on {oci}
13+
The installation process uses the {product-title} discovery ISO image provided by Red Hat, together with the scripts and manifests provided and maintained by {oci}.
1414

15-
image::684_OpenShift_Installing_on_OCI_0724_assisted.png[Image of a high-level workflow for using the Assisted Installer in a connected environment to install a cluster on {oci}]
15+
[id="installing-oci-preinstallation-considerations_{context}"]
16+
== Preinstallation considerations
1617

17-
{oci} provides services that can meet your needs for regulatory compliance, performance, and cost-effectiveness. You can access {oci} Resource Manager configurations to provision and configure {oci} resources.
18+
Before installing {product-title} on {oci-first-no-rt}, you must consider the following configuration choices.
1819

19-
[IMPORTANT]
20-
====
21-
The steps for provisioning {oci} resources are provided as an example only. You can also choose to create the required resources through other methods; the scripts are just an example. Installing a cluster with infrastructure that you provide requires knowledge of the cloud provider and the installation process on {product-title}. You can access {oci} Resource Manager configurations to complete these steps, or use the configurations to model your own custom script.
22-
====
20+
.Deployment platforms
2321

24-
Follow the steps in the _Installing a cluster on {oci-first-no-rt} by using the Assisted Installer_ document to understand how to use the {ai-full} to install a {product-title} cluster on {oci}. This document demonstrates the use of the {oci} Cloud Controller Manager (CCM) and Oracle’s Container Storage Interface (CSI) objects to link your {product-title} cluster with the {oci} API.
22+
The integration between {product-title} and {oci-first-no-rt} is certified on both virtual machines (VMs) and bare-metal (BM) machines. Bare-metal installations using iSCSI boot drives require a secondary vNIC that is automatically created in the Terraform stack provided by Oracle.
23+
24+
Before you create a virtual machine (VM) or bare-metal (BM) machine, you must identify the relevant {oci} shape. For details, see the following resource:
25+
26+
* link:https://catalog.redhat.com/cloud/detail/216977[Cloud instance types (Red{nbsp}Hat Ecosystem Catalog portal)].
27+
28+
.VPU sizing recommendations
2529

26-
[IMPORTANT]
27-
====
2830
To ensure the best performance conditions for your cluster workloads that operate on {oci}, ensure that volume performance units (VPUs) for your block volume are sized for your workloads. The following list provides guidance for selecting the VPUs needed for specific performance needs:
2931

3032
* Test or proof of concept environment: 100 GB, and 20 to 30 VPUs.
3133
* Basic environment: 500 GB, and 60 VPUs.
3234
* Heavy production environment: More than 500 GB, and 100 or more VPUs.
3335

34-
Consider reserving additional VPUs to provide sufficient capacity for updates and scaling activities. For more information about VPUs, see Volume Performance Units (Oracle documentation).
35-
====
36+
Consider reserving additional VPUs to provide sufficient capacity for updates and scaling activities. For more information about VPUs, see link:https://docs.oracle.com/en-us/iaas/Content/Block/Concepts/blockvolumeperformance.htm#vpus[Volume Performance Units (Oracle documentation)].
37+
38+
.Instance sizing recommendations
39+
40+
Find recommended values for compute instance CPU, memory, VPU, and volume size for {product-title} nodes. For details, see link:https://docs.oracle.com/en-us/iaas/Content/openshift-on-oci/installing-agent-about-instance-configurations.htm[Instance Sizing Recommendations for {product-title} on {oci} Nodes (Oracle documentation)].
41+
42+
[id="installing-oci-workflow_{context}"]
43+
== Workflow
44+
45+
////
46+
Diagram will be updated and replace steps in a future task:
47+
48+
The procedure for using the {ai-full} in a connected environment to install a cluster on {oci} is illustrated in the diagram below.
49+
50+
image::684_OpenShift_Installing_on_OCI_0724_assisted.png[Image of a high-level workflow for using the Assisted Installer in a connected environment to install a cluster on {oci}]
51+
////
52+
53+
The procedure for using the {ai-full} in a connected environment to install a cluster on {oci} is outlined below:
54+
55+
. In the {oci} console, configure an {oci} account to host the cluster:
3656

37-
If you are unfamiliar with the {product-title} {ai-full}, see "Assisted Installer for {product-title}".
57+
.. Create a new child compartment under an existing compartment.
58+
59+
.. Create a new object storage bucket or use one provided by {oci}.
60+
61+
.. Download the stack file template stored locally.
62+
63+
. In the {ai-full} console, set up a cluster:
64+
65+
.. Enter the cluster configurations.
66+
67+
.. Generate and download the discovery ISO image.
68+
69+
. In the {oci} console, create the infrastructure:
70+
71+
.. Upload the discovery ISO image to the {oci} bucket.
72+
73+
.. Create a Pre-Authenticated Request (PAR) for the ISO image.
74+
75+
.. Upload the stack file template, and use it to create and apply the stack.
76+
77+
.. Copy the custom manifest YAML file from the stack.
78+
79+
. In the {ai-full} console, complete the cluster installation:
80+
81+
.. Set roles for the cluster nodes.
82+
83+
.. Upload the manifests provided by Oracle.
84+
85+
.. Install the cluster.
86+
87+
[IMPORTANT]
88+
====
89+
The steps for provisioning {oci} resources are provided as an example only. You can also choose to create the required resources through other methods; the scripts are just an example. Installing a cluster with infrastructure that you provide requires knowledge of the cloud provider and the installation process on {product-title}. You can access {oci} configurations to complete these steps, or use the configurations to model your own custom script.
90+
====

0 commit comments

Comments
 (0)