Skip to content

rich-ehrhardt/openshift-bare-metal

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Master branch is updated with OCP 4.3 contents

For OCP 4.2 contents, switch to branch ocp42.

Switch Config - Refer to Chapter 2 to configure switches in OCP 4.3 Deployment Guide

  • Switches S3048, S5232F config files are saved in examples directory
  • S5232F x 2 configured in VLTi
  • S3048 used for iDRAC purposes

Python Script Pre Requisites - Refer to Page 13 Chapter 3 in OCP 4.3 Deployment Guide

  • RHEL OS (Tested in 7.6 - CSAH Node)
  • Python3
  • pip3 packages (pyyaml, requests)

Python Script Execution - Refer to Page 15 Chapter 3 in OCP 4.3 Deployment Guide

  • python3 generate_inventory_file.py

Python Script - Output

  • An inventory file used by ansible to execute roles defined in ocp.yml
  • Script log file (Inventory.log by default)

Ansible Playbooks - Pre-Reqs

  • RedHat subscription (to download ansible rpm and pullsecret for OCP 4.3)
  • Inventory File (generated using python script)

Ansible Playbooks - Execution

  • cd git clone dir/containers/ansible
  • ansible-playbook -i 'Path to inventory file path generated using python script' ocp.yml

Ansible Playbooks - Output

  • Services such as DNS/DHCP/PXE/TFTP/HAProxy are configured in local node using the inventory file generated.

About

Openshift On Bare Metal

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 53.7%
  • HTML 46.3%