Skip to content

Commit

Permalink
updated the snapshotless squad section with another required step
Browse files Browse the repository at this point in the history
  • Loading branch information
sstanculeanu committed Feb 29, 2024
1 parent b96943f commit 6bdee23
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion docs/integrators/snapshotless-observing-squad.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,33 @@ The nodes started with the flag `--operation-mode snapshotless-observer` will no

### Creating a Snapshotless Observing Squad from scratch

If you choose to install a snapshotless observing squad from scratch, you should follow the instruction from the [observing squad section](/integrators/observing-squad) and remember to add in the `variables.cfg` file the operation mode in the node's extra flags definition:
If you choose to install a snapshotless observing squad from scratch, you should follow the instruction from the [observing squad section](/integrators/observing-squad) and remember to do the following updates:
* add in the `variables.cfg` file the operation mode in the node's extra flags definition:
```
NODE_EXTRA_FLAGS="-log-save -operation-mode snapshotless-observer"
```
* update the proxy config created by the scripts(found at `$CUSTOM_HOME/elrond-proxy/config/config.toml`). `IsSnapshotless = true` should be added to each observer, as follows:
```toml
[[Observers]]
ShardId = 0
Address = "http://127.0.0.1:8080"
IsSnapshotless = true

[[Observers]]
ShardId = 1
Address = "http://127.0.0.1:8081"
IsSnapshotless = true

[[Observers]]
ShardId = 2
Address = "http://127.0.0.1:8082"
IsSnapshotless = true

[[Observers]]
ShardId = 4294967295
Address = "http://127.0.0.1:8083"
IsSnapshotless = true
```

After that, you can resume the normal Observing Squad installation steps.

Expand Down

0 comments on commit 6bdee23

Please sign in to comment.