- Cover scenarios with multiple playbooks (initial setup, node upgrade, validator migration, etc)
- Support both testnet and mainnet
- Support both validator and validator fullnode
- Will support public fullnode at a later date
Once all set, you run one playbook to do a task, such as:
ansible-playbook main.yml -e "target=validator_mainnet"
The target can be:
- validator_mainnet
- fullnode_mainnet
- validator_testnet
- fullnode_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 |
These playbooks do not touch any key files. We already do it manually. We think you should too.
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 | Close | Close | Open or reverse proxy to 80/443 |