Re: cluster status information

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Thu, 2011-05-26 at 15:18 +0300, Fyodor Ustinov wrote:
> Hi!
> 
> How to get information about status of each server in cluster?
> 
> #ceph osd stat
> 2011-05-26 15:07:05.103621 mon <- [osd,stat]
> 2011-05-26 15:07:05.104201 mon0 -> 'e413: 6 osds: 5 up, 5 in' (0)
> 
> I see - in cluster 6 osd servers and now up only 5.  How do I know which 
> server is down?

Like mentioned, this can be done with: ceph osd dump -o -

Or you can write it to a file: ceph osd dump -o osdstatus.txt

> 
> More global question - how to monitor the state of servers in a cluster?

Currently 'ceph -s' or 'ceph health' will give you the best available
information, but this is a aspect that is being worked on.

Getting more and better monitoring is on the wishlist (so I heard).

There is a issue about this in the tracker:
http://tracker.newdream.net/issues/685

Once this information is exposed via libceph, writing an application
which shows it in a nice format is trivial.

Wido

> 
> WBR,
>      Fyodor.
> 
> P.S. JFYI: key "-s" do not described in manual page about ceph command.
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux