Description=ceph target allowing to start/stop all ceph-fuse@.service instances at once
PartOf=ceph.target
Before=ceph.target
+
[Install]
WantedBy=remote-fs.target ceph.target
Description=ceph target allowing to start/stop all ceph-immutable-object-cache@.service instances at once
PartOf=ceph.target
Before=ceph.target
+
[Install]
WantedBy=multi-user.target ceph.target
[Unit]
Description=ceph target allowing to start/stop all ceph-mds@.service instances at once
PartOf=ceph.target
+After=ceph-mon.target
Before=ceph.target
+Wants=ceph.target ceph-mon.target
+
[Install]
WantedBy=multi-user.target ceph.target
[Unit]
Description=Ceph metadata server daemon
-After=network-online.target local-fs.target time-sync.target
-Wants=network-online.target local-fs.target time-sync.target
PartOf=ceph-mds.target
+After=network-online.target local-fs.target time-sync.target
+Before=remote-fs-pre.target ceph-mds.target
+Wants=network-online.target local-fs.target time-sync.target remote-fs-pre.target ceph-mds.target
[Service]
Environment=CLUSTER=ceph
[Unit]
Description=ceph target allowing to start/stop all ceph-mgr@.service instances at once
PartOf=ceph.target
+After=ceph-mon.target
Before=ceph.target
+Wants=ceph.target ceph-mon.target
+
[Install]
WantedBy=multi-user.target ceph.target
[Unit]
Description=Ceph cluster manager daemon
-After=network-online.target local-fs.target time-sync.target
-Wants=network-online.target local-fs.target time-sync.target
PartOf=ceph-mgr.target
+After=network-online.target local-fs.target time-sync.target
+Before=remote-fs-pre.target ceph-mgr.target
+Wants=network-online.target local-fs.target time-sync.target remote-fs-pre.target ceph-mgr.target
[Service]
Environment=CLUSTER=ceph
RestrictSUIDSGID=true
StartLimitBurst=3
StartLimitInterval=30min
-
# We need to disable this protection as some python libraries generate
# dynamic code, like python-cffi, and require mmap calls to succeed
MemoryDenyWriteExecute=false
-
[Install]
WantedBy=ceph-mgr.target
Description=ceph target allowing to start/stop all ceph-mon@.service instances at once
PartOf=ceph.target
Before=ceph.target
+Wants=ceph.target
+
[Install]
WantedBy=multi-user.target ceph.target
[Unit]
Description=Ceph cluster monitor daemon
-
+PartOf=ceph-mon.target
# According to:
# http://www.freedesktop.org/wiki/Software/systemd/NetworkTarget
# these can be removed once ceph-mon will dynamically change network
# configuration.
After=network-online.target local-fs.target time-sync.target
-Wants=network-online.target local-fs.target time-sync.target
-PartOf=ceph-mon.target
+Before=remote-fs-pre.target ceph-mon.target
+Wants=network-online.target local-fs.target time-sync.target remote-fs-pre.target ceph-mon.target
[Service]
Environment=CLUSTER=ceph
[Unit]
Description=ceph target allowing to start/stop all ceph-osd@.service instances at once
PartOf=ceph.target
+After=ceph-mon.target
Before=ceph.target
+Wants=ceph.target ceph-mon.target
+
[Install]
WantedBy=multi-user.target ceph.target
[Unit]
Description=Ceph object storage daemon osd.%i
-After=network-online.target local-fs.target time-sync.target ceph-mon.target
-Wants=network-online.target local-fs.target time-sync.target
PartOf=ceph-osd.target
+After=network-online.target local-fs.target time-sync.target
+Before=remote-fs-pre.target ceph-osd.target
+Wants=network-online.target local-fs.target time-sync.target remote-fs-pre.target ceph-osd.target
[Service]
Environment=CLUSTER=ceph
[Unit]
Description=ceph target allowing to start/stop all ceph-radosgw@.service instances at once
PartOf=ceph.target
+After=ceph-mon.target
Before=ceph.target
+Wants=ceph.target ceph-mon.target
+
[Install]
WantedBy=multi-user.target ceph.target
[Unit]
Description=Ceph rados gateway
-After=network-online.target local-fs.target time-sync.target
-Wants=network-online.target local-fs.target time-sync.target
PartOf=ceph-radosgw.target
+After=network-online.target local-fs.target time-sync.target
+Before=remote-fs-pre.target ceph-radosgw.target
+Wants=network-online.target local-fs.target time-sync.target remote-fs-pre.target ceph-radosgw.target
[Service]
Environment=CLUSTER=ceph
Description=ceph target allowing to start/stop all ceph-rbd-mirror@.service instances at once
PartOf=ceph.target
Before=ceph.target
+
[Install]
WantedBy=multi-user.target ceph.target
[Unit]
Description=ceph target allowing to start/stop all ceph*@.service instances at once
+
[Install]
WantedBy=multi-user.target
[Unit]
Description=Map RBD devices
-
-After=network-online.target
+After=network-online.target ceph.target
Before=remote-fs-pre.target
-Wants=network-online.target remote-fs-pre.target
+Wants=network-online.target remote-fs-pre.target ceph.target
[Service]
EnvironmentFile=-@SYSTEMD_ENV_FILE@