architecture6 min read

Building and Testing a Config Management Orchestrator for Windows

2 similar posts
  • Group Policy
  • Orchestrator
  • PowerShell
  • OCaml
  • F#

AI Summary

Jane Street replaced its distributed PowerShell-based Windows configuration management framework with a centralized system built in OCaml and F#. By moving decision-making logic from individual hosts to a central server and replacing local scripts with a stateless F# agent, the team improved type-safety, observability, and resilience. A dedicated audit mode allowed safe validation by comparing old and new system outputs side-by-side during migration.

Key Takeaways

  • The legacy system relied on distributed PowerShell scripts running on a schedule, which blurred management and execution, occasionally causing process hangs.
  • The new architecture uses OCaml on the server to handle complex scheduling, phasing, and applicability logic, communicating via RPC with a stateless F# agent on each host.
  • An audit mode was implemented to tail the legacy system, querying the new server and logging drift or discrepancies before performing any actual cutover.

Why it matters

Managing configurations across tens of thousands of hosts is a common challenge at scale. This article details practical strategies for migrating away from error-prone local scripting frameworks toward a centralized, strongly-typed architecture without risking downtime or silent regressions.

Conversation0

What would you add from your experience?

Checking your session…

Every good conversation starts with one perspective.