Skip to content
Snippets Groups Projects
Commit cc436966 authored by shraddhabajare's avatar shraddhabajare
Browse files

story_AT1-422: Add readme file for archiver implementation.

parent 31102126
No related branches found
No related tags found
No related merge requests found
# TANGO Docker containers
[![Documentation Status](https://readthedocs.org/projects/ska-docker/badge/?version=latest)](https://developer.skatelescope.org/projects/ska-docker/en/latest/?badge=latest)
This project defines a set of Docker images and Docker compose files
that are useful for TANGO control system development.
See the documentation in the ``docs`` folder for build and usage
See the documentation in the 'docs' folder for build and usage
instructions.
## Complete Archiver Implementation
[![Documentation Status](https://readthedocs.org/projects/ska-docker/badge/?version=latest)](https://developer.skatelescope.org/projects/ska-docker/en/latest/?badge=latest)
Docker images such as tango-archiver, mariadb and hdb++ viewer are used for archiving various attributes and states of
tango devices. Containers like mariadb, databaseds, hdbpp-es, hdbpp-cm should be up and running. HDB++ is a historical
database used to store the archived attributes values. Here maria database with default schema of hdp++ is used to store
the archived values.
Hdbpp-es is event suscriber device is in charge of gathering the values from the Tango devices and storing them into the
database (mariadb). Hdbpp-cm is a configuration manager server. It configures the attributes to be archived and defines
which Event Subscriber is responsible for a set of Tango attributes to be archived.
Hdbpp-viewer shows the picturial representation of archived attributes, which are stored in maria database.
# Important links
* [Link for Mariadb container](https://gitlab.com/ska-telescope/ska-docker/tree/story_AT1-422/docker/tango/mariadb_hdbpp)
* [Link for Tango-archiver container](https://gitlab.com/ska-telescope/ska-docker/tree/story_AT1-422/docker/tango/tango-archiver)
* [Link for Hdbpp-viewer container](https://gitlab.com/ska-telescope/ska-docker/tree/story_AT1-422/docker/tango/hdbpp_viewer)
* [Docker-compose yaml](https://gitlab.com/ska-telescope/ska-docker/blob/story_AT1-422/docker/tango/tango-archiver/docker-compose.yml)
\ No newline at end of file
......@@ -13,12 +13,12 @@
* tango-java ({DOCKER_REGISTRY_HOST}/${DOCKER_REGISTRY_USER}/tango-java:latest)
* mariadb_hdbpp ({DOCKER_REGISTRY_HOST}/${DOCKER_REGISTRY_USER}/mariadb_hdbpp:latest)
# 4: Creating Mariadb docker containers
# 4: Creating mariadb docker containers
Image '{DOCKER_REGISTRY_HOST}/${DOCKER_REGISTRY_USER}/mariadb_hdbpp' with tag:latest is used to create Mariadb
container. MYSQL_DATABASE=hdbpp, MYSQL_USER=tango, MYSQL_PASSWORD=tango, TANGO_HOST=${TANGO_HOST} are the enviornments
variables set at the time of mariadb container creation. archiverdb is the permenent volume required.
# 5: Running mariadb inside Docker containers
# 5: Running mariadb inside docker containers
mariadb can run on dockers using following command inside the ./tango-archiver
......
# Tango-archiver Docker Container
# Tango-archiver Docker Containers
[![Documentation Status](https://readthedocs.org/projects/ska-docker/badge/?version=latest)](https://developer.skatelescope.org/projects/ska-docker/en/latest/?badge=latest)
......@@ -49,7 +49,7 @@ The data file, archiver-devices.json file runs in this container to configure al
nexus.engageska-portugal.pt/ska-docker/tango-dsconfig:latest is used in this container.
TANGO_HOST=${TANGO_HOST} is the eviornment variable set inside this container at the time of creation.
# 5: Running tango-archiver inside Docker containers
# 5: Running tango-archiver inside docker containers
tango-archiver can run on dockers using following command inside the ./tango-archiver
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment