OpenAgentSwarms
Every command
Serviceruns until stopped

oas standby serve

Run a standby: keep checked copies of swarms, cosign their checkpoints, and host them after an exit.

$ oas standby serve --url <url> [flags]

9 flagsdefined in cmd/oas/main.go, runStandby

Its name is fixed once set and is part of the key it cosigns with. The witness flags are for the swarms it takes over after an exit, so members keep counting only witnessed checkpoints.

With --hosts it asks each host every minute, signing with its key, for the swarms whose policy names it, and keeps a copy of each. Without it, it keeps what oas standby add gives it.

Flags

Each takes one dash or two, and its value after a space or =. A switch is on by itself, or =false.

Examples

$ oas standby serve --dir /var/lib/oas/standby --name team-standby --url http://standby.example:8092 --listen :8092 --witness-url http://witness.example:8091 --witness-vkey "$(cat /var/lib/oas/witness/vkey)"

Copy every swarm on a host that names this standby.

$ oas standby serve --dir /var/lib/oas/standby --name team-standby --url http://standby.example:8092 --hosts https://swarms.example

See also

Read from the CLI: each flag's type, default and usage are its flag set's own, and a test fails when this page and the code disagree.