On 10/30/2013 04:39 PM, Aaron Ten Clay wrote:
It sounds like you tried to go from 1 monitor to 2 monitors, which is an
unsupported configuration as far as I am aware. You must have either 1,
or 3 or more monitors for a quorum to be possible.

A quorum of 2 monitors is completely fine as long as both monitors are up. A quorum is always possible regardless of how many monitors you have, as long as a majority is up and able to form it (1 out of 1, 2 out of 2, 2 out of 3, 3 out of 4, 3 out of 5, 4 out of 6,...).

  -Joao


More information is available here:
http://ceph.com/docs/master/rados/operations/add-or-rm-mons/


On Wed, Oct 30, 2013 at 8:47 AM, <alistair.whit...@barclays.com
<mailto:alistair.whit...@barclays.com>> wrote:

    Never mind, problem solved.   Cluster is now healthy again. J____

    __ __

    Tried the recovery process again and managed to remove the hung
    monitor.   Not sure why it didn’t work last time, but hey.____

    __ __

    *From:*Karan Singh [mailto:ksi...@csc.fi <mailto:ksi...@csc.fi>]
    *Sent:* Wednesday, October 30, 2013 2:49 PM
    *To:* Whittle, Alistair: Investment Bank (LDN)
    *Cc:* ceph-users@lists.ceph.com <mailto:ceph-users@lists.ceph.com>
    *Subject:* Re: [ceph-users] Ceph monitor problems____

    __ __

    Hi AW____

    __ __

    Did you check on firewall ( iptables ) between the nodes. If this is
    a test cluster disable iptables and try.____

    __ __

    Regards____

    Karan Singh____

    __ __

    ------------------------------------------------------------------------

    *From: *"alistair whittle" <alistair.whit...@barclays.com
    <mailto:alistair.whit...@barclays.com>>
    *To: *ceph-users@lists.ceph.com <mailto:ceph-users@lists.ceph.com>
    *Sent: *Wednesday, 30 October, 2013 4:20:27 PM
    *Subject: *[ceph-users] Ceph monitor problems____

    __ __

    All,____

    ____

    My ceph cluster is failing to respond to calls for health status
    etc.  It simply hangs at each command and then tells me there is an
    error connecting to the cluster.   I assume that it is because I
    tried to add a second monitor which seemed to hang during the
    “hunting” phase.  I eventually had to kill the tasks which I think
    resulted in my monmap becoming corrupt.   I have tried to access it
    from the only remaining working monitor, but have not had much joy
    with that.____

    ____

    I have also tried to follow the docs re removing monitors from
    unhealthy clusters, but have as yet had no luck with getting the
    stable monmap extracted....____

    ____

    When I run any ceph command from the remaining monitor host I get
    the following error:____

    ____

    /2013-10-30 14:19:01.822660 7f16080f2700 -1 monclient(hunting):
    ERROR: missing keyring, cannot use cephx for authentication/____

    /2013-10-30 14:19:01.822743 7f16080f2700  0 librados: client.admin
    initialization error (2) No such file or directory/____

    /Error connecting to cluster: ObjectNotFound/____

    ____

    It’s the hunting part which implies that something is still stuck
    from when I tried to add the second monitor.____

    ____

    Any ideas on how I can fix the monmap so the remaining monitor can
    be used again?____

    ____

    Thanks.____

    ____

    ___________________________________________________

    This message is for information purposes only, it is not a
    recommendation, advice, offer or solicitation to buy or sell a
    product or service nor an official confirmation of any transaction.
    It is directed at persons who are professionals and is not intended
    for retail customer use. Intended for recipient only. This message
    is subject to the terms at: www.barclays.com/emaildisclaimer
    <http://www.barclays.com/emaildisclaimer>.____

    For important disclosures, please see:
    www.barclays.com/salesandtradingdisclaimer
    <http://www.barclays.com/salesandtradingdisclaimer> regarding market
    commentary from Barclays Sales and/or Trading, who are active market
    participants; and in respect of Barclays Research, including
    disclosures relating to specific issuers, please see
    http://publicresearch.barclays.com.____

    ___________________________________________________


    _______________________________________________
    ceph-users mailing list
    ceph-users@lists.ceph.com <mailto:ceph-users@lists.ceph.com>
    http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com____

    __ __

    _______________________________________________

    This message is for information purposes only, it is not a
    recommendation, advice, offer or solicitation to buy or sell a
    product or service nor an official confirmation of any transaction.
    It is directed at persons who are professionals and is not intended
    for retail customer use. Intended for recipient only. This message
    is subject to the terms at: www.barclays.com/emaildisclaimer
    <http://www.barclays.com/emaildisclaimer>.

    For important disclosures, please see:
    www.barclays.com/salesandtradingdisclaimer
    <http://www.barclays.com/salesandtradingdisclaimer> regarding market
    commentary from Barclays Sales and/or Trading, who are active market
    participants; and in respect of Barclays Research, including
    disclosures relating to specific issuers, please see
    http://publicresearch.barclays.com.

    _______________________________________________


    _______________________________________________
    ceph-users mailing list
    ceph-users@lists.ceph.com <mailto:ceph-users@lists.ceph.com>
    http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com




_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com



--
Joao Eduardo Luis
Software Engineer | http://inktank.com | http://ceph.com
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to