docs: runbook PPv2 probe expectations and health watch
A steps use --expect s1 and B steps s2, as the step tool requires. The tool polls only the step's own target group after tofu apply returns, so the operator runs a separate watch of both groups.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+2
−2
docs/region-ha-runbook.md+2 −2
Intent
diff --git a/docs/region-ha-runbook.md b/docs/region-ha-runbook.md| index 35c214861..f0d463684 100644 |
| --- a/docs/region-ha-runbook.md |
| +++ b/docs/region-ha-runbook.md |
| @@ -383,7 +383,7 @@ Needs: the AWS profile must allow `ec2:DescribeNetworkInterfaces`, `ssm:SendComm |
| Four steps per NLB, in this order: A80, A443 (PPv2 on), B80, B443 (preservation off). `:80` goes first in each pair. Each step starts only when the previous step's record exists and passed. |
| -`apply` changes one attribute on one target group, then goes straight into convergence. From the apply to the record it polls target health every 10 s and trust counters every 30 s. So the transition is watched the whole time. Run it like this: |
| +`apply` changes one attribute on one target group, then goes straight into convergence. Once `tofu apply` returns, it polls the health of the step's own target group every 10 s and trust counters every 30 s, until the record is written. It does not watch the other target group, and it does not watch the apply itself. So start your own watch first: run `aws elbv2 describe-target-health` for both the `:80` and the `:443` target group every 10 s, from before the apply until the step ends, and keep it through the window. Treat any unhealthy observation as a failed step and run `reverify`. Then run the step like this: |
| 1. Start `apply`. It also needs `--probe-records`, two paths, one per NLB public address, that do not exist yet: |
| @@ -401,7 +401,7 @@ Four steps per NLB, in this order: A80, A443 (PPv2 on), B80, B443 (preservation |
| --source-ports <lo>-<hi> --expect <s0|s1|s2> --out <new-a.json> |
| ``` |
| - Use `--expect s0` for A steps, `--expect s1` for B steps. A probe that started before the apply is refused, and so is a stale record file. |
| + Use `--expect s1` for A steps and `--expect s2` for B steps. The tool rejects a record with any other expectation. A probe that started before the apply is refused, and so is a stale record file. |
| 3. Leave the probes and `apply` running until `apply` exits. Exit 0 means the step passed and wrote `<step>.json`. Run no restart, drain or group roll until then. Do maintenance between steps. |
| Exit codes: 0 done or passed, 1 refused or failed, 2 invalid arguments, 130 interrupted. Records are in the record directory. `<step>-polls.jsonl` has every poll. |