Files
hiveops-guide/backend
johannes 0068ea0a14
CD - Develop (guide → bcos.dev) / build-and-deploy (push) Failing after 35m7s
docs(guide): add devops.prod + devops.dev (BCOS-only), fix stale ops script paths
Two new BCOS-only modules documenting the two environments and the rule that
separates them:

  devops.prod  Production Environment (OpenMetal) — hosts, repo layout, health
               report + config drift, and the KNOWN DRIFT warning: main's
               00-backends.conf names different active blue/green slots than prod
               actually serves (devices/transactions/agent-proxy), so deploying it
               as-is flips three services to the wrong slot. Do NOT bulk-copy main
               over prod.

  devops.dev   Dev Environment (bcos.dev) — single 16G all-in-one VM at ~93-97%
               RAM (recreate JVM services ONE at a time), its own postgres and
               registry, the new 06:00 health report (johannes only), and the
               health-check gotchas that must not be "fixed" back: SPA frontends
               return 200 for /actuator/health so the body must be checked, the
               probe must retry, and exited *-green/*-blue are standby slots.

Both audience: bcos.

The rule, now stated in both:
  everything bcos.dev  -> hiveiq-openmetal-dev
  everything prod      -> hiveiq-openmetal-prod
  shared, env-agnostic -> hiveiq-devops

Also corrects devops.backups and devops.security, which still told readers the
backup/security scripts live in `hiveops-devops/scripts/ops/`. They were moved to
`hiveiq-openmetal-prod/scripts/ops/` today — the Guide is the source of truth, so
a stale path in it is worse than none.

Refs: hiveiq-ops/hiveiq-devops#39, #38

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-13 15:41:00 -04:00
..