Architecture
The testbed infrastructure runs on 3 boxes. On each of them, run-updates
follows the git repos every 5 minutes, and redeploys what has changed (see
Auto-update).
faraday.inria.fr¶
The gateway of the testbed.
| service | role | details |
|---|---|---|
dnsmasq (run by NetworkManager) | DHCP and DNS for the nodes and devices | The inventory |
monitornodes, monitorphones, monitorpdus | probe the hardware, and report to the sidecar | Monitoring |
accountsmanager | unix accounts of the users, and their authorized_keys | |
relaysapi | HTTP API for the temperatures of the relay boxes | |
relaystemperatures.timer | collects these temperatures, every 15 minutes | |
r2lab-nightly.timer | nightly health check of the testbed | The nightly service |
It also holds the frisbee images, that rhubarbe loads on
the nodes. As for docker images, see their own page.
r2lab.inria.fr¶
The web front end.
| service | role | details |
|---|---|---|
nginx | HTTPS termination, and static files, including this documentation under /docs | |
r2lab-django | the website | |
r2lab-sidecar | websockets server: live status of the testbed, and leases | The sidecar |
r2lab-sidecar-addr | sets up the dedicated IP address of r2lab-sidecar.inria.fr | The sidecar |
r2labapi.inria.fr¶
The API, and its database.
| service | role | details |
|---|---|---|
caddy | HTTPS on port 443, reverse proxy to r2lab-api | The API |
r2lab-api | users, slices, ssh keys, leases and node availability; listens on local port 9999 | The API |
| PostgreSQL | the database behind the API | The API |
r2lab-backup.timer | hourly dump of the database | The API |
backups-rotate.timer | rotation of these dumps, twice a day | The API |
r2lab-slice-warning.timer | daily mail about slices that are about to expire | The API |