Node Deployment

Using Ansible Playbook to deploy an Agoric nodes

Testnet with state_sync

ansible-playbook -i inventory_testnet.ini main.yml \
    -e "protocol=agoric" \
    -e "target=local" \
    -e "state_sync=true"

If you want node to be running at the end - add -e launch=true. Also state_sync by default will be false

Command above will install:

  • prometheus

  • agoric (build from source code)

  • cosmovisor

Mainnet without state_sync

ansible-playbook -i inventory_remote_mainnet.ini main.yml \
    -e "protocol=agoric" \
    -e "target=local" \
    -e "state_sync=false" \
    -e "launch=true"

Gathering snapshot and applying on the running node

Cleanup server from the node

Last updated

Was this helpful?