Skip to content

Instantly share code, notes, and snippets.

@rasheedamir
Last active December 2, 2021 21:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rasheedamir/66c7029c1264585a1aa8470bbe9d4e10 to your computer and use it in GitHub Desktop.
Save rasheedamir/66c7029c1264585a1aa8470bbe9d4e10 to your computer and use it in GitHub Desktop.

Prepare for the 'Bare Metal' environment on vSphere

  1. Copy the rhcos-X.X.X-x86_64-installer.x86_64.iso & Red Hat Enterprise Linux 8 iso to an ESXi datastore
  2. Create a new Port Group called 'OCP' under Networking
  3. Create 3 Control Plane virtual machines with minimum settings:
    • Name: ocp-cp-# (Example ocp-cp-1)
    • 8vcpu
    • 32GB RAM
    • 120GB HDD
    • NIC connected to the OCP network
    • Load the rhcos-X.X.X-x86_64-installer.x86_64.iso image into the CD/DVD drive
  4. Create 3 Worker virtual machines (or more if you want) with minimum settings:
    • Name: ocp-w-# (Example ocp-w-1)
    • 8vcpu
    • 32GB RAM
    • 120GB HDD
    • NIC connected to the OCP network
    • Load the rhcos-X.X.X-x86_64-installer.x86_64.iso image into the CD/DVD drive
  5. Create 3 Infra virtual machines (or more if you want) with minimum settings:
    • Name: ocp-w-# (Example ocp-w-1)
    • 16vcpu
    • 64GB RAM
    • 120GB HDD
    • NIC connected to the OCP network
    • Load the rhcos-X.X.X-x86_64-installer.x86_64.iso image into the CD/DVD drive
  6. Create a Bootstrap virtual machine (this vm will be deleted once installation completes) with minimum settings:
    • Name: ocp-boostrap
    • 4vcpu
    • 8GB RAM
    • 120GB HDD
    • NIC connected to the OCP network
    • Load the rhcos-X.X.X-x86_64-installer.x86_64.iso image into the CD/DVD drive
  7. Create a helper virtual machine (bastionn) with minimum settings:
    • Name: ocp-helper
    • 4vcpu
    • 4GB RAM
    • 120GB HDD
    • NIC1 connected to the VM Network (LAN)
    • NIC2 connected to the OCP network
    • Load the CentOS_8.iso image into the CD/DVD drive
  8. Boot all virtual machines so they each are assigned a MAC address
  9. Shut down all virtual machines except for 'ocp-helper'
  10. Use the VMware ESXi dashboard to record the MAC address of each vm, these will be used later to set static IPs
@noseka1
Copy link

noseka1 commented Dec 2, 2021

No openshift installer ISO image needs to be loaded into the CD/DVD drive. Instead of booting from the CD/DVD, virtual machines should boot from the network using PXE.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment