11.22. Universal Workflow Operations

This section will address usage of the Universal Workflow system. The architecture and implementation of the Universal Workflow system is described at Universal Workflow Architecture.

11.22.1. Actions

11.22.1.1. Applying an Application

11.22.1.2. Building an Application

11.22.1.3. Modifying Discovery Classifier

11.22.1.4. Adding Tasks to a Workflow

11.22.1.5. Configuring Callbacks

11.22.1.6. Using Validations

11.22.2. Provided Workflows

The following workflows are the default set of universal workflows. Using these are starting points that do most default operations needed to operate a data center.

Each workflow defines what it requires on start and set on completion. These actions allow for the workflows to work together. For example, Discover should set the needed parameters for driving Hardware and the networking in the other workflows. These are the elements defined by the universal parts of these components.

Universal depends upon:

  • Digital Rebar Community Content Pack

  • Task Library Content Pack

  • FlexiFlow Content Pack

  • Validation Content Pack

  • Callback Plugin

  • Classification Content Pack

Core Universal Workflows are detailed below.

11.22.2.1. Discover

This workflow handles discovery a machine and inventories the machine. It also will validate the basic initial pieces. The final piece is classification to drive additional workflows if needed.

NOTE: Discover assumes that it is running in sledgehammer.

The default stages for discover are:

  • discover

  • inventory-minimal

  • centos-setup-repos

  • ipmi-inventory

  • bios-inventory

  • raid-inventory

  • network-lldp

  • inventory

A common set of post discover flexiflow tasks would be

  • rack-discover

  • universal-classify

  • universal-host-crt-callback

11.22.2.2. Start

This workflow handles starting a virtual machine or context that does not need a full bare metal discovery (see Discover). It also will validate the basic initial pieces. The final piece is classification to drive additional workflows if needed.

NOTE: Unlike Discover, Start does not assumes that is running in sledgehammer.

The default stages for start are:

  • start

  • drp-agent

  • inventory-minimal

  • cloud-inventory

  • network-lldp

  • inventory

11.22.2.3. Hardware IPMI, Flash, RAID and BIOS Configure

This workflow is used to configure hardware and burnin that state. It is also the place where BMC certificates are loaded.

The workflow assumes that the parameters of configuration have been set. See Modifying Discovery Classifier and Build Baseline.

11.22.2.4. Build Baseline

This workflow is used outside of a universal workflow to snapshot the hardware state of a machine and builds profiles named such they work with the universal-classify stage/task.

11.22.2.5. ESXi Kickstart, Install, Config

Installs ESXi through multiple steps.

11.22.2.6. Solidfire RTFI

Handles updating and setting up SolidFire systems through RTFI process

11.22.2.7. Linux Install

Handles installing a linux operating system via network boot (kickstart or preseed).

Alternative Provisioning process in which disk images are written directly to media instead of being installed via kickstart or preseed.

11.22.2.8. Linux Join

Runs standard install processes on Linux systems that are being added to Digital Rebar but where installed by another system (like a Cloud).

11.22.2.9. Image Deploy

Image Deploy - Handles deploying an image-based system

11.22.2.10. Image Capture

This is not a universal workflow in itself. By altering the linux-install workflow with the following tasks….

this goes in the linux post install pre reboot.

  • image-reset-package-repos

  • image-update-packages

  • image-install-cloud-init

  • image-builder-cleanup

  • image-capture

11.22.2.11. Digital Rebar Bootstrap

This pipeline is used to bootstrap Digital Rebar Servers.

11.22.2.12. Runbook Processing

Provides configuration management operations (e.g.: Ansible, Chef, Puppet, Salt) for installed machines.

11.22.2.13. Cluster Provision

Uses Cluster Managers (v4.8+) to manage clusters of machines.

11.22.2.14. Resource Broker Provision

Uses Resource Brokers (v4.8+) to provision and decommission cloud and virtual infratructure.

11.22.2.15. Burnin

Stress testing for system verification and validation before production deployment.

11.22.2.16. Decomission

Decomission is used to clear, wipe and otherwise reset machines that are being removed from service.

11.22.2.17. Rebuild

Redrives the system through the process as a reset operation.

11.22.2.18. Decommission

Handles decommissioning hardware by removing data from systems and cleans them up for reuse or disposal.

11.22.2.19. Maintenance

Sets the system to go into non-destructive Hardware and returnes toe LocalIdle

11.22.2.20. Local

Starts the existing O/S installed on the system without image or network provisioning.

11.22.2.21. SledgehammerWait

SledgehammerWait - End state for waiting or debugging