Contain, stop, and recover a workload
Run lifecycle commands from the trusted Guard host as its administrator. Use the exact enrolled workload ID and keep the observed results with your incident or maintenance record.
Choose the operation
| Operation | What the operator gets |
|---|---|
workload status and workload verify |
The recorded lifecycle and current host observations for the enrolled VM. |
workload cutoff |
A dedicated host request that fences new broker admissions and verifies the broker network cutoff. |
workload emergency-terminate |
A dedicated host request for immediate shutdown that can run while ordinary operator requests are queued. |
workload terminate |
Containment, shutdown, and reconciliation of the normal registry and journal. |
workload release |
An explicit operator decision to clear the durable fence after verified shutdown. |
Set the CLI path as shown in installation. The emergency request includes separate observations for admission fencing, broker cutoff, and shutdown.
guard_cli=/opt/alethic-guard/current/venv/bin/alethic-guard
sudo "$guard_cli" workload emergency-terminate WORKLOAD_ID
sudo "$guard_cli" workload status WORKLOAD_ID
Guard reports verified shutdown only when both libvirt and host process observations confirm the enrolled domain and matching QEMU process are absent. An interrupted transition or unavailable observation can produce UNKNOWN. Keep the fence in place and inspect the individual observations before releasing the workload.
Recover when the daemon is unavailable
Use the installed host binary from the trusted host with the normal Guard daemon stopped. The recovery path takes the exclusive state lock, latches the admission fence, attempts network cutoff, and verifies shutdown through host observations.
sudo systemctl stop alethic-guardd.service
sudo /opt/alethic-guard/current/bin/alethic-guardd --recover WORKLOAD_ID
The recovery result reports fencing, broker cleanup, VM shutdown, and persistence separately. Address failed dependencies before retrying. Once recovery is verified, start Guard, check workload status, and use explicit release before a fresh launch.
Reconcile an operation already dispatched
A verified broker cutoff concerns the host boundary. A request that crossed it can still reach the collector. For an unfinished effect, use the effect record to find its idempotency key, then check for a matching collector receipt through the independent operator channel. Record the outcome as unknown until it can be reconciled.
See the versioned revocation and recovery runbook for detailed command sequences, observation meanings, and retry behavior. The Guard walkthrough shows a recorded example.