Orchestrator¶
Overview¶
Orchestrator manages the post-discovery lifecycle for an Omnia cluster. It deploys OpenCHAMI and, when selected by the catalog, OpenLDAP; converts the PXE mapping into functional groups; registers nodes in OpenCHAMI; creates boot and cloud-init configuration; prepares Kubernetes and Slurm configuration; and can start physical servers through Dell iDRAC PXE boot.
Orchestrator does not discover hardware, synchronize repositories, or build node images. It consumes the outputs of those workflows.
repo_status.yml + catalog JSON build_status.yml pxe_mapping_file.csv
\ | /
\_________________________|_________________________/
|
v
deploy services -> provision -> optional PXE boot
|
v
status, inventory, and failure reports
Prerequisites¶
- Run Orchestrator on the Omnia Infrastructure Manager (OIM).
- Install the dependencies declared by the module:
ansible-core>=2.20, Python packages fromrequirements.txt, and the Ansible collections fromrequirements.yml. - Before running a flow that consumes repository content, complete Repository Manager
and provide a successful
repo_status.ymland its public certificate. These flows areprecheck,provision,execute,pxeboot, and an untagged full run. - Provide the selected deployment catalog for
precheck,credentials,prepare,deploy,provision,execute,validate-deployment, and an untagged full run. Orchestrator usescatalog_file_pathfromorchestrator_config.yml, when configured; otherwise, it usesCATALOG_FILE_PATH, or$OMNIA_DATA_PATH/catalog/catalog_rhel.json. - Before running
precheck,provision,execute, or an untagged full run, complete Image Build Manager and provide a successfulbuild_status.ymlcontaining images for every functional group in the mapping. - Place the discovery-produced PXE mapping in the active project's
Orchestrator input directory, or configure an override in
orchestrator_config.yml. - Configure the OIM environment, including
SYSTEM_ADMIN_NIC_IPV4,SYSTEM_HOSTNAME,SYSTEM_DOMAIN_NAME,OMNIA_DATA_PATH, the optionalORCHESTRATOR_DATA_PATH, andOMNIA_PROJECT_NAME.OMNIA_DATA_PATHdefaults to/opt/omnia, andOMNIA_PROJECT_NAMEdefaults toproject_default. WhenORCHESTRATOR_DATA_PATHis unset, the Orchestrator root is theorchestratordirectory beneathOMNIA_DATA_PATH. - Review the
Orchestrator configuration reference
and provide the inputs required by the selected workflow. The
validateworkflow checks the project configuration and resolved PXE mapping; it does not require credentials, a catalog, or upstream status files.
Input summary¶
Project inputs are staged in the active project's Orchestrator input directory. Upstream outputs remain in the producing domain unless a path override is configured.
| Input | Requirement | Purpose |
|---|---|---|
orchestrator_config.yml |
Required | Selects upstream paths and provisioning, DNS, kernel boot parameters, cloud-init, catalog, DCGM, and PXE behavior. |
network_spec.yml |
Required | Defines the admin network and optional relay and InfiniBand networks. |
pxe_mapping_file.csv |
Required at the default or configured override path | Maps nodes to functional groups and supplies admin and BMC identities. |
omnia_config.yml |
Required | Defines Slurm and service-Kubernetes clusters, optional bolt-on overrides, and storage references. Retain both top-level arrays; use [] for an unselected workload. |
storage_config.yml |
Conditional | Defines storage mounts used by selected clusters. |
security_config.yml |
Required | Supplies security settings for Orchestrator services, including the LDAP connection type and its TLS or SSL behavior. |
high_availability_config.yml |
Required for service Kubernetes | Defines the Kubernetes control-plane virtual IP. |
| Additional cloud-init YAML | Optional | Adds validated common and per-functional-group write_files and runcmd directives during provisioning. Set its absolute path in additional_cloud_init_config_file; additional_cloud_init.yml is the example filename. |
set_pxe_boot_config.yml |
Optional for PXE boot | Overrides node-registration timing and PXE-boot settings. |
orchestrator_credentials.yml and .orchestrator_credentials_key |
Created or updated by credentials and prepare; required by later credential-consuming flows |
Store encrypted provisioning, BMC, Slurm, OpenLDAP, and PowerScale credentials and the Vault key. |
repo_status.yml |
Required for precheck, provision, execute, PXE boot, and full runs | Supplies repository URLs, including the PowerScale CSI artifacts, and the Repository Manager public certificate. |
build_status.yml |
Required for precheck, provisioning, execute, and full runs | Supplies functional-group images and S3 endpoint information. The standalone pxeboot phase does not read this file. |
| Catalog JSON | Required for precheck, credentials, prepare, deploy, provision, execute, validate-deployment, and full runs | Supplies OS metadata and enables supported services and software. |
Catalog feature selection¶
Orchestrator derives the following feature support from catalog names:
| Feature | Catalog entry | Selection rule |
|---|---|---|
| Kubernetes | catalog.functionallayer[].name |
The name contains kube or k8s. |
| Slurm | catalog.functionallayer[].name |
The name contains slurm. |
| OpenLDAP | catalog.groups name |
The name contains openldap. |
| UCX | catalog.groups name |
The name contains ucx. |
| OpenMPI | catalog.groups name |
The name contains openmpi. |
These catalog name matches are case-sensitive. DCGM support is controlled by
dcgm_enabled in orchestrator_config.yml, not by the catalog. PowerScale CSI
is not a catalog-selected feature. It is enabled only by setting
enable_powerscale_csi: true on the one service_k8s_cluster entry whose
deployment value is true; catalog content does not enable the driver. When
enabled, Orchestrator resolves exactly one csi-powerscale, helm-charts, and
external-snapshotter artifact from repo_status.yml under
file_repos.x86_64.git.
OIM storage mount selection¶
During provisioning, Orchestrator selects OIM mounts according to the workload
being provisioned instead of mounting every storage entry marked
mount_on_oim: true:
- Slurm provisioning selects the NFS and optional VAST storage referenced by
the active
slurm_clusterconfiguration. Each referenced entry must setmount_on_oim: true. - Service Kubernetes provisioning selects the NFS storage referenced by a
service_k8s_clusterentry whosedeploymentvalue istrue. The referenced entry must setmount_on_oim: true. - Storage referenced by an inactive Slurm or service Kubernetes workload is
not mounted as an independent OIM mount, even when its
mount_on_oimvalue istrue. - An entry with
mount_on_oim: truethat is not referenced by either workload remains an independent OIM mount.
See Configure Mounts for the full selection rules and examples.
Procedure¶
Choose the guide that matches the operation you need to perform.
Run customer-facing Orchestrator commands from src/main. Initialize the
shared virtual environment and stage domain inputs before the first run:
cd src/main
./omnia.sh --setup-venv
source /etc/profile.d/omnia-env.sh
orchestrator_path="${ORCHESTRATOR_DATA_PATH:-${OMNIA_DATA_PATH}/orchestrator}"
source "$OMNIA_DATA_PATH/activate-omnia.sh"
The setup command stages inputs under
$orchestrator_path/input/$OMNIA_PROJECT_NAME/ without changing
the domain-scoped input and output contract. Use ./omnia.sh --run
orchestrator --tags <tag> for the workflows below. Direct
ansible-playbook commands from src/orchestrator remain available for
advanced or component-specific operations.
The profile loads /etc/omnia/omnia.env and exports the configured paths and
project name into the current shell. The orchestrator_path assignment honors
an explicit ORCHESTRATOR_DATA_PATH and otherwise resolves the Orchestrator
root beneath OMNIA_DATA_PATH. The activation command then activates the
shared Python environment.
Workflow tags¶
For predictable lifecycle execution, run one Orchestrator workflow tag at a
time. The playbook rejects its explicitly defined conflicting combinations.
The documented combined cleanup is cleanup,cleanup_credentials.
| Tag | Implemented behavior | Required state before the phase |
|---|---|---|
validate |
Validate input-file schemas and configuration logic only. | Complete project inputs, including orchestrator_config.yml, network_spec.yml, omnia_config.yml, security_config.yml, and the resolved PXE mapping CSV; also include the HA or storage file when selected configuration requires it. This phase does not require credentials, the catalog, or upstream status files. |
precheck |
Validate inputs, mapping and storage relationships, OIM timezone and cluster identity settings, and functional-group images. | Current PXE mapping and catalog, successful repo_status.yml and build_status.yml, and reachable image artifacts. |
credentials |
Create or load the Vault-encrypted Orchestrator credentials. Missing values and stored values that fail the current credential rules are prompted for and securely replaced; valid stored values are retained. Password prompts require confirmation. | Current catalog and the applicable credential values. Upstream status files are not required. |
prepare |
Collect credentials, deploy OpenCHAMI and catalog-selected OpenLDAP, and validate deployment readiness. | Current catalog and PXE mapping. Upstream status files are not required for this service-preparation phase. |
deploy |
Deploy or retry OpenCHAMI and catalog-selected OpenLDAP together with their readiness checks, without collecting credentials. | A completed prepare phase, including stored credentials, and the current catalog. Use this tag to retry service deployment, not for initial preparation. |
provision |
Configure SSH access, provision Kubernetes, Slurm, login, OS-only, and custom functional groups, and run post-provision validation. This workflow does not initiate PXE boot. | Successful precheck and prepare phases, healthy OpenCHAMI and any selected OpenLDAP service, stored credentials, and successful Repository Manager and Image Build Manager outputs. |
execute |
Run provisioning followed by PXE boot when enable_pxe_boot is true. |
The same state as provision; when PXE is enabled, reachable mapped iDRACs and BMC credentials are also required. |
validate-deployment |
Restore persisted validation context, obtain a fresh OpenCHAMI access token, and validate OpenCHAMI and catalog-selected OpenLDAP readiness. It can ensure the cluster hostname entry in /etc/hosts; it is not a purely read-only check. |
A complete valid project input set, including conditional storage, HA, and additional cloud-init inputs; the current catalog; generated .data/functional_groups_config.yml; $OMNIA_DATA_PATH/openchami/configs_vars.yaml; and a healthy deployed OpenCHAMI instance capable of issuing a fresh access token. Orchestrator credential files, repo_status.yml, and build_status.yml are not required. |
pxeboot |
Set the boot source and restart selected Dell iDRAC nodes when PXE boot is enabled. A direct run without pxeboot_inventory selects every row in the active PXE mapping; a custom inventory limits the operation to a subset. |
Completed provisioning, stored BMC credentials, current mapping and PXE configuration, reachable iDRACs, and successful repo_status.yml. The standalone phase does not read build_status.yml. |
cleanup |
Remove all enabled Orchestrator components and, by default, the Orchestrator credentials. OpenCHAMI cleanup also removes its managed persistent service volumes. | Review the destructive cleanup scope and data-retention settings first. Use -e cleanup_credentials=false with full cleanup to preserve credentials. Component-specific cleanup is available only through the standalone cleanup playbook. |
cleanup_credentials |
Remove the Orchestrator credential file and Vault key. | No deployment or upstream output is required. |
PXE defaults
The shipped PXE configuration restarts selected hosts, uses a forced
restart, and sets a continuous network-boot override. On a direct run,
the default inventory is the complete active PXE mapping. Review
set_pxe_boot_config.yml, or pass pxeboot_inventory to target a subset,
before running the workflow.
Full cleanup
Full cleanup removes orchestrator_credentials.yml and
.orchestrator_credentials_key unless
-e cleanup_credentials=false is supplied. OpenCHAMI cleanup uninstalls
the openchami and ochami RPMs and permanently removes the
boot-service-data, metadata-service-data, and postgres-data Podman
volumes. Back up any required state first.
Running a phase tag does not automatically run its prerequisite phases. For a
new deployment, the recommended staged order is validate, precheck,
prepare, and execute. Use provision followed by pxeboot instead of
execute only when the two operations must be separated.
An untagged run is also supported, but its order is the literal playbook order:
shared setup and input validation, functional-group generation, precheck,
standalone credential collection, preparation, deployment and service
readiness, provisioning, and conditional PXE boot. Cleanup is tagged never
and does not run in this mode.
Deployment and node lifecycle¶
| Task | Use it to |
|---|---|
| Deploy OpenCHAMI | Deploy and validate the OpenCHAMI services on the OIM. |
| Deploy OpenLDAP | Enable the catalog-selected OpenLDAP service and validate its container. |
| Deploy Slurm | Configure Slurm and login functional groups, storage, and Slurm configuration. |
| Deploy Kubernetes | Configure service Kubernetes functional groups, HA, networking, and storage. |
| Provision Nodes | Run the complete or staged provisioning and PXE-boot workflow. |
| Clean Up Orchestrator | Review and run full, credential-only, or component-specific destructive cleanup. |
| Add Nodes | Register and configure new nodes, then boot only the new physical nodes through a custom PXE inventory. |
| Remove Slurm Nodes | Drain and remove Slurm compute nodes omitted from the current PXE mapping. |
Networking¶
| Task | Use it to |
|---|---|
| Configure InfiniBand | Configure the InfiniBand network and node interface mappings. |
| Configure Cluster DNS | Enable or disable CoreDNS for provisioned nodes. |
| Configure Multi-Subnet DHCP | Add DHCP-relay subnets to the admin network. |
| Configure PXE Boot | Start mapped nodes through the Orchestrator PXE-boot workflow. |
Storage and high availability¶
| Task | Use it to |
|---|---|
| Configure Storage | Configure shared mounts, PowerVault volumes, and swap. |
| Deploy PowerScale CSI | Configure PowerScale storage for a service Kubernetes cluster. |
| Configure Kubernetes HA | Configure the Kubernetes API virtual IP provided by kube-vip. |
Slurm and advanced HPC setup¶
| Task | Use it to |
|---|---|
| Configure Slurm | Supply or merge custom Slurm configuration files. |
| Configure Custom UCX and OpenMPI | Build and expose a custom UCX and OpenMPI toolchain. |
| Set Up NVIDIA HPC SDK | Configure the NVIDIA HPC SDK on Slurm nodes. |
| Configure Slurm with GPUs | Verify the GPU software and Slurm GRES configuration created during provisioning. |
| Use Apptainer | Pull and run container images through the configured registry mirror. |
Cloud-init and performance¶
| Task | Use it to |
|---|---|
| Configure Additional Cloud-Init | Add global or functional-group cloud-init directives. |
| Run HPC Benchmarks | Stage and run the benchmark assets installed by Orchestrator. |
Verification¶
The provisioning and PXE-boot workflows write results and project-scoped
runtime records under $orchestrator_path/output/$OMNIA_PROJECT_NAME/:
| Output | Meaning |
|---|---|
orchestrator_status.yml |
Overall status and per-node results. The PXE flow records the PXE or node-registration failure stage. |
provisioning_report.yml |
Expected and SMD-registered node counts plus missing boot and metadata configurations. |
orchestrator_inventory.yml |
Generated inventory for all mapped nodes. kube_vip_group is included only when a service_kube_ functional group is mapped and a valid HA configuration supplies the VIP. |
bmc_group_data.csv |
Generated BMC inventory data. The OIM is included only when primary_oim_bmc_ip is set in network_spec.yml. |
failed_nodes.json |
Detailed failures from iDRAC PXE boot or node-registration. |
pxeboot_status.yml |
PXE initiation and optional node-registration verification for every node selected by the PXE inventory. |
Orchestrator also generates
$orchestrator_path/output/$OMNIA_PROJECT_NAME/.data/functional_groups_config.yml
and stores its runtime state in orchestrator_state.yml in the project output
directory. Inventory
generation, OpenCHAMI configuration, Slurm and Kubernetes provisioning, and
validation consume the generated functional-groups configuration.
Confirm that the generated artifacts meet the Orchestrator output contract.
Next steps¶
- Use Provision Nodes for the end-to-end workflow.
- Use the configuration guides on this page for DNS, additional cloud-init, InfiniBand, storage, Slurm, GPU, and PXE options.
- After provisioning, use Add Nodes and Remove Slurm Nodes for supported lifecycle changes.
- Use Clean Up Orchestrator only after reviewing its lifecycle and data-retention behavior.
Troubleshooting¶
- Run one Orchestrator tag at a time for predictable lifecycle execution. The
top-level playbook rejects unsupported tags and its explicitly defined
conflicting combinations. Use
cleanup,cleanup_credentialsfor the documented combined cleanup. - Review
/var/log/omnia/orchestrator/orchestrator.logwhen a play fails. - Use
--tags validatefor input schema and logic checks,--tags precheckfor inputs, OIM identity and timezone, mapping, storage, and image checks, and--tags validate-deploymentfor OpenCHAMI and OpenLDAP health checks. - See Orchestrator troubleshooting for component-specific investigations.