Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| events:fusion18:tally [2018/06/27 17:50] – frau_lutzn | events:fusion18:tally [2024/03/31 13:09] (current) – ↷ Links adapted because of a move operation kunsi | ||
|---|---|---|---|
| Line 5: | Line 5: | ||
| ^ device | ^ device | ||
| | tallycom2-1 | | tallycom2-1 | ||
| - | | tallycom3-2 | + | | tallycom3-2 |
| - | Getting voctolight on both tallycoms to (manually) work took unnecessarily much time. It boils down to being new to the matter, wrong labels, wrong config and different | + | Getting voctolight on both tallycoms to (manually) work took unnecessarily much time. It boils down to being new to the matter, wrong labels, wrong config and different |
| === Step for step rebuild === | === Step for step rebuild === | ||
| - | This section describes how to (re-)setup a tallycom from scratch, that should enable a VOC rookie with a linux laptop go right ahead. | + | This section describes how to (re-)setup a tallycom from scratch, that should enable a VOC rookie with a linux laptop |
| - | == 1. Flash latest Raspberry lite == | + | == 1. Prerequisites |
| - Ensure that you have access to this wiki. If you haven' | - Ensure that you have access to this wiki. If you haven' | ||
| + | - If DHCP doesn' | ||
| + | IP: 10.73.100.X | ||
| + | SNM: 255.255.0.0 | ||
| + | GW: 10.73.0.254 | ||
| + | DNS: 10.73.0.254 | ||
| + | </ | ||
| + | - Install ansible and git < | ||
| + | user@laptop$ sudo {dnf, | ||
| + | </ | ||
| + | |||
| + | == 2. Flash latest Raspberry lite == | ||
| - Download + unzip the latest Raspbian lite - [[https:// | - Download + unzip the latest Raspbian lite - [[https:// | ||
| user@laptop$ cd ~/Downloads | user@laptop$ cd ~/Downloads | ||
| Line 23: | Line 34: | ||
| </ | </ | ||
| - | == 2. Setup ansible + VOC cm repo == | + | == 3. Setup ansible + VOC cm repo == |
| - Install ansible and git < | - Install ansible and git < | ||
| user@laptop$ sudo {dnf, | user@laptop$ sudo {dnf, | ||
| Line 31: | Line 42: | ||
| user@laptop$ cd ~/ | user@laptop$ cd ~/ | ||
| user@laptop$ git clone https:// | user@laptop$ git clone https:// | ||
| + | OR | ||
| + | user@laptop$ git clone git@mng.ber.c3voc.de: | ||
| </ | </ | ||
| - | == 3. Final ansible | + | == 4. Run ansible == |
| + | - Get acquainted with the VOC [[: | ||
| + | - Checkout the feature/ | ||
| + | user@laptop$ cd ~/ | ||
| + | user@laptop$ git checkout feature/ | ||
| + | </ | ||
| + | - Check if the event inventory file contains correct mapping of tallycom IP to the variables that end up in the voctolight config < | ||
| + | user@laptop$ egrep ' | ||
| + | [tally-pis] | ||
| + | 10.73.1.15 cam=cam2 encoder=encoder1.lan.c3voc.de | ||
| + | 10.73.1.16 cam=cam3 encoder=encoder1.lan.c3voc.de | ||
| + | 10.73.2.15 cam=cam2 encoder=encoder2.lan.c3voc.de | ||
| + | 10.73.2.16 cam=cam3 encoder=encoder2.lan.c3voc.de | ||
| + | 10.73.3.16 cam=cam3 encoder=encoder3.lan.c3voc.de | ||
| + | 10.73.4.15 cam=cam2 encoder=encoder4.lan.c3voc.de | ||
| + | 10.73.4.16 cam=cam3 encoder=encoder4.lan.c3voc.de | ||
| + | #10.73.3.15 cam=cam1 encoder=encoder3.lan.c3voc.de | ||
| + | </ | ||
| + | - Check/ | ||
| + | user@laptop$ cat ~/ | ||
| + | --- | ||
| + | - hosts: tally-pis | ||
| + | roles: | ||
| + | - { role: common, tags: [' | ||
| + | - { role: tally, tags: [' | ||
| + | </ | ||
| - Run on multiple tallycoms - **WARNING: placeholder only** < | - Run on multiple tallycoms - **WARNING: placeholder only** < | ||
| user@laptop$ cd ~/ | user@laptop$ cd ~/ | ||
| user@laptop$ ./ | user@laptop$ ./ | ||
| - | -i event -t tally \ | + | --inventory-file |
| + | --tree tally \ | ||
| -l 10.73.1.15, | -l 10.73.1.15, | ||
| -t tally \ | -t tally \ | ||
| tally-pis.yml | tally-pis.yml | ||
| </ | </ | ||
| + | |||
| + | === Conclusion === | ||
| + | The tallycoms were in an undefined state. They should either be checked prior to sending them out to the next event or a solution should be provided to quickly reset them at the event. One solution could be to have (pre-baked) working images per device (on e.g. the local encoder), which just need to be flashed to a microSD card, stuck back into the tallycom and $profit. If pre-baked images seem overkill, the process of flashing them with a base OS and running ansible against them should be made more straight forward/ | ||
| === Sources/ | === Sources/ | ||