-
Notifications
You must be signed in to change notification settings - Fork 2
HA os, ethdo, pdc update
stefa2k edited this page Jun 23, 2020
·
1 revision
- 2 nodes with same setup
- Ubuntu
Set up a new inventory (e. g. file name inventory.ha.yaml
) which should look like this:
all:
hosts:
backup:
ansible_port: 22 # ssh-port of spare node
ansible_host: 1.2.3.4 # ip address of spare node
ansible_user: deploy # prysm user
to_upgrade:
ansible_port: 22 # ssh-port of node to upgrade
ansible_host: 5.6.7.8 # ip of node to upgrade
ansible_user: deploy # prysm user
ansible-playbook -i inventory.ha.yaml ha-os-pdc-upgrade.yaml
Steps it executes for you:
- Copy validator wallet and keystore to host
backup
- Start up validator on host
backup
- Shut down validator on host
to_upgrade
as soon as validator ofbackup
is up and ready to stake - Do OS upgrade, ethdo update, prysm-docker-compose update on host
to_upgrade
- Wait for full sync, then start validator on
to_upgrade
- Shut down validator on
backup
as soon as validator ofto_upgrade
is up and ready to stake