This repository has been archived on 2026-07-08. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
the-custodian/docs/phoenix-machine-drill-runbook.md
codex af49c053f1 finish(CUST-WP-0054): workstation independence engineering closeout
Complete T04–T08: bulk Forgejo remote_url migration for all registered
repos, phase 5 stabilization tooling, dev-hub beachhead artifacts, and
phoenix drill runbook. Archive workplan with T09/T10 as operator gates.
2026-07-08 11:42:49 +02:00

50 lines
2.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Phoenix Machine Drill Runbook (CUST-WP-0054-T08)
Date: 2026-07-08
Composes existing bootstrap pieces into one rehearsable machine-scale phoenix
path. Live wipe/rebuild proof requires an operator-approved disposable target.
## Entry Points
```bash
# Non-destructive prerequisite check
/home/worsch/the-custodian/tools/phoenix-drill.sh check
# Ordered drill plan (no execution)
/home/worsch/the-custodian/tools/phoenix-drill.sh plan
```
## Composed Pieces
| Layer | Source | Command / artifact |
| --- | --- | --- |
| Node bootstrap | `railiance-cluster` | `make bootstrap``ansible/bootstrap.yml` |
| Secret custody | `railiance-platform` / NET-WP-0020 | `make openbao-init-unseal` |
| Workload promotion | RAIL-BS-WP-0006 | staged-promotion overlay + `railiance/app.toml` |
| Data restore | `railiance-infra` | `tools/forgejo-restore-drill.sh` |
| Ops evidence | `core-hub` | `make operator-cli CLI_ARGS="deployed-smoke ..."` |
| Hub coordination | `state-hub` | `make dev-hub` for local rebuild from files |
## Drill Sequence
1. **Custody gate** — operator holds unseal/init tokens; no secrets in Git.
2. **Greenfield OS** — ansible bootstrap on disposable target.
3. **OpenBao + identity** — NET-WP-0020 greenfield proof chain.
4. **k3s join** — cluster membership per `railiance-cluster` inventory.
5. **Staged promotion** — one non-critical workload overlay first (glas-harness probe).
6. **Restore drill** — CNPG backup/restore for one database workload.
7. **Fleet mesh**`atm-` tunnels; verify no workstation relay in path.
8. **Evidence** — readiness-summary JSON, non-secret smoke ids, rollback commands.
## Rollback
Each step records the inverse command before proceeding. Machine phoenix for
coulombcore → railiance02 (T09) uses this same drill after Waves 17 complete.
## References
- `docs/workstation-independence-fleet-architecture.md`
- `docs/coulombcore-drain-placement-plan.md`
- `history/2026-07-02-openbao-greenfield-init-unseal-proof.md` (railiance-platform)
- `workplans/CUST-WP-0054-workstation-independence-and-fleet-realignment.md` T08/T09