- Cover scenarios with multiple playbooks (initial setup, node upgrade, validator migration, etc)
- Support both testnet and mainnet
- Support both validator, validator fullnode and public fullnode
Once all set, you run one playbook to do a task, such as:
ansible-playbook main.yml -e "target=fullnode_mainnet"
ansible-playbook main_upgrade.yml -e "target=fullnode_mainnet"
The target can be:
- validator_mainnet
- vfn_mainnet
- fullnode_mainnet
- indexer_mainnet
- validator_testnet
- vfn_testnet
First create your own inventory file by copying the sample one. Then you customize the file with your own.
cp inventory.sample.yaml inventory.yaml
Playbook | Description |
---|---|
main.yml |
Set up a new node |
main_upgrade.yml |
Upgrade the node version and restart service |
Node | Validator | Validator Fullnode | Public Fullnode |
---|---|---|---|
P2P port | 6180 Open to all, 6181 Open to vfn | None open | 6182 Open to all |
Prometheus port 9101 | Open to monitor server | Open to monitor server | Open to monitor server |
REST PORT 8080 | Closed | Closed | Reverse proxy to 80 |
These playbooks do not touch any key files. We already do it manually. We think you should too.