Skip to content

HA os, ethdo, pdc update

stefa2k edited this page Jun 23, 2020 · 1 revision

Requirements

HA update of OS & pdc

Settings

Create ansible inventory

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

Run

Upgrade the host

ansible-playbook -i inventory.ha.yaml ha-os-pdc-upgrade.yaml

Steps it executes for you:

  1. Copy validator wallet and keystore to host backup
  2. Start up validator on host backup
  3. Shut down validator on host to_upgrade as soon as validator of backup is up and ready to stake
  4. Do OS upgrade, ethdo update, prysm-docker-compose update on host to_upgrade
  5. Wait for full sync, then start validator on to_upgrade
  6. Shut down validator on backup as soon as validator of to_upgrade is up and ready to stake