Batch Library¶
This content package is a collection of useful stages and operations for Digital Rebar focusing Batch operations.
An example set of blueprints for running a scan.
An example batch object that could use these simple example pieces.
---
SetupWorkOrderTemplate:
Blueprint: batch-run
Filter: 'cluster/tags=In(event-worker-pool)'
Params:
batch/iterator: "Uuid"
batch/iterator-param: "scan/machine-uuid"
batch/filter-type: machines
batch/filter: 'Params.scannable=Eq(true)'
batch/limit: 10000
batch/order: sort=scan/last-scan-time
WorkOrderTemplate:
Blueprint: audit-scan-me-simple
Filter: 'cluster/tags=In(event-worker-pool)'
PostWorkOrderTemplate:
Blueprint: audit-complete-simple
Filter: 'cluster/tags=In(event-worker-pool)'
This assumes that there is a worker pool named event-worker-pool available. This also assumes that all machines that
are to be scanned have a parameter, scannable, is set to true.
Hardware Audit¶
The hardware-audit-* content runs a nightly out-of-band BIOS and firmware audit through each machine's Redfish BMC
on a rotating subset of machines, records hardware-audit/status and hardware-audit/result on each machine, and
optionally stages remediation with apply time OnReset. It is driven by the hardware-audit-nightly trigger, which
is enabled by setting trigger/hardware-audit-nightly-enabled to true on the global profile.