Home > Workload Solutions > Container Platforms > Red Hat OpenShift Container Platform > Guides > Implementation Guide—Red Hat OpenShift Container Platform 4.14 on AMD-powered Dell Infrastructure > Assisted Installer deployment
Use the Assisted Installer that is available on the Red Hat hybrid cloud console (access requires Red Hat login credentials).
Ensure that:
Note: Ensure that there is no wildcard entry such as *.<cluster-name>.<base-domain> on the DNS.
If DNS is not already present in the network:
[ansible@csah-ai ~]$ git clone https://github.com/dell-esg/openshift-bare-metal.git
[ansible@csah-ai ~]$ cd <git clone dir>/openshift-bare-metal
[ansible@csah-ai openshift-bare-metal]$ git checkout origin/ecws_ocp414
Note: Ensure that you modify only values in the file. Keys must always remain the same.
cd <git clone dir>/openshift-bare-metal/python
[ansible@csah-ai python]$ python3 generate_inventory_file.py
–-run --id_user <idrac user> --id_pass <idrac password> –-nodes nodes.yaml
Note: If the iDRAC user and password are the same across all control-plane and compute nodes, run the program using the --id_user and --id_pass arguments.
Is there a backup management node [yes/No]: No
installation type:
1. UPI
2. IPI
3. Assisted Installer
enter install type: 3
The next option lets you set up a DNS server on the CSAH node or use an existing DNS in the network.
Do you want to install DNS on CSAH [yes/No]: yes
specify a DNS forwarder if necessary (yes/No): yes
enter the DNS forwarder IP: 10.8.8.8
specify cluster name
default [ocp]: aiamd414
specify zone file
default [/var/named/aiamd414.zones]:
enter API virtual IP: 192.168.35.211
adding api_ip: 192.168.35.211
enter ingress virtual IP: 192.168.35.212
adding wildcard_ip: 192.168.35.212
Do you want to install DHCP server on CSAH [yes/No]:
The program creates two files in the <git clone dir>/openshift-bare-metal/python directory: generated_inventory and ansible.yaml.
[ansible@csah-ai ansible] $ pwd
/home/ansible/openshift-bare-metal/ansible
[ansible@csah-ai ansible] $ ansible-playbook -i generated_inventory ansible.yaml
To create a cluster using the Assisted Installer UI:
Note: All DNS records must be subdomains of this base domain and include the cluster name. You cannot change the base domain after installing the cluster.
If you select Static IP, bridges, and bonds the Static network configurations tab is enabled.
To use nmstate config in the YAML view, see this sample file.
Enter the required information and click Next.
Note: You can use an existing SSH key on the CSAH node or generate a new key pair using ssh-keygen. Enter the required details as prompted.
After 15 minutes, the host is discovered and displayed on the Assisted Installer portal, as shown in the following figure:
Select the Role of each of the nodes, master or worker, and click Next.
An API virtual IP address provides an endpoint for all users to interact with and configure the platform. An Ingress virtual IP address provides an endpoint for application traffic flowing from outside the cluster. Ensure that the DNS is configured with entries for API and Ingress IP addresses.
After the installation process finishes, the cluster status is displayed on the Red Hat Assistant Installer portal, as shown in the following figure.
oc get nodes
oc get co
If you add compute nodes to scale up an OpenShift cluster that you installed using Assisted Installer, ensure that:
If the DNS is hosted on the CSAH node, update the /var/named/<zone> file, and then run the following command to restart the named service:
systemctl restart named
To expand an existing cluster:
i Select Static Host Network Configuration and click Next.
ii In the Static Network Configurations tab, provide the DNS IP, machine network, and default gateway.
After a few minutes, the host is discovered and displayed on the Assisted Installer portal.
Within a few minutes, the node status on the Assisted Installer portal changes to Installed and the node joins the cluster.
oc get csr -o name | xargs oc adm certificate approve
oc get nodes