scripts+docs: Refresh-Services.ps1 for alarm-rig deploy refresh (PR D.1) #417
Reference in New Issue
Block a user
Delete Branch "track-d1-refresh-services"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Seventeenth PR of the alarms-over-gateway epic. Lands the deploy automation Track D calls for. The actual smoke-run (publish, restart, fire alarms, capture artifacts) remains operator work; this PR ships the automation the operator drives.
scripts/install/Refresh-Services.ps1:OtOpcUa→OtOpcUaWonderwareHistorian→MxAccessGw) and force-kills any residual processes (avoids the publish-timeMSB3027file-lock the original install script hit).C:\publishtrees toC:\publish\.backup-YYYY-MM-DD-HHMMSS\for rollback (skip with-SkipBackup).OTOPCUA_HISTORIAN_ALARM_WRITE_ENABLED=trueis set on the historian service env block (PR C.2 toggle).-WhatIffor dry-run.docs/v2/dev-environment.mdadds a "Service Refresh" section that documents the script + cross-references the plan's Track D functional verification scenarios.Test plan
DESKTOP-6JL3KKOand capturesdocs/plans/artifacts/d1-rollout-YYYY-MM-DD.mdwith smoke-test output (gated on PR A.2's worker-side MxAccess subscription landing — without A.2 the alarm-raise scenario can't be validated end-to-end)The script can ship today and the smoke-run artifact lands as a follow-up commit once A.2 is hardware-verified.