Project

General

Profile

Task #7654

Task #7649: Sketch a VM backup & restore

Get VMs info from Opennebula and save it in etcd

Added by Ahmed Bilal over 1 year ago. Updated over 1 year ago.

Status:
New
Priority:
Normal
Assignee:
Target version:
-
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.

History

#1

Updated by Ahmed Bilal over 1 year ago

Done

#2

Updated by Nico Schottelius over 1 year ago

Where does it run / update every 10 minutes?

#3

Updated by Ahmed Bilal over 1 year 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)

#4

Updated by Nico Schottelius over 1 year 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

writes:

#5

Updated by Nico Schottelius over 1 year ago

ping sre team

Also available in: Atom PDF