Node Deployment
Using Ansible Playbook to deploy an Agoric nodes
Testnet with state_sync
state_sync
ansible-playbook -i inventory_testnet.ini main.yml \
-e "protocol=agoric" \
-e "target=local" \
-e "state_sync=true"
Command above will install:
prometheus
agoric (build from source code)
cosmovisor
Mainnet without state_sync
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
ansible-playbook -i inventory_remote_mainnet.ini support_sync_snapshot.yml \
-e "protocol=agoric" \
-e "target=local" \
-e "state_sync=false" \
-e "launch=true" \
-e "network_type=mainnet" \
-e "snapshot_url='<https://snapshots.polkachu.com/snapshots/agoric/agoric_11726547.tar.lz4>'" \
-e "snapshot_json_snapshot_name=agoric-upgrade-11"
Cleanup server from the node
ansible-playbook -i inventory_remote_testnet.ini support_remove_node.yml \
-e "protocol=agoric" \
-e "target=local"
Last updated
Was this helpful?