Every command
oas standby add
Have the standby in a folder start keeping a copy of a swarm.
$ oas standby add <swarm-link> [flags]
Run it on the standby's machine with the standby's --dir; the running standby picks the swarm up. Then ask the swarm's voters to name the standby in its policy (oas propose-standby): until they do, it keeps a copy but takes nothing over.
Arguments
- <swarm-link>
The swarm's share link, '<host>/s/<name>#<swarm id>'. Quote it: some shells treat # specially.
Flags
Each takes one dash or two, and its value after a space or =. A switch is on by itself, or =false.
data folder
Default
oas-standby
Examples
$ oas standby add --dir /var/lib/oas/standby 'https://swarms.example/s/otters#oas1…'
See also
- oas standby serve(runs until stopped)
Run a standby: keep checked copies of swarms, cosign their checkpoints, and host them after an exit.
- oas propose-standby
Propose naming a standby in the swarm's policy, or dropping one with
--remove. - oas share
Print the current membership's share link, to give to someone who should join.
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.