Re: problem with ceph init scripts

2011-03-02 Thread Upendra Moturi
I was on the same node as osd0 ,but still it did not work. When i see /etc/init.d/ceph file,it is not even going into that start case On Tue, Mar 1, 2011 at 11:04 PM, Colin McCabe cmcc...@alumni.cmu.edu wrote: Hi Upendra, You should be on the same node as osd0 in order to start osd0. There

Re: problem with ceph init scripts

2011-03-01 Thread Colin McCabe
Hi Upendra, You should be on the same node as osd0 in order to start osd0. There is that wacky -a option, at least until we decide to remove it. But my advice is not to use that. Set up something like dsh. cheers, Colin On Tue, Mar 1, 2011 at 3:55 AM, Upendra Moturi upendr...@hexagrid.com

Re: problem with ceph init scripts

2011-02-28 Thread Upendra Moturi
Hi Colin /var/run/ceph exist on only one node(the node on which i start the cluster with -a) But ceph is running on all nodes(checked with ps -ef) When i ssh into nodes and try to stop osd (/etc/init.d/ceph stop osd) it does not work(this was my second issue) But when i stop /etc/init.d/ceph -a

Re: problem with ceph init scripts

2011-02-28 Thread Colin McCabe
On Mon, Feb 28, 2011 at 4:00 AM, Upendra Moturi upendr...@hexagrid.com wrote: Hi Colin /var/run/ceph exist on only one node(the node on which i start the cluster with -a) Without /var/run/ceph/pid, the init script will not know which pid to kill. So it will do nothing. Try creating

Re: problem with ceph init scripts

2011-02-25 Thread Gregory Farnum
Sorry, we kind of lost this in the shuffle! Did you manage to resolve this issue? From what I see in your steps below, it looks like you're doing things in the wrong order -- mkcephfs should always be the first thing you do. If you really have nodes running before you do mkcephfs I suspect you

Re: problem with ceph init scripts

2011-02-25 Thread Colin McCabe
Hi Upendra, Based on the output you posted, init-ceph is doing something on every node. However, I only see a kill for certain nodes. Does /var/run/ceph/ exist on all nodes, or just some of them? Does the appropriate pid file exist on all nodes? What happens when you ssh in to those nodes

Re: problem with ceph init scripts

2011-02-18 Thread Upendra Moturi
Hi Colin I am using the ubuntu 11.04 (32 bit) and got the ceph package from apt-get i am using the default init script.(Found at /etc/init.d/ceph) Regarding issue 1) On the osd node I tried to start that osd but it did not work Steps followed 1) Started 3 nodes(ceph.conf is same as i sent

Re: problem with ceph init scripts

2011-02-17 Thread Upendra Moturi
Hi Colin Here is my ceph.conf : [global] pid file = /var/run/ceph/$name.pid debug ms = 1 [mon] mon data = /data/mon$id [mon.0] host = ceph0 mon addr = 192.168.155.5:6789 [mon.1] host = ceph1 mon addr = 192.168.155.6:6789 [mon.2] host

Re: problem with ceph init scripts

2011-02-17 Thread Colin McCabe
Hi Upendra, Are you running init-ceph from the source directory? If you do that, it will use the ceph.conf in the source directory itself, which is probably not what you want. So it might be good to double-check that. If all else fails, running init-ceph with -x will show you exactly what the

problem with ceph init scripts

2011-02-16 Thread Upendra Moturi
Hi, With ceph 0.24.2 and linux 2.6.38-2-generic(ubuntu) ,i face problems with ceph init scripts /etc/init.d/ceph -a start works fine But if we want to start a particular osd or mon or mds ,its not working and there is no error eg:/etc/init.d/ceph start osd1 does not start osd1 and don't

Re: problem with ceph init scripts

2011-02-16 Thread Colin McCabe
On Wed, Feb 16, 2011 at 6:44 AM, Upendra Moturi upendr...@hexagrid.com wrote: But if we want to start a particular osd or mon or mds ,its not working and there is no error eg:/etc/init.d/ceph start osd1  does not start osd1 and don't get any error That is expected, unless you are running

Re: problem with ceph init scripts

2011-02-16 Thread Tommi Virtanen
On Wed, Feb 16, 2011 at 01:41:44PM -0800, Colin McCabe wrote: It might be nice to have some kind of interface like run command X on osd1, but init-ceph is not that. For general cluster administration tasks, let me recommend tools such as: dsh: like ssh HOST COMMAND but does multiple hosts at

Re: problem with ceph init scripts

2011-02-16 Thread Upendra Moturi
Hi Colin I am using ceph version 0.24.2 commit:f7572de5cb87eb7157217be4975ae66d90831bb7 ubuntu 11.04 32 bit with upgraded kernal of 2.6.38-2-generic Installed ceph form apt source. With above configurations i still able yo reproduce. Can you please share me ur configurations? On Thu, Feb 17,

Re: problem with ceph init scripts

2011-02-16 Thread Colin McCabe
I'm using head of line from the master branch. But that particular code hasn't changed since January, which is 0.24.2 is from. In my ceph.conf, I just had an osd that was on a remote machine, and everything else local. If you could post your ceph.conf here or in IRC, perhaps we might spot an