Cello supports to deploy hyperledger fabric onto multiple physical or virtual servers using ansible, and achieve:
Here is an example on how to make a clean ubuntu system as your ansible controller If you have other system as your Ansible controller, you can do similar steps to setup the environment, the command may not be exact the same but the steps you need to do should be identical.
sudo apt-get update
sudo apt-get install python-dev python-pip libssl-dev libffi-dev -y
sudo pip install --upgrade pip
sudo pip install 'ansible>=2.3.0.0'
git clone https://gerrit.hyperledger.org/r/cello
All the following work assumed that you are in cello/src/agent/ansible directory
Supported ansible versions are 2.3.0.0 or greater.
1. make changes to vars/vb.yml according to your VirtualBox environment
2. export password="your password to vb env"
3. To stand up the fabric network::
ansible-playbook -e "mode=apply" vb.yml
4. To tear down the fabric network::
ansible-playbook -e "mode=destroy" vb.yml
1. make changes to vars/os.yml according to your OpenStack cloud
2. export password="your password of your OpenStack cloud account"
3. To stand up the fabric network::
ansible-playbook -e "mode=apply" os.yml
4. To tear down the fabric network::
ansible-playbook -e "mode=destroy" os.yml
1. make changes to vars/aws.yml according to your aws cloud
2. export AWS_SECRET_KEY="your secret key of your aws account"
3. To stand up the fabric network::
ansible-playbook -e "mode=apply" aws.yml
4. To tear down the fabric network::
ansible-playbook -e "mode=destroy" aws.yml
Please follow instructions in document ansible worker usage to setup fabric network on one clean ubuntu 16.04 server.
Please refer to ansible worker how to.
This work is licensed under a
Creative Commons Attribution 4.0 International License.