Prior to starting up your nodes make sure you have the following items completed:
Bootstrap process completed with the bootstrap directory handy (default: /var/flow/bootstrap
)
Flow data
directory created (default: /var/flow/data
)
node config ready
Firewall exposes TCP/3569, and if you are running access
node also the GRPC port (default: TCP/9000)
For more details head back to Setting up your node
When you have all the above completed, you can start your Flow node via systemd
or docker
.
systemd
Ensure that you downloaded the systemd unit file. If you haven't, follow the Set your node to start guide to get your unit file and enabled.
Once you have your Flow service enabled you can now start your service: systemctl start flow
Docker
If you don't have have systemd on your system, or prefer not to use systemd, you can run the following docker
commands for your respective Flow role to start your node!
Access
-v /path/to/bootstrap:/bootstrap:ro \
-v /path/to/data:/data:rw \
gcr.io/flow-container-registry/access:v0.0.6-alpha \
--nodeid=${FLOW_GO_NODE_ID} \
--bootstrapdir=/bootstrap \
--datadir=/data/protocol \
--rpc-addr=0.0.0.0:9000 \
--ingress-addr=${FLOW_NETWORK_COLLECTION_NODE} \
--script-addr=${FLOW_NETWORK_EXECUTION_NODE} \
Collection
-v /path/to/bootstrap:/bootstrap:ro \
-v /path/to/data:/data:rw \
gcr.io/flow-container-registry/collection:v0.0.6-alpha \
--nodeid=${FLOW_GO_NODE_ID} \
--bootstrapdir=/bootstrap \
--datadir=/data/protocol \
--rpc-addr=0.0.0.0:9000 \
--nclusters=${FLOW_NETWORK_COLLECTION_CLUSTER_COUNT} \
Consensus
-v /path/to/bootstrap:/bootstrap:ro \
-v /path/to/data:/data:rw \
gcr.io/flow-container-registry/consensus:v0.0.6-alpha \
--nodeid=${FLOW_GO_NODE_ID} \
--bootstrapdir=/bootstrap \
--datadir=/data/protocol \
--nclusters=${FLOW_NETWORK_COLLECTION_CLUSTER_COUNT} \
Execution
-v /path/to/bootstrap:/bootstrap:ro \
-v /path/to/data:/data:rw \
gcr.io/flow-container-registry/execution:v0.0.6-alpha \
--nodeid=${FLOW_GO_NODE_ID} \
--bootstrapdir=/bootstrap \
--datadir=/data/protocol \
--ingress-addr=0.0.0.0:9000 \
--nclusters=${FLOW_NETWORK_COLLECTION_CLUSTER_COUNT} \
Verification
-v /path/to/bootstrap:/bootstrap:ro \
-v /path/to/data:/data:rw \
gcr.io/flow-container-registry/verification:v0.0.6-alpha \
--nodeid=${FLOW_GO_NODE_ID} \
--bootstrapdir=/bootstrap \
--datadir=/data/protocol \
--nclusters=${FLOW_NETWORK_COLLECTION_CLUSTER_COUNT} \
Archive
-v /path/to/data:/data:rw \
--name flow-dps gcr.io/flow-container-registry/flow-dps-live:v0. 26.1
--bootstrap /data/bootstrap
--checkpoint /data/bootstrap/root.checkpoint
--seed-address = access_node_address