deploy(prod): site-app config fix (vp04 NodeName node-b, comments) + Overview registry site-par/site-app; plan §0.1a
Claude-Session: https://claude.ai/code/session_01GT67AD5mc2BnaaAfY3hqqQ
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"_comment": "PROD fleet registry (ASPNETCORE_ENVIRONMENT=Prod) for the Overview instances on wonder-app-vp03 and wonder-app-vp04, both watching the same registry as on QA. BaseUrl hosts are FQDNs ON PURPOSE (QA rule): the Akka addresses use IPv4 literals, so build 818775b3's fleet-wide host-only leader matching resolves nothing and each leader chip shows the raw address instead of a wrong name. The PAR gateways stay Down until WinPlatform puts MXAccess on those boxes (plan Q3). Probes from the centrals to the PAR boxes cross 10.220.153.x -> 10.201.75.x on 8084 and 5130 (plan section 4).",
|
||||
"_comment": "PROD fleet registry (ASPNETCORE_ENVIRONMENT=Prod) for the Overview instances on wonder-app-vp03 and wonder-app-vp04, both watching the same registry as on QA. BaseUrl hosts are FQDNs ON PURPOSE (QA rule): the Akka addresses use IPv4 literals, so build 818775b3's fleet-wide host-only leader matching resolves nothing and each leader chip shows the raw address instead of a wrong name. 2026-11-20: group site renamed site-par and site-app added (ScadaBridge site co-located with the centrals on vp03/vp04, health :8084). The PAR gateways stay Down until WinPlatform puts MXAccess on those boxes (plan Q3). Probes from the centrals to the PAR boxes cross 10.220.153.x -> 10.201.75.x on 8084 and 5130 (plan section 4).",
|
||||
"Kestrel": { "Endpoints": { "Http": { "Url": "http://+:5320" } } },
|
||||
"Serilog": {
|
||||
"WriteTo": [ {}, { "Args": { "path": "E:\\ApiInstall\\Overview\\logs\\overview-.log" } } ]
|
||||
@@ -14,8 +14,10 @@
|
||||
"Instances": [
|
||||
{ "Name": "central-a (vp03)", "Group": "central", "BaseUrl": "http://wonder-app-vp03.zmr.zimmer.com:8085", "ManagementUrl": "http://wonder-app-vp03.zmr.zimmer.com:8085/", "HasActiveRole": true },
|
||||
{ "Name": "central-b (vp04)", "Group": "central", "BaseUrl": "http://wonder-app-vp04.zmr.zimmer.com:8085", "ManagementUrl": "http://wonder-app-vp04.zmr.zimmer.com:8085/", "HasActiveRole": true },
|
||||
{ "Name": "node-a (par-vp03)", "Group": "site", "BaseUrl": "http://wonder-par-vp03.zmr.zimmer.com:8084", "HasActiveRole": true },
|
||||
{ "Name": "node-b (par-vp04)", "Group": "site", "BaseUrl": "http://wonder-par-vp04.zmr.zimmer.com:8084", "HasActiveRole": true }
|
||||
{ "Name": "node-a (par-vp03)", "Group": "site-par", "BaseUrl": "http://wonder-par-vp03.zmr.zimmer.com:8084", "HasActiveRole": true },
|
||||
{ "Name": "node-b (par-vp04)", "Group": "site-par", "BaseUrl": "http://wonder-par-vp04.zmr.zimmer.com:8084", "HasActiveRole": true },
|
||||
{ "Name": "node-a (vp03)", "Group": "site-app", "BaseUrl": "http://wonder-app-vp03.zmr.zimmer.com:8084", "HasActiveRole": true },
|
||||
{ "Name": "node-b (vp04)", "Group": "site-app", "BaseUrl": "http://wonder-app-vp04.zmr.zimmer.com:8084", "HasActiveRole": true }
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
"Enabled": true
|
||||
}
|
||||
},
|
||||
"_comment_Cluster": "PROD site pair on wonder-par-vp03 (10.201.75.86) / par-vp04 (10.201.75.87), a separate Akka cluster from the centrals. SeedNodes[0] MUST be this node.",
|
||||
"_comment_Cluster": "site-app pair: wonder-app-vp03 (10.220.153.205) + vp04 (10.220.153.210), Akka 8082, self-first seeds; co-located with the central pair (Akka 8081), a separate Akka cluster.",
|
||||
"Database": {
|
||||
"SiteDbPath": "E:\\ApiInstall\\ScadaBridge\\site\\data\\site.db"
|
||||
},
|
||||
@@ -40,7 +40,7 @@
|
||||
"http://10.220.153.205:8083",
|
||||
"http://10.220.153.210:8083"
|
||||
],
|
||||
"_comment": "Both centrals on their default CentralGrpcPort 8083, same list and order on both site nodes. This crosses the 10.201.75.x -> 10.220.153.x boundary (plan §4 firewall rows). GrpcPsk comes from the service env ScadaBridge__Communication__GrpcPsk; central holds the same value as secret SB-GRPC-PSK-<SiteId>.",
|
||||
"_comment": "Both centrals on their default CentralGrpcPort 8083, same list and order on both site nodes. Same subnet as the centrals (co-located).",
|
||||
"DeploymentTimeout": "00:02:00",
|
||||
"LifecycleTimeout": "00:00:30",
|
||||
"QueryTimeout": "00:00:30",
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"ScadaBridge": {
|
||||
"Node": {
|
||||
"Role": "Site",
|
||||
"NodeName": "node-a",
|
||||
"NodeName": "node-b",
|
||||
"NodeHostname": "10.220.153.210",
|
||||
"SiteId": "site-app",
|
||||
"RemotingPort": 8082,
|
||||
@@ -23,7 +23,7 @@
|
||||
"Enabled": true
|
||||
}
|
||||
},
|
||||
"_comment_Cluster": "PROD site pair on wonder-par-vp03 (10.201.75.86) / par-vp04 (10.201.75.87), a separate Akka cluster from the centrals. SeedNodes[0] MUST be this node.",
|
||||
"_comment_Cluster": "site-app pair: wonder-app-vp03 (10.220.153.205) + vp04 (10.220.153.210), Akka 8082, self-first seeds; co-located with the central pair (Akka 8081), a separate Akka cluster.",
|
||||
"Database": {
|
||||
"SiteDbPath": "E:\\ApiInstall\\ScadaBridge\\site\\data\\site.db"
|
||||
},
|
||||
@@ -40,7 +40,7 @@
|
||||
"http://10.220.153.205:8083",
|
||||
"http://10.220.153.210:8083"
|
||||
],
|
||||
"_comment": "Both centrals on their default CentralGrpcPort 8083, same list and order on both site nodes. This crosses the 10.201.75.x -> 10.220.153.x boundary (plan §4 firewall rows). GrpcPsk comes from the service env ScadaBridge__Communication__GrpcPsk; central holds the same value as secret SB-GRPC-PSK-<SiteId>.",
|
||||
"_comment": "Both centrals on their default CentralGrpcPort 8083, same list and order on both site nodes. Same subnet as the centrals (co-located).",
|
||||
"DeploymentTimeout": "00:02:00",
|
||||
"LifecycleTimeout": "00:00:30",
|
||||
"QueryTimeout": "00:00:30",
|
||||
@@ -85,5 +85,6 @@
|
||||
"DatabasePath": "E:\\ApiInstall\\ScadaBridge\\site\\data\\auditlog.db"
|
||||
}
|
||||
},
|
||||
"_comment_patch": "PROD-STAGE PATCH 2026-11-20: NodeName node-a -> node-b (the staged copy repeated vp03's node-a; the pair needs distinct names, as PAR).",
|
||||
"_comment_colocated": "2026-11-20: site-app co-located with ScadaBridge-Central on this box (QA pattern, ports swapped): central keeps Akka 8081 / central gRPC 8083 / UI 8085; this site uses Akka 8082, site gRPC 8086, health 8084. Paths under E:\\ApiInstall\\ScadaBridge\\site\\ (central uses ...\\central\\). Shares app\\ binaries and scadabridge.kek with the central."
|
||||
}
|
||||
|
||||
@@ -38,6 +38,7 @@ The Sunday run was brought forward by the owner; the soak gate (§0.2 item 3) wa
|
||||
| SB sites par-vp03 / par-vp04 | **Running**, site `site-par`, Akka pair Up, LocalDb sync connected, par-vp03 active / par-vp04 standby; central :8083 refused (centrals stopped) as expected. Record ScadaBridge `facf24b2` |
|
||||
| Secrets | Keychain `zb-prod/{sb-jwt-signing-key,sb-inbound-pepper,mxgw-pepper,sb-site-par-grpc-psk,sb-site-par-localdb-key,sql-wwpdsbrw}`; on-box value dirs deleted except vp03 `_values\seed\site-psk.txt` (for the retry) |
|
||||
| **Later 2026-11-20** | #59 indexes done by DBA (verified 104 = QA) → central store seeded, **centrals Running** (vp03 active, vp04 standby, Automatic); **Site `site-par` id 1** online (par-vp03 primary); mxgw key `scadabridge-prod` (Keychain `zb-prod/mxgw-apikey-scadabridge`) shared vp03→vp04; **DataConnection id 1 `MxGateway`** vp03 primary / vp04 backup, Connected; **Overview** on vp03/vp04 :5320 (5 Up, mxgw vp04 Down #60, PAR mxgw unreachable). Records: ScadaBridge cluster-config record, scadaproj `0a3c37a` |
|
||||
| **site-app 22:35Z** | Second site **`site-app` / APP (Site id 2)** co-located on app-vp03 (node-a, active) / vp04 (node-b, standby), owner request; Akka 8082, site gRPC 8086, health 8084 (central keeps 8081/8083/8085); PSK `sb-grpc-psk-site-app` in the central store; **DataConnection id 2 `MxGateway`** → vp03:5120 primary / vp04:5120 backup, Connected. Overview shows site-par + site-app. Record ScadaBridge `2026-11-20-prod-site-app-colocated.md` |
|
||||
| Not done | OTel collector; LDAP refusal probes (bogus / zero-role); alarm area; Phase 7 content; MxGateway connection **re-pointed to par-vp03/par-vp04:5120 at 22:22Z** (owner) — retrying until mxgw is installed there (same pepper + copy vp03's gateway-auth.db) |
|
||||
|
||||
### 0.2 Go / no-go before anything runs on Sunday
|
||||
|
||||
Reference in New Issue
Block a user