alliance-boreale/RUNBOOK.md
Dan Allaire 01bd4c482b
Some checks are pending
CI / yaml-lint (push) Waiting to run
CI / ssot-export (push) Waiting to run
CI / tests (push) Waiting to run
CI / docs (push) Waiting to run
docs: dossier de transmission + INSTALL (Day-0) + RUNBOOK (Day-1/2)
2025-10-18 23:30:31 -04:00

1.5 KiB
Raw Blame History


RUNBOOK.md

# 🛠 RUNBOOK — Alliance Boréale (Day-1 / Day-2)

## Opérations courantes
- **Modifier la SSOT** :
  1) créer une branche, éditer `configure/configure.yaml`
  2) `node configure/export.mjs`
  3) commit + PR → CI verte → merge
- **Ajouter un tenant/site** : `tenants/<code>.yaml`, MAJ `tenant_id_map`, noms & VLAN/VNI
- **Ajouter un service** : entrée `inventory` (plan, IP, tags, checks…), regénérer & déployer

## PKI
- Délivrer/renouveler les certs services (58) via ACME interne
- Rotation semestrielle ; publier CRL ; surveiller expirations

## Monitoring
- Prometheus : fraîcheur / targets down
- Icinga2 : checks `ping4` + services applicatifs ; hostgroups → escalades

## DNS
- Zone principale depuis `out/zonefile.zone` ; TTL par défaut 300s
- CNAME/TXT/MX personnalisables via `dns.records` dans la SSOT

## CI / Qualité
- Lint YAML, export SSOT, tests (si ajoutés), build docs
- Branches protégées : PR + approbation (CODEOWNERS)

## Sauvegarde & Restauration
- Mirror du dépôt (forge → autre remote)
- Sauvegarde `configure/configure.yaml` + `out/*`
- Reprise : cloner constitution, réimporter SSOT, regénérer, redéployer

## Sécurité
- Journaux daccès (forge, artefacts)
- Inventaire Icinga/Prometheus à jour
- Rotation credentials CI & tokens Forge

## Incidents — check rapide
1) Impact (DNS, certs, réseau)  
2) Contournement (bascule PKI/ACME, TTL DNS)  
3) Correctif SSOT → export → déploiement  
4) Post-mortem → PR doc