Try   HackMD

Setup [r3s] MultiWorker Minion for c3tracker

Minion Meeting 8.5. 19:00

Meeting-Description:

Kurzes Meeting, um Grundlagen und todos auszubaldovern. Ziel: Vorbereitung, um ein Alleskönner-Minion im Umfeld Freifunk/r3s betreiben zu können. Schön wäre wenn mindestens die Threads des http-tracker-flow und des tracker-assisted-cut-flow, evt. upload-tool, so autark wie möglich ablaufen könnten.
BBB: voc-r3s-master Minion Setup

vainfo checkt ob wir VAAPI fähig sind. h264
Raid-1: 4TB Platte

Next-Step:

  • Erste Übung-HW ausgucken/besorgen (adorfer)
  • ~evt sogar schon was next Saturday
  • Dann nuudlen wir uns einen konkreten Setup Date. (codefreezr)
  • Final-Setup rs3 Minion (alle zusammen)

Requirements

CPU: i7-6700k or better
GPU: Irgendwas, was VAAPI spricht, Intel iGPU reicht
RAM: 16GiB or better
HD: 1-2 TiB (1-2 Events)
OS: Debian Stable
Network I/O: 1Gbit/s for cutting, some mbit/s for uploading

Repos, we need

Rough Flow

  1. Install/Update Debian OS
  2. Setup Users on Minion-Machine (voc,cf23, ..)
  3. Install apt-packages (see medata.py)
  4. do git checkouts
  5. config secrets & stuff (for e.g. Name: voc-r3s-master)
  6. test connections
  7. config inside tracker.c3voc.de
  8. make some e2e-tests
    1. remote-flow
    2. tracker-assisted-cut
    3. upload-tool

Step-By-Step Details (Übungs-Minion)

Name: r3spluto
DNS: r3spluto.ffdus.de
Access: via Pub/Private Keys
install cpuinfo & vainfo
tbd: nvidia treiber installieren (how2do)
https://www.cyberciti.biz/faq/how-to-install-ffmpeg-with-nvidia-gpu-acceleration-on-linux/
fmpeg -y -hwaccel cuda

Vor dem Treiber:

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

Nach Reboot:

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

Packages aus meta.py

​​​​perl v5.32.1

​​​​ffmpeg N-106935-gb8ede4d637

​​​​fuse_2.9.9-5_amd64.deb
​​​​fuse2fs_1.46.2-2_amd64.deb
​​​​fuse3_3.10.3-2_amd64.deb

​​​​libboolean-perl_0.46-1_all.deb
​​​​libconfig-inifiles-perl_3.000003-1_all.deb 
​​​​ibdatetime-perl:amd64 (2:1.54-1) (plus a lot of more libs)
​​​​libfile-which-perl_1.23-1_all.deb 
​​​​libipc-run3-perl_0.048-2_all.deb
​​​​libjson-perl (4.03000-1)
​​​​libmath-round-perl (0.07-1.1)
​​​​libproc-processtable-perl (0.59-2+b1) 
​​​​libwww-curl-perl (4.17-7+b1)
​​​​libxml-rpc-fast-perl (0.8-1) (plus a lot of more libs)
​​​​libxml-simple-perl (2.25-1)

​​​​#### Packages, wie unter pacman aufgeführt konnten nicht gefunden werden:
​​​​fuse-ts ???
​​​​...

Final Things:

  • /video (mount 8 TiB)
  • Folder: capture encoded fuse intros repair tmp
  • install screen
  • Auth & Creds in: etc/defaults/crs-worker

Open for Tracker Assisted Cut

  • Samba: ro /video, rw /video/fuse

Tipps

  • ext4 ist ok, für SuperFastSchnippselWrite wäre xfs o. zfs besser.

Fragen und so

  • Wie sollten wir die 8 TiB Platte am besten mounten?
    • mount /dev/sdb1 /video
  • Minioncheck, was fehlt, was brauchts?
    • /etc/defaults/crs-worker (Creds, Token, URL)
    • tbd: ssh-key für recording
  • Config-Finish möglich? -> Yes
  • Wie binden wir den Minion dann im Tracker ein?
    • Minion meldet sich beim Tracker
  • Könnten wir 2-3 Perma-Projekte im Tracker einrichten?
    • Einen zum regelm. Releasen alá Petifoo ((Bi)-Weekly 1-2 Newsshows)
      • r3s Lab (!!!)
    • Einen zum Tracker-Assisted-Cutting üben
      • KaninchenzüchterVereinsÜbertragung
    • Einen zum entwickeln, einrichten und üben von einem Video-Review-Flow evt. inkl. weiteren Zielen Peertube/Fediverse evt. r3s-twitch
      • Dafür müssten wir was im VoctoPub anpassen