Status: New
Owner: ----

New issue 444 by [email protected]: Support systemd
http://code.google.com/p/ganeti/issues/detail?id=444

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=.

Attachments:
        ganeti.target  63 bytes
        ganeti-confd.service.in  337 bytes
        ganeti-masterd.service.in  344 bytes
        ganeti-noded.service.in  245 bytes
        ganeti-rapi.service.in  315 bytes

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

Reply via email to