If you haven’t received your VPN credentials, Orka Engine license key, and installer URL from your MacStadium account representative, request those before starting.
Prerequisites
Before you begin, confirm you have the following:- A controller machine (macOS or Linux) with internet access
- Minimum: 2 vCPU, 4 GB RAM, 20 GB storage
- Recommended: 4 vCPU, 8 GB RAM, 50 GB storage
- VPN credentials from MacStadium
- IP addresses for your Mac hosts (provided by MacStadium)
- Orka Engine license key and installer URL (from your MacStadium account representative)
- An administrator account on your controller machine
Connect to your MacStadium network
All Mac hosts are on MacStadium’s private network. You’ll need an active VPN connection before the controller can reach them.Connect using the VPN credentials provided by MacStadium. If you haven’t configured your VPN client yet, see VPN Connection.Once connected, verify you can reach your hosts:Set up your controller
Run all steps in this section on your controller machine.Set the hostnameSet a consistent hostname before configuring anything else. Replaceexample-controller with your chosen name.Configure SSH access to your hosts
Ansible uses SSH key authentication to connect to each Mac host.Generate an SSH keyIf you don’t already have one:Configure the orchestration library
Run all steps in this section on your controller.Clone the repository| Variable | Description |
|---|---|
max_vms_per_host | Maximum VMs per host. Apple’s EULA caps macOS VMs at 2 per host. |
engine_binary | Path to the Orka Engine binary |
ansible_user | SSH username on each host |
vm_image | Default base image for VM deployments |
network_interface | (Optional) Network interface for bridged networking, for example en0 |
Install Orka Engine
This playbook installs Orka Engine on every host in your inventory. It applies your license key and starts the service automatically.YOUR-LICENSE-KEY and YOUR-INSTALLER-URL with the values from your MacStadium account representative.Verify the installationSet up the management UI
The management UI is the primary interface for IT administrators. It provides a browser-based dashboard for running orchestration playbooks without touching the CLI.Install prerequisitesDocker anduv are required to run the management UI.Docker Desktop is an alternative if you prefer a GUI installer.
semaphore/.env and set the following values:http://localhost:3000. Log in with the admin credentials you set in the .env file.Configure SSH credentialsOption A: Setup script (recommended)uv run ./semaphore/configure_semaphore.py --help to see all available options, including VM credentials and OCI registry settings.Option B: Manual (UI)After logging in, navigate to Key Store and edit the Mac Hosts SSH key. Replace the placeholder with the actual SSH username and private key for your Mac hosts.Deploy your first VM
With your hosts configured and the management UI running, you’re ready to deploy a macOS VM.From the management UI, open the Orka Engine Orchestration project and run the VM: Deploy VM template. Enter a uniquevm_name and the vm_image to use.Or run the playbook directly from the controller:Use
network_interface=en0 (bridged networking) for VDI workloads. This gives VMs direct IP addresses on your network, which Citrix Cloud and end users need to reach them without port forwarding.--tags plan:Next steps
Your infrastructure is ready. Continue with:Citrix DaaS Configuration
Register your VMs with Citrix Cloud and configure delivery groups.
Image Management
Build a golden image with Citrix VDA and your organization’s applications pre-installed.
Ansible Quick Reference
All available playbooks and common variable combinations in one place.

