Jan,
Two monitors should be just fine as long as both can agree to every action.
Even number of monitors are not useful as the total number of failures 
tolerated will be the same as odd numbers. For example, 1,2 will not tolerate 
any failure and 3,4 both can tolerate 2 failures.

Thanks & Regards
Somnath

From: Jan Schermer [mailto:j...@schermer.cz]
Sent: Tuesday, December 29, 2015 3:32 PM
To: Ing. Martin Samek
Cc: Somnath Roy; ceph-users@lists.ceph.com
Subject: Re: [ceph-users] My OSDs are down and not coming UP

Just try putting something like the following in ceph.conf:

[global]
mon_host =xxxx:xxxx:2:1612::50 xxxx:xxxx:2:1612::30
mon_initial_members = node-1 node-2

Also, I just noticed you have two MONs? It should always be an odd number. Not 
sure if they can ever get quorum now?

Jan



On 30 Dec 2015, at 00:15, Ing. Martin Samek 
<samek...@fel.cvut.cz<mailto:samek...@fel.cvut.cz>> wrote:

I'm deploying ceph cluster manually following different guides. I didn't use 
ceph-deploy yet.

MS:

Dne 30.12.2015 v 00:13 Somnath Roy napsal(a):
It should be monitor host names..If you are deploying with ceph-deploy it 
should be added in the conf file automatically..How are you creating your 
cluster ?
Did you change conf file after installing ?

From: Ing. Martin Samek [mailto:samek...@fel.cvut.cz]
Sent: Tuesday, December 29, 2015 3:09 PM
To: Jan Schermer
Cc: Somnath Roy; ceph-users@lists.ceph.com<mailto:ceph-users@lists.ceph.com>
Subject: Re: [ceph-users] My OSDs are down and not coming UP

Hi,

No, never. It is my first attempt, first ceph cluster i try ever run.

im not sure, if "mon initial members" should contain mon servers ids or 
hostnames ?

MS:
Dne 30.12.2015 v 00:04 Jan Schermer napsal(a):
Has the cluster ever worked?

Are you sure that "mon initial members = 0" is correct? How do the OSDs know 
where to look for MONs?

Jan


On 29 Dec 2015, at 21:41, Ing. Martin Samek 
<samek...@fel.cvut.cz<mailto:samek...@fel.cvut.cz>> wrote:

Hi,

network is OK, all nodes are in one VLAN, in one switch, in one rack.




tracepath6 node2

 1?: [LOCALHOST]                        0.030ms pmtu 1500

 1:  node2                                                 0.634ms reached

 1:  node2                                                 0.296ms reached

     Resume: pmtu 1500 hops 1 back 64

tracepath6 node3

 1?: [LOCALHOST]                        0.022ms pmtu 1500

 1:  node3                                                 0.643ms reached

 1:  node3                                                 1.065ms reached

     Resume: pmtu 1500 hops 1 back 64

There is no firewall installed or configured.

Martin







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

Reply via email to