Skip to content

Instantly share code, notes, and snippets.

@LeoHChen
Last active June 24, 2020 19:40
Show Gist options
  • Save LeoHChen/3b0f664b5070656783bb9ff60766543c to your computer and use it in GitHub Desktop.
Save LeoHChen/3b0f664b5070656783bb9ff60766543c to your computer and use it in GitHub Desktop.
Upgrade Internal Explorer Nodes

login to devop.hmny.io

goto experiment-deploy

cd ~/go/src/github.com/harmony-one/experiment-deploy/ansible

# update to latest version
git pull --rebase

make sure you have the keys in ssh-agent

ssh-add -l

# you should see the california key, like
2048 SHA256:fLo0HQXgwnfnlcVaZDpv6CA6p2QJ1bnVvnGv6nhOn/c /home/lc/.ssh/keys/california-key-benchmark.pem

If not, please add it

ssh-add ~/.ssh/keys/california-key-benchmark.pem

upgrade

ansible-playbook -e 'upgrade=upgrade inventory=intexp' playbooks/upgrade-node.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment