If like me you have a favourite Linux distribution (e.g. Arch) you could find it a pity to have to install a specific distribution, you are not familiar with, just to be able to set-up a tellicast reception system.
Eumetsat pretends that is is possible to set-up a virtual environment (vmware) but without any further clue.
Here are the results of my attempt to do it under a docker container in order to have a lightweight solution.
It produces an relatively small image
REPOSITORY TAG IMAGE ID CREATED SIZE
tellicast-tellicast latest 3ce6336e48dd 4 minutes ago 263MB
which is built in almost no time (a couple of minutes) and is reproducible on any modern new installation in case of hardware crash..
Minimal requirements, for the host: docker and wget.
Eumecast hardware requirements remain valid.
In order to run Eumetsat's tellicast in a docker container, please fill an .env file containing pertinent information to build and run. An example file (env.model) is provided and can be copied and customised.
You need to change at minimum: LICENSE_USER, LICENSE_KEY, and NET_IF.
LICENSE_USER and LICENSE_KEY must contain the values provided by Eumetsat with you e-token.
NET_IF is the interface on which data are multi-cast (use ip a s to find which one).
Now run ./tellicast.sh build to build the environment. This process will download appropriate packages from Eumetsat. Not that all ports (bas and the three hvs) will be exposed by default, which will make impossible (without manual intervention) to launch several containers simultaneously.
And then ./tellicast.sh start to launch the docker compose service.
Service should restart automatically after a reboot if docker is properly configured.
If you filled the proper fields and answered correctly to the questions you should be up and running.
By default data will be stored in the data/ folder (or sub folders) and logs will reside in the logs/ folder. This could be changed (see Customisation for further details).
If anything goes wrong, verify that you can access the key using:
docker compose exec tellicast tc-cast-client -k
which should gives you the keys used and finish by something like:
host_key_4 = ****-****-****-**** (Aladdin EToken PRO)
If not, there is a problem with the key or the communication with it. Check that the key is plugged and exists on your system using lsusb.
If no data are received, check that the network interface (NET_IF) is the correct one, otherwise multi-cast could not be transferred to the container.
Note that the running user name and group must exist on the host computer.
if not customise the USER_ID, GROUP_ID, USER_NAME, GROUP_NAME to suit your needs into your .env file.
Reception customisation can be performed by modifying the etc/*.ini files. Note that if you rebuild the setup they will be overwritten. To make changes permanent (e.g. to store data in different directories for any channel), copy etc/default/ into etc/custom/ and modify the files within it.
This set-up has been built and verified under Archlinux (which is far from being the most user friendly to work with) and which does not accept native tellicast setup.
tellicast.sh is the central tool to start and manage the container. It has several options:
-
start: Starts the container and tellicast-client -
stop: Stops tellicast-client and its container -
restart: Restart the container and tellicast-client (actually it'sstopthenstart) -
graceful: Restart only the tellicast-client within the container, which remains active. -
build: Build the container from the docker-compose.yml, the DockerFile and downloads appropriate files -
clean: Purges all your content and setup. Only .env file will remain untouched. -
logs: Shows the tellicast-client logs. e.g.:tellicast | * Starting SACSrv daemon SACSrv tellicast | ...done. tellicast | Checking the configuration... tellicast | Starting tellicast-client instance hvs-3: OK tellicast | * Starting SACSrv daemon SACSrv tellicast | ...done. tellicast | Checking the configuration... tellicast | Starting tellicast-client instance hvs-3: OK -
psShows the ps status of docker-compose e.g.:NAME IMAGE COMMAND SERVICE CREATED STATUS PORTS tellicast tellicast-tellicast "/docker-entrypoint.…" tellicast 21 hours ago Up 7 hours 0.0.0.0:8100->8100/tcp, [::]:8100->8100/tcp, 0.0.0.0:8200-8202->8200-8202/tcp, [::]:8200-8202->8200-8202/tcp -
statusTells if tellicast-client is running: e.g.:Checking status of tellicast-instance hvs-3... Processes: runningTBC
Any comments are always welcome.