Day-two operations
Once it's running, a fleet mostly looks after itself: hosts update from Git, back themselves up, and report health. These are the controls you'll use when it doesn't.
- Updates
overalls-auto-update, which every enrolled host runs from yourtrunkbranch- Hosts
- Drain, resume and retire with the Marshall operator CLI
- Backups
overalls-backup, restic to S3-compatible storage
Automatic updates
Each host builds the candidate revision with tools/buck2 build //fleet/hosts/NAME:deployment, stages its secrets, applies compatible migrations, switches, and checks health twice, five seconds apart. A failing revision backs off from thirty seconds to fifteen minutes; pushing a fix skips the wait.
sudo overalls-auto-update status sudo systemctl start overalls-auto-update.service sudo journalctl -u overalls-auto-update.service sudo systemctl stop overalls-auto-update.timer # before manual recovery
Hosts don't coordinate their restarts with each other. Kernel changes and incompatible schema or protocol changes need planned maintenance.
Drain a host for maintenance
bin/marshall eval 'Marshall.Operations.CLI.main()' drain HOST_UUID REQUEST_UUID ops:ticket-123 bin/marshall eval 'Marshall.Operations.CLI.main()' drain-status REQUEST_UUID
Drain stops the host's guests and retains their disks and host assignments. Before maintenance, require status=drained and currently_quiescent=true from drain-status. Stopping Lilly's VM slice doesn't count as confirmed cleanup. Guests keep running when the Lilly daemon itself restarts.
After maintenance, wait for a fresh ready report, then resume admission:
bin/marshall eval 'Marshall.Operations.CLI.main()' resume-host REQUEST_UUID
Resume closes the drain and leaves guests stopped for their owners to start. For permanent retirement instead, keep the drain open, have owners delete retained machines, and wait for physical cleanup and fresh empty-pool reports. Then retire:
bin/marshall eval 'Marshall.Operations.CLI.main()' retire-host REQUEST_UUID
Move machines between hosts
Owners, managers and team admins can relocate a machine with ssh <gateway> relocate NAME. Running moves involve downtime. Marshall chooses the destination host and transfer method. The machine keeps its identity, name, sharing and private address.
Backups
First provision each host's encrypted backup document with an independently generated RESTIC_PASSWORD and the S3 provider's AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY. The fleet profile publishes the password and S3 environment files under /run/overalls-secrets/backup. Keep recovery identities outside the node and verify recovery decryption before relying on the repository. Follow the secret custody procedure ↗.
services.overallsBackups = {
enable = true;
s3 = {
endpoint = "https://objects.example.com";
bucket = "node-recovery";
region = "your-region";
};
};
overalls-backup list overalls-backup check overalls-backup read-check
Only enabled roles add their state. By default that's the host identity and receipts; Lilly's journals, image templates and every ready guest disk (from native ZFS snapshots); a logical dump of PostgreSQL on Marshall hosts; Porsche and Audi keys; and ACME state. A stopped guest is never started just to back it up. A running guest is asked to sync first, but isn't paused.
Logs and metrics
services.overallsLogging sends journals from Marshall, Lilly, Porsche, HAProxy and the system to CloudWatch, OTLP or a fleet log store, with a bounded on-disk queue. Ziggy and Galileo record usage per account.
Credentials
Rotate a Lilly credential with tools/buck2 run //:host -- rotate-credential, using the same arguments as prepare-enrollment. Rotation revokes the old credential immediately, so deploy the new ciphertext promptly. Signing secrets, the database URL and the active Cloak key can't change through automatic updates; rotating them needs the coordinated procedure.
Full reference: docs/operations/host-maintenance.md
Full reference: docs/operations/backups.md
Full reference: docs/operations/observability.md