Re: ReAsk: how to tell ceph-mon to listen on a specific address only

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

 



Hi,

that's by design. The monitor always listens to the public side only, if a public network is defined. If you want everything in the cluster network, just don't specify a seperate public/cluster network. But that's all documented in great detail at http://ceph.com/docs/master/rados/configuration/network-config-ref/

Best regards,
Kurt

16. Februar 2014 19:57
Hi everyone:

I am still trying unsuccessfully to implement a test array for a POC.  It is still failing to set up - specifically, the admin keyring is not getting set up.

Setup is 4 x OSD, 1 x Mon/Mgr.  The Mon machine is the only one that is multi-homed - eth0 on a private subnet for internal Ceph communications and eth1 on a so-called "public" interface.  The problem is that ceph-mon is creating the listener on the public interface and ceph-deploy is trying to talk to it on the private interface.

[ceph@cm my-cluster]$ sudo netstat -ln
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address               Foreign Address             State
tcp        0      0 0.0.0.0:22 0.0.0.0:*                   LISTEN
tcp        0      0 172.24.12.91:6789 0.0.0.0:*                   LISTEN
tcp        0      0 :::22 :::*                        LISTEN
udp        0      0 0.0.0.0:68 0.0.0.0:*
Active UNIX domain sockets (only servers)
Proto RefCnt Flags       Type       State         I-Node Path
unix  2      [ ACC ]     STREAM     LISTENING     6706 @/com/ubuntu/upstart
unix  2      [ ACC ]     STREAM     LISTENING     20490 /var/run/ceph/ceph-mon.cm.asok
[ceph@cm my-cluster]$ cat ceph.conf
[global]
auth_service_required = cephx
filestore_xattr_use_omap = true
auth_client_required = cephx
auth_cluster_required = cephx
mon_host = 10.0.0.6
mon_initial_members = cm
fsid = a7e0fd33-1f75-46f0-be00-152601c8fbf2
mon host = 10.0.0.6
cluster network = 10.0.0.0/24
public network = 172.24.0.0/16
debug mon = 10
debug ms = 1

[mon.a]
host = cm
mon addr = 10.0.0.6:6789


[ceph@cm my-cluster]$


How can I fix this?

Thanks!

Ron

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

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

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

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux