Files
ScadaBridge/docs/deployment/deployment-records/2026-11-19-wonder-app-vq03-vq04-2e0ce81e.md
T

2.3 KiB
Raw Blame History

2026-11-19: QA (wonder-app-vq03/vq04) 061432c8 → 2e0ce81e (#144 + #145) + NAM AD login, one window

Owner go (2026-11-19): "do the qa ldap plan, winrm usage approved" — scadaproj plan docs/plans/2026-11-15-nam-ldap-cutover.md §0Q; full record scadaproj/docs/deploy/2026-11-19-qa-nam-ldap/.

Build: the DEV artifact, zip SHA-256 6c706b0a…6572e23 (record 2026-11-19-wonder-app-vd03-2e0ce81e.md). No migration (65 stays 65). Script: docs/deployment/deploy-prep/2026-11-19-144-145/qa.tmpl.ps1 (the 11-15 QA template minus migrate; its swap also installs each node's own NAM appsettings.Central.json and drops the GLAuth password env entry).

Before the window

  • LdapGroupMappings rows 6–10 added with the CLI as GLAuth multi-role (audited): UG_WW_APP_ADMIN_QA→Administrator, UG_WW_APP_IDE_QA→Designer, UG_WW_APP_IDE_RO_QA→Viewer, UG_WW_HIST_ADMIN_QA→Deployer (interim), UG_WW_BTMGR_RO_QA→Viewer.
  • nam-ldap-svc-password seeded once into the shared SQL Server secret store (zbsecrets), with a Secrets CLI build that honours Secrets:Store:Provider=SqlServer (the headless 0.6.6 CLI writes SQLite only). Both Centrals' KEK files match.
  • DB backup F:\MSSQL\BACKUP\ScadaBridge_pre-2e0ce81e_20261119T1600.bak (VERIFYONLY ok).

Window (EST)

Stop Site vq03 16:01:10, vq04 16:01:38; Central vq03 16:01:58, vq04 16:02:22. Swap both (central env 15 → 14). Central vq03 ready 16:03:17, vq04 16:03:37; Site vq03 16:03:55, vq04 16:04:14. Site data path ~2 min 17 s, central API ~55 s.

Gates

  • dohertj2: cookie login ✓; /auth/token 200 with Administrator+Designer+Deployer; CLI (HTTP Basic) instance list (11) and security role-mapping list ✓. Bogus user and GLAuth multi-role refused (UI and CLI).
  • Active central vq03; site-a both nodes online; MxGateway Connected 2196/2196 Good; WarmCanary Connected 2/2 Good (also after the OtOpcUa pair restart at 16:08–16:10); LocalDb replication connected.
  • No LDAP / service-bind warning in the OTel log export.

Automation identity on QA is now dohertj2.

Rollback

rollback-swap (binaries ← app.bak.20261119T1600, Central env ← _envbak-ScadaBridge-Central-20261119T1600.reg), then start Central vq03, vq04, then the Sites. No DB restore needed. The UG_WW_* rows can stay.