This guide explains how to deploy OpenShift on Bare Metal (UPI) in a VMware environment using a Service Node, Bootstrap Node, Control Plane, and Worker Nodes.
Log in to Redhat Console:
Goto - > Clusters -> Data Center -> Other Datacenter Options -> (Bare Mtail /x86_64)
References:
Requirements:
|
0 |
Service node/bastion |
Any linux, I am using Rocky |
2 interfaces: Eth0 , eth1 Eth0 for external, using NAT, automatic IP. Eth1 is internal hostonly. (192.168.22.1/24) |
|
Services |
Firewall/router, DNS, webserver, ingress |
||
|
Openshift Installer |
Installer script from console.redhat |
||
|
Pull secret |
From redhat console |
||
|
Cli agent tools |
Client tools |
||
|
Redhat core os iso file to boot |
Rhcos*.io |
||
|
Redhat core os raw.gz file |
Rhcos*.raw.gz |
||
|
Ignition files |
Run with raw.gz files on nodes with the coreos-installer command |
||
|
|
NAT, IP forwarding |
Enable using firewalld |
From internal to external |
|
1 |
Bootstrap node |
based on the installer |
nmtui:ip 22.200, gw 22.1, ns: 22.1, search domain: ocp.lan |
|
2 |
Masters |
based on the installer |
nmtui:ip 22.201-203, gw 22.1, ns: 22.1, search domain: ocp.lan |
|
3 |
Workers |
based on the installer |
nmtui :ip 22.211-213, gw 22.1, ns: 22.1, search domain: ocp.lan |
|
4 |
VMware VMX files |
In all VMs' vmx file, add this before booting |
Disk.EnableUUID = "TRUE" |
|
5 |
Vm storage |
Check drive type ·
SCSI / SATA controllers →
Devices show up as /dev/sdX. ·
NVMe controllers →
Devices show up as /dev/nvmeXnY |
lsblk |