Sage Weil
a0cbcc0e53
fix pid file removal
2009-02-28 16:25:29 -08:00
Sage Weil
e16d2fd0da
initscript: include all monitor addrs on command line
2009-02-28 16:12:20 -08:00
Sage Weil
28d5d5125d
initscripts: make mkcephfs and initscript behave on cosd*
2009-02-28 16:06:27 -08:00
Sage Weil
aed7cdc417
config: parse 'monmap file' from conf files
2009-02-28 16:00:40 -08:00
Sage Weil
0060269735
cosd: don't screw up stdout with NULL string
2009-02-28 15:52:46 -08:00
Sage Weil
b7a42ba386
config: chdir_root on by default
2009-02-28 15:52:18 -08:00
Sage Weil
19c0c1a706
config: use daemon() call; rename use_abspath to chdir_root
2009-02-28 15:48:09 -08:00
Sage Weil
7b3d2c06f6
config: fix conf metaoption parsing
...
Remove from args[] so that caller doesn't get confused by them.
2009-02-27 21:19:52 -08:00
Yehuda Sadeh
6745adf0c6
ceph-daemons: some more fixes
2009-02-27 17:20:10 -08:00
Yehuda Sadeh
94cb33f7fb
Merge branch 'unstable' of ssh://ceph.newdream.net/git/ceph into unstable
2009-02-27 17:11:22 -08:00
Yehuda Sadeh
f34dafd4e7
ceph-daemons: some more fixes
2009-02-27 17:11:10 -08:00
Sage Weil
dcec5b8713
rename sample.startup.conf
2009-02-27 16:41:07 -08:00
Sage Weil
785d67e6a7
more cleanup
2009-02-27 16:39:40 -08:00
Sage Weil
46fd66ce87
makefile: cleanup
2009-02-27 16:39:09 -08:00
Sage Weil
d73e021142
ceph-daemons: generate list of items to stop/start in ceph_common.sh
...
nothing -> everything
mon -> all monitors (mon*)
mds0 -> just mds0
2009-02-27 16:17:40 -08:00
Sage Weil
ad86cf6a4f
ceph-daemons: simplify crun/valgrind logic
2009-02-27 16:04:48 -08:00
Yehuda Sadeh
c8820313d2
ceph-daemons: fixed merge
2009-02-27 16:04:20 -08:00
Yehuda Sadeh
8136874dad
Merge branch 'unstable' of ssh://ceph.newdream.net/git/ceph into unstable
2009-02-27 16:02:09 -08:00
Yehuda Sadeh
1e4d4d2f4d
ceph-daemons: minor changes
2009-02-27 16:01:53 -08:00
Sage Weil
6e31ae0e3e
ceph-daemons: 'stop' works
2009-02-27 15:51:55 -08:00
Yehuda Sadeh
1295321763
Merge branch 'unstable' of ssh://ceph.newdream.net/git/ceph into unstable
...
Conflicts:
src/ceph-daemons
2009-02-27 15:49:01 -08:00
Yehuda Sadeh
c2e1fa50bf
ceph-daemons: works partially
2009-02-27 15:46:10 -08:00
Sage Weil
4fc829114c
vstart: some changes
...
no more crun wrapper; rename ceph_stop back to stop.sh
2009-02-27 15:44:28 -08:00
Sage Weil
295fc872ea
vstart: no more crun
2009-02-27 15:44:28 -08:00
Sage Weil
2b9781080d
mkcephfs
...
Still need to add optional mkbtrfs + mount stuff.
2009-02-27 15:11:49 -08:00
Sage Weil
b13663e86e
debian: update packages
2009-02-27 15:11:49 -08:00
Sage Weil
268bb2c136
makefile, todo
2009-02-27 15:11:48 -08:00
Sage Weil
528dd9b0ce
config: specify --monmap_file on command line
...
Still defaults to .ceph_monmap.
2009-02-27 15:11:48 -08:00
Sage Weil
1819950069
client: fix warning
2009-02-27 15:11:48 -08:00
Sage Weil
e3312b51c6
ceph-daemon: some comments
2009-02-27 15:11:48 -08:00
Yehuda Sadeh
06572bbfbe
ceph-daemons: no norestart any more
2009-02-27 14:33:15 -08:00
Yehuda Sadeh
ab773a73d9
ceph-daemons: read config for different entities
2009-02-27 14:30:09 -08:00
Yehuda Sadeh
1a883973c4
crun: replace $* with "$@"
2009-02-27 12:55:41 -08:00
Yehuda Sadeh
3e78cb85bb
ceph-daemons: replace $* with "$@"
2009-02-27 12:51:51 -08:00
Sage Weil
1aed41ca74
crun: simplify to just restart if coredump
2009-02-27 12:43:10 -08:00
Yehuda Sadeh
c4eef372fd
cephd: added "osd journal" option
2009-02-27 12:36:38 -08:00
Sage Weil
fb330f6168
ceph-daemons: add --allhosts option
...
By default only start hosts on the current host if 'host' is defined. If
--allhosts is specified, ssh into the remote host to start/stop as needed.
2009-02-27 11:38:22 -08:00
Sage Weil
84a1ae3861
sample startup.conf
2009-02-27 11:18:45 -08:00
Sage Weil
357e8bbab8
ceph-daemons: restructured (but incomplete) init.d script
...
Only start/stop items explicitly defined in startup.conf.
Start specific osds or mdss (e.g. 'start osd12')
No NUM_OSD type iteration.. that only makes sense in a testing/dev
environment.
Extract options for each daemon in both start AND stop path, so that we can
stop the right daemon... e.g. if it is on a remote host or some such thing.
Try to be smart about looking for things in . or /usr/bin, /etc/ceph, etc.
2009-02-27 11:03:23 -08:00
Sage Weil
c2070b4cd3
config: optionally maintain a pid file
...
Remove it when we shut down _only_ if it matches getpid().
2009-02-27 10:57:24 -08:00
Sage Weil
6b5c13b65a
cconf: ability to list section names
...
'./cconf -c ceph.conf -l foo' will list all section names that begin with
'foo'.
2009-02-27 10:23:21 -08:00
Sage Weil
250f42d53e
ceph_init: assume CEPH_BIN is dirname ceph_init
2009-02-27 09:20:37 -08:00
Sage Weil
1490b7ff78
ceph_init: default to /etc/ceph/startup.conf
2009-02-27 09:05:19 -08:00
Sage Weil
ab14b5a1e5
debian: Build-depends libedit-dev
2009-02-27 08:46:41 -08:00
Sage Weil
238400d986
logger: validate log type; remove unused mds.logger2
...
Catch any undefined columns early. Only real non-startup runtime danger
is sending events to the wrong logger, now.
2009-02-26 20:47:11 -08:00
Sage Weil
e2389c5316
debug: ensure a SIGHUP reopens log reasonably soon
...
Since nothing new may be written to the log for a while, check if it needs
to be reopened in the mds/osd/mon tick() method.
2009-02-26 20:27:56 -08:00
Sage Weil
843c598e8b
logger: fix again
...
bah
2009-02-26 18:34:42 -08:00
Sage Weil
48c61bafdf
config: only build an abspath if it's not already absolute
2009-02-26 18:33:40 -08:00
Sage Weil
40459d5c51
config: default to etc/ceph/ceph.conf
2009-02-26 17:36:25 -08:00
Sage Weil
37f77cee29
debian: include var/log/ceph in package
2009-02-26 17:23:11 -08:00