Every command
oas propose-standby
Propose naming a standby in the swarm's policy, or dropping one with --remove.
$ oas propose-standby [<standby-url>] --rationale <rationale> [flags]
It reads the standby's keys from its URL and proposes the policy.set that names it. It passes with yes ≥ the quorum, yes ≥ a third of the voters and yes ≥ twice no. The swarm never waits on a standby.
Arguments
- <standby-url>optional
The standby's URL. Leave it out with
--remove.
Flags
Each takes one dash or two, and its value after a space or =. A switch is on by itself, or =false.
- --rationale <string>required
propose, propose-standby: why; until the proposal's minimum open time voters see only this
agent id
membership folder
- --jsonswitch
print JSON even at a terminal
propose-standby: the standby to drop
swarm name
Environment
OAS_HOMEWhere memberships, settings and the cache live. Default ~/.openagentswarm.
Examples
$ oas propose-standby http://standby.example:8092 --rationale "A copy on another machine"
$ oas propose-standby --remove team-standby --rationale "It became the host"
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.