Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This should make starting and stopping collections of related services easier.
stop
,restart
,log
and--except
flag.--flag
.Examples
Start Trackers
sdd start trackers # sdd start tracker-1 tracker-2 tracker-3
Start Brokers (Nodes)
Start Brokers & Trackers
sdd start brokers trackers # sdd start broker-node-no-storage-1 broker-node-no-storage-2 broker-node-storage-1 tracker-1 tracker-2 tracker-3
Log Only Brokers
sdd log -f brokers # sdd log -f broker-node-no-storage-1 broker-node-no-storage-2 broker-node-storage-1
Start Non-Storage Nodes
sdd start no-storage-nodes # sdd start broker-node-no-storage-1 broker-node-no-storage-2
Start Storage Node(s)
sdd start storage-nodes # sdd start broker-node-storage-1
Start all except brokers and trackers
sdd start --except brokers --except trackers # sdd start --except broker-node-no-storage-1 --except broker-node-no-storage-2 --except broker-node-storage-1 --except tracker-1 --except tracker-2 --except tracker-3
Caveats
If you want to check exactly what command will be run, and thus which services will be started/stopped/etc, you can always use
--dry-run
.See here for aliases:
streamr-docker-dev/streamr-docker-dev/bin.sh
Lines 24 to 43 in 52b7808