baelen-git / Provision-OpenShift-Baremetal

This repository will hold everything you need to setup the Intersight workflow to provision OpenShift baremetal clusters.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Description

This repository will hold everything you need to setup the Intersight workflow to provision OpenShift baremetal clusters.

Provision OpenShift BM workflow

Pre-requisites

  1. An Intersight account
  2. 3 or more UCS servers claimed into intersight
  3. Intersight premier licenses (90 day trail avaialble)
  4. Server Profile Template (example provided)
  5. Linux server to host the generated ISO (AWS free tier will suffice, but on-prem is supported through the Intersight Assist.)
  6. (optional) create the DNS entries included the PTR records for reverse DNS lookup.

Steps

  1. Create your Policies and Profiles.
    Please following the instuctions in the example directory to load the provided example.
  2. Login to your Linux server and run the docker container
docker run -d -p 80:80 baelen/iso-host
  1. Claim the ISO Host in Intersight as a HTTP target.
    Under Targets click on Claim
    1. Select the HTTP endpoint and click next
    2. If you require an Intersight Assist to connect to your apache server select it first.
    3. Enter the Name, Hostname for your apache server
    4. Use Port 80
    5. No Authentication is required.
    6. No HTTPS needs to be enabled.
  2. Import the workflow. After importing the workflow should show as invalid.
  3. Modify the workflow to use the ISO Host target.
    Open the workflow and go to General -> Workflow Variables.
    1. Behind ISO_HOST click on Pen icon to edit the variable.
    2. Under "Default Value" click on "Select Default Value"
    3. Select your ISO_HOST click on select and then save.
    4. Hit Save again. Your workflow should now be valid.
  4. Execute the workflow.

Validated Setup

UCS C220-M5 Rackmount with 2x M.2 drives If you modify the Server Profile Template this workflow should support other hardware configurations.

About

This repository will hold everything you need to setup the Intersight workflow to provision OpenShift baremetal clusters.