Actions
Task #7654
closedTask #7649: Sketch a VM backup & restore
Get VMs info from Opennebula and save it in etcd
Start date:
01/27/2020
Due date:
% Done:
0%
Estimated time:
PM Check date:
Description
Create a service that gets VMs' information from OpenNebula and save it in etcd.
It should also update/sync this information every 10 minutes.
Updated by Nico Schottelius almost 5 years ago
Where does it run / update every 10 minutes?
Updated by Ahmed Bilal almost 5 years ago
We can run it either as cron job or put a sleep in the code.
SEC_IN_MIN = 60 SEC_IN_10MIN = 10 * SEC_IN_MIN sleep(SEC_IN_10MIN)
Updated by Nico Schottelius almost 5 years ago
clearly a cron job.
Let's create a new (IPv6 only) service VM based on Alpine, which is
dedicated for running stateless scripts (via cron or other means).
=> service.ungleich.ch
We might eventually also use docker on this VM, just as a side note.
Please configure everything on it (getting ungleich tools repo, setting
up cronjob) via cdist. The ungleich tools is already somewhere in the
dot-cdist repo
redmine@ungleich.ch writes:
Actions