-
Notifications
You must be signed in to change notification settings - Fork 24
Added compose file to setup multinode Raft network on different physi… #65
base: main
Are you sure you want to change the base?
Conversation
|
How can we test this? |
|
Steps to create Sawtooth-raft network using docker-swarm
Initialize swarm To add a worker to this swarm, run the following command: To add a manager to this swarm, run 'docker swarm join-token manager' and follow the instructions. Create swarm network Validator keys management Copy /home/Ubuntu/validator_keys folder in all the other nodes to /home/Ubuntu folder. Environment variables Create docker containers At any time, the services created by stack deploy can be destroyed by: |
|
The author on the commit is 'Ubuntu' which is why the DCO is failing. |
|
Thanks for the nice instructions! |
swarm/raft_3_nodes.yml
Outdated
| @@ -0,0 +1,362 @@ | |||
| # Copyright 2018 Intel Corporation | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2019
swarm/validator_keys.yaml
Outdated
| @@ -0,0 +1,37 @@ | |||
| # Copyright 2018 Intel Corporation | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2019
|
Could you update your commit message to follow the format described in https://chris.beams.io/posts/git-commit/ Likewise, include some more information about the commit and what it changes/provides. |
Indroducing a way to create multinode Satooth-raft setup on different physical machines. This way minimizes the effort to create/manage/destroy the multiple docker containers on different containers on different physical machines. 1. validator_keys.yaml: This file helps to create validator pub/priv key pairs for each node 2. .env: This is environment file where the docker images TAG and hostnames of all machines needs to be defined 3. raft_3_nodes.yml: This is the compose file that brings up the 3 node docker based sawtooth-raft setup Signed-off-by: Pankaj Goyal <[email protected]>
…cal machines.
Signed-off-by: Pankaj Goyal [email protected]