Skip to main content

The Tool Chain

DOCUMENT CATEGORY: Reference SCOPE: Azure Local tool set, planning to day 2 PURPOSE: Show which tool writes and which tool reads each file on the route MASTER REFERENCE: Key Inputs and Variables

Status: Active. Checked on 2026-11-24 against the main branch of each tool repository and the Azure Local 2611 release (solution 12.2611.1004.9, OS 26100.33822). The toolkit's infrastructure.yml schema is 5.6.35.


The route​

Surveyor -> Trailwright -> hardware discovery -> ZTP -> OS configuration -> pre-cluster gate -> ARM Validate -> ARM Deploy -> day 2
(Beacon before ZTP; Sonar watches discovery to update; Draftsman beside the design)

One variable system sits under the whole route. The master registry in the toolkit (config/variables/schema/master-registry.yaml) defines every variable. One infrastructure.yml per environment holds the values, and a tool that needs a smaller input gets a template (or a cut of your file) generated from the registry. No tool defines a variable of its own that the registry already has. See Key Inputs and Variables.

Who writes and who reads infrastructure.yml​

ToolReadsWritesStatus on main
SurveyorFor the as-built comparison: infrastructure.yml (paste it as it is, YAML or JSON): machines from nodes[], cores and memory per machine, drives, and rack aware from scenario.topologyThe sizing handoff azure-local-sizing-handoff-*.json (kind azurelocal-sizing-handoff, schemaVersion 1.1), in the key names of infrastructure.yml. 1.1 added storage.volumes[].provisioning_type; provisioning carries the same value for 1.0 readersConnected: Trailwright imports the handoff
TrailwrightThe sizing handoff (1.0 and 1.1), a Surveyor plan manifest or its own project fileinfrastructure.yml with _metadata.scope: trailwright (a planning scope). Every machine lists its ports in nodes[].network_adapters[] (name, slot, port index, make, model, speed, RDMA, roles); the management port carries the machine's address and MAC; the MACs of the other ports are left to hardware discovery. The Azure virtual network table asks for address_spaceConnected. The schema version in the file is the one Trailwright last synced from the toolkit (npm run schema:sync), 5.6.31 on its main at the time of writing. Its separate environment file (environment.yml) is retired and stays one more release with a deprecation notice
Hardware discovery (toolkit: Invoke-HardwareDiscovery.ps1, Get-HardwareInventory.ps1)Redfish on each BMC, plus the BMC addresses in the file<ServiceTag>.json, discovery-summary.json, infrastructure.discovered.yml and hardware-inventory-*.json in the discovery folderConnected through the write-back below
Discovery write-back (Update-InfrastructureYml-FromDiscovery.ps1)The discovery filesInto entries that exist: nodes[].serial_number, nodes[].bmc.mac_address, the port MACs and port facts, hardware.drives.* (with the model), hardware.boot_drives, hardware.gpu. A preview unless you give -Apply; a backup firstConnected. It never creates a missing machine or port entry. Firmware and BIOS versions, TPM and Secure Boot state and per-drive serials stay evidence
ZTPinfrastructure.yml (schema 5)ztp-handoff.json (Arc machine names, arcMachineResourceId, the adapters Azure reports). Convert-ZtpHandoffToClusterInputs.ps1 -InfrastructureFile writes nodes[].arc_machine_name and deployment.solution_version into the file, with a backupConnected. A plan makes no Azure sign-in and reads no local adapter
OS configuration (toolkit: Invoke-AzureLocalOsConfiguration.ps1)infrastructure.yml and the ZTP handoff (-HandoffPath)report.json, summary.md and os-configuration-events.jsonl in the report directoryConnected. The report of an Apply run is the one the ARM run accepts
Pre-cluster gate (toolkit: Invoke-AzureLocalPreClusterVerification.ps1)infrastructure.yml and the OS configuration reportreport.json, summary.md and precluster-verification-events.jsonl in its report directory; in Plan mode precluster-plan-events.jsonl in the events folderConnected: the ARM run refuses to go on without a passing, current result
ARM Validate and Deploy (toolkit: Invoke-AzureLocalArmDeployment.ps1)infrastructure.yml, the gate result, the OS configuration report (Apply), the ZTP handoffarm-deployment-events.jsonl and the run reportConnected. The OS names of the ports come from the OS report, else from the handoff by MAC
Update stage (toolkit: Get-AvailableSolutionUpdate.ps1, Start-AzureLocalSolutionUpdate.ps1)infrastructure.ymlupdate-events.jsonl in the events folderConnected
Sonarinfrastructure.yml (a reader of its own), every event file above, the discovery folder, Beacon's results and AzureNothingConnected. Use the full file or a file cut for Sonar: a file cut for ZTP has no cluster.name or scenario.identity
Beaconinfrastructure.yml through -InfrastructureFile (-Plan shows each value with the key it came from); validation-config.json keeps only Beacon's own settings (OEM, Arc gateway name, TLS inspection hosts, timeouts, brand)A results file (results schema 1.2: the file name, SHA-256, schema version and cluster name of the file it read) in <discovery folder>\beacon, next to the discovery filesConnected. Sonar shows the results in its Discovery view
Ranger-InfrastructureFile: the cluster, nodes, BMC endpoints and Azure scope for the collection; the design record for the comparisonas-built-snapshot.v1, the audit manifest and the design comparison (a drift report)Compare only: it never writes back to the file. The schema 4 Trailwright export and the retired environment.yml are still read for one more release, with a warning
S2D Cartographer-InfrastructureFile: the cluster name (and the Key Vault secret of the LCM user)Capacity reportsConnected
LoadTools-InfrastructureFile: the cluster, nodes, domain, cluster shared volume, Azure scope and Key Vault. variables.yml keeps the test settingsTest resultsConnected
DraftsmanThe guided setup reads networking.intents, networking.vlans, the management VLAN, networking.storage.networks, the node count, scenario.topology, scenario.storage_connectivity, hardware.model and the switch models of network_devices, in the browserA cabling and VLAN diagramConnected for reading; it never writes the file

The files that pass between the steps​

StepFileWhere it isWho reads it next
Surveyor to Trailwrightazure-local-sizing-handoff-*.jsonYou download it on the Reports pageTrailwright, on Review and export, Import
Trailwright to everything elseinfrastructure.ymlYou keep it outside any git repositoryEvery toolkit script, ZTP, Sonar, Beacon, Ranger, Cartographer, LoadTools and Draftsman
Discovery to the filediscovery fileshardware.discovery.output_directory when the file has it, else the discovery folder inside provisioning.simplified.evidence_pathThe write-back script, and Sonar's Discovery view
Beacon to Sonarvalidation-*.json<discovery folder>\beaconSonar's Discovery view
ZTP to OS configurationztp-handoff.jsonThe evidence folder of the ZTP runOS configuration (-HandoffPath), the gate and ARM Validate (-HandoffFile)
OS configuration to the gatereport.json of the Apply runThe OS configuration report directoryThe gate and the ARM run (-OsConfigurationReport)
The gate to ARM Validatereport.json of the gatedeployment.pre_cluster_verification_report_directory, else arm-report\verification\live next to the evidence folderThe ARM run
Every run to Sonaros-configuration-events.jsonl, precluster-plan-events.jsonl, precluster-verification-events.jsonl, arm-deployment-events.jsonl, update-events.jsonlThe events folder: deployment.events_directory, else the -ReportDirectory of the run when it has one, else %ProgramData%\AzureLocalToolkit\<cluster.name>\events. The gate writes its verdict feed into its own report folderSonar (-Monitor Discovery, OsConfiguration, Verification, Deployment, Update)
Day 2 as-builtas-built-snapshot.v1The Ranger output folderRanger's Compare-RangerDesign, and Trailwright's as-built compare

Sonar resolves the events folder without the -ReportDirectory step. A run that you give -ReportDirectory writes its events there, where Sonar does not look, unless deployment.events_directory is set; the toolkit warns about this. Set deployment.events_directory once and every run and Sonar use the same folder.

What is not connected yet​

These are the places where a person still carries a value from one tool to the next.

  1. Surveyor to Trailwright is a file you carry. Download the handoff, import it. No tool picks it up for you.
  2. MAC addresses. A planner cannot know them. Run hardware discovery, review the preview of the write-back, then run it with -Apply. The deployment scopes of the toolkit still require the MACs, so a file straight from Trailwright is not ready for ZTP until the write-back has run.
  3. Roles, IP assignment and addresses of the ports. Discovery cannot read them from hardware and the write-back never writes them. Trailwright asks for them; for a file that did not come from Trailwright, add them by hand.
  4. Trailwright's schema lags the toolkit. Keys added to the toolkit after Trailwright's last schema sync are not written by it. Check the file with Test-InfrastructureFile.ps1.
  5. Sonar needs a file with cluster.name and scenario.identity. Use the full file; a file cut for ZTP is not enough.
  6. Ranger does not write the file back. It compares and reports drift; update the file yourself when you accept the change.

Version Control​

VersionDateAuthorChanges
1.0.02026-11-24Azure Local CloudInitial page
1.1.02026-11-24Azure Local CloudRewritten against the main branch of each tool: Beacon, Ranger, S2D Cartographer, LoadTools, Surveyor (as-built) and Draftsman read infrastructure.yml; Trailwright writes the ports and a planning scope; the write-back keys; the Apply report; the update and gate Plan events