Skip to content

Restore Zimfarm sisyphus worker

benoit74 edited this page Oct 4, 2024 · 3 revisions

Restoring a Zimfarm worker from a new bare VM consists in following steps:

  • setup the machine as described in the generic procedure
  • setup the worker as described in the generic procedure
    • including installation of Docker CE
    • few special stuff for /etc/zimfarm.config:
      • ZIMFARM_USERNAME="sisyphus"
      • ZIMFARM_OFFLINERS=""
      • ZIMFARM_SELFISH="y"
      • WEB_API_URIS="https://api.farm.zimit.kiwix.org/v1,https://api.farm.openzim.org/v1"
      • specify proper settings for CPU/RAM/Disk depending on the VM characteristics and current task settings in zimit-frontend:
      • as of Oct. 2024:
        • ZIMFARM_MAX_RAM="15GiB"
        • ZIMFARM_DISK="200GiB"
        • ZIMFARM_CPU="4"
  • if the worker IP has changed, update ZimitWorker policy in Wasabi console for proper uploads to S3