- Support both block producer and load tester
- Allow one server to host multiple nodes
- Non-Docker deployment
This script does not take care of the following:
- Provision and secure your server
- Install Mina binary https://github.com/MinaProtocol/mina/releases/tag/2.0.0rampup5
- Handle keys from Mina Foundation
- Generate libp2p keys
This script assumes the following:
- Your user name is
ubuntu
- You have multiple Mina binary named as
mina1
,mina2
... at/usr/local/bin
. One for each process - You plan to have mina env files and mina config folders in the
/home/ubuntu/
folder
First, copy the inventory file and make customization
cp inventory.sample inventory
When you are ready install a node, you run something like this:
ansible-playbook main.yml -e "target=bp1"
ansible-playbook main.yml -e "target=lt2"