olopez32 / ganeti

Automatically exported from code.google.com/p/ganeti
0 stars 0 forks source link

Support systemd #444

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I'm currently (slowly) working on Arch's support for Ganeti. Arch uses systemd, 
so I wrote up a rough start for some systemd unit (config) files [attached]. 
They consist of a service file for each daemon and a target (group of 
services). I based the unit files off of daemon-util, but the unit files use 
systemd's native features instead of daemon-util.

To register the services with ganeti.target (order doesn't matter):

    systemctl enable ganeti-noded ganeti-masterd ganeti-rapi

To include confd:

    systemctl enable ganeti-confd

To signal to the ganeti target that it should start at boot:

    systemctl enable ganeti.target

Note that the files aren't at all tested beyond just being able to start the 
daemons. I don't have Ganeti running yet, so I can't test stopping.

I didn't put in a check that corresponds to daemon-util's check-config. That 
can be easily added with ConditionPathExists=.

Original issue reported on code.google.com by aaron.de...@gmail.com on 2 May 2013 at 1:42

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by ultrot...@google.com on 8 May 2013 at 8:21

GoogleCodeExporter commented 9 years ago

Original comment by mtart...@google.com on 11 Jul 2013 at 2:05

GoogleCodeExporter commented 9 years ago

Original comment by mtart...@google.com on 11 Jul 2013 at 2:57

GoogleCodeExporter commented 9 years ago
Move non-critical bugs scheduled for 2.8 or 2.9 to 2.11, as in those versions 
only critical bug fixes will be integrated.

Original comment by thoma...@google.com on 30 Oct 2013 at 9:48

GoogleCodeExporter commented 9 years ago

Original comment by pud...@google.com on 3 Jun 2015 at 2:00