Ceph monitor ip address issue

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

 



Hello,

I'm trying to setup my first Ceph Cluster on Hammer.

[root@linsrv002 ~]# ceph -v
ceph version 0.94.3 (95cefea9fd9ab740263bf8bb4796fd864d9afe2b)

[root@linsrv002 ~]# ceph -s
    cluster 7a8cc185-d7f1-4dd5-9fe6-42cfd5d3a5b7
     health HEALTH_OK
     monmap e1: 3 mons at {linsrv001=10.10.10.1:6789/0,linsrv002=10.10.10.2:6789/0,linsrv003=10.10.10.3:6789/0}
            election epoch 256, quorum 0,1,2 linsrv001,linsrv002,linsrv003
     mdsmap e60: 1/1/1 up {0=linsrv001=up:active}, 2 up:standby
     osdmap e622: 9 osds: 9 up, 9 in
      pgmap v1216: 384 pgs, 3 pools, 2048 MB data, 532 objects
            6571 MB used, 398 GB / 404 GB avail
                 384 active+clean

My issue is that I have two networks a public network 192.168.0.0/24 and a cluster network 10.10.10.0/24 and my monitors should listen on 192.168.0.0/24. Later I want to use CephFS over the public network.

[root@linsrv002 ~]# cat /etc/ceph/ceph.conf
[global]
fsid = 7a8cc185-d7f1-4dd5-9fe6-42cfd5d3a5b7
mon_initial_members = linsrv001, linsrv002, linsrv003
mon_host = 10.10.10.1,10.10.10.2,10.10.10.3
auth_cluster_required = cephx
auth_service_required = cephx
auth_client_required = cephx
filestore_xattr_use_omap = true
mon_clock_drift_allowed = 1
public_network = 192.168.0.0/24
cluster_network = 10.10.10.0/24

[root@linsrv002 ~]# cat /etc/hosts
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
10.10.10.1    linsrv001
10.10.10.2    linsrv002
10.10.10.3    linsrv003

I've deployed my first cluster with ceph-deploy. What should I do to have :6789 to be listen on the public network?

Regards - Willi

_______________________________________________
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]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux