sbin_PROGRAMS = \
mount.ceph
-bin_SCRIPTS = crun cephd ceph_stop ceph_common.sh ceph_init
-
+bin_SCRIPTS = crun ceph_init
testmsgr_SOURCES = testmsgr.cc msg/SimpleMessenger.cc
testmsgr_LDADD = libcommon.a
# extra bits
EXTRA_DIST = dstart.sh dstop.sh mkcephfs.sh montest.sh restart.sh verify-mds-journal.sh vstart.sh \
- crun cephd ceph_stop ceph_common.sh ceph_init
+ crun ceph_common.sh ceph_init ceph-daemons
+
+install-data-local:
+ mkdir -p $(DESTDIR)$(libdir)/ceph
+ $(install_sh_SCRIPT) -m 0755 ceph_common.sh $(DESTDIR)$(libdir)/ceph/ceph_common.sh
+ mkdir -p $(DESTDIR)$(sysconfdir)/init.d
+ $(install_sh_SCRIPT) -m 0755 ceph-daemons $(DESTDIR)$(sysconfdir)/init.d/ceph-daemons
+ $(install_sh_SCRIPT) -m 0755 ceph-daemons $(DESTDIR)$(sysconfdir)/init.d/ceph-daemons
# cleaning
clean-local:
- fix readdir vs fragment race by keeping a separate frag pos, and ignoring dentries below it
mds
-- already completed replies should wait for journal to flush, if necessary
- linkage vs cdentry replicas and remote rename....
- move root inode into stray dir
- make recovery work with early replies
;
; Sample ceph startup.conf file.
;
-; NOTE that this file ONLY includes options relating to starting
-; and stopping ceph daemons. For runtime options, see ceph.conf.
-;
+
+; NOTE: This file ONLY includes options relating to starting and
+; stopping ceph daemons. For runtime options, see ceph.conf.
+
+; If a 'host' is defined for a daemon, the start/stop script will
+; verify that it matches the hostname (or else ignore it). If it is
+; not defined, it is assumed that the daemon is intended to start on
+; the current host (e.g., in a setup with a startup.conf on each
+; node).
+
; global
+[global]
conf file = ceph.conf
; monitor
[mon0]
host = alpha
mon path = /data/mon0
+ mon addr = 192.168.0.10:6789
[mon1]
host = beta
mon path = /data/mon1
+ mon addr = 192.168.0.11:6789
[mon2]
host = gamma
mon path = /data/mon2
+ mon addr = 192.168.0.12:6789
; mds
[mds]
pid file = /var/run/ceph/mds$mds.pid
[mds0]
+ host = alpha
; osd