Re: Math behind : : OSD count vs OSD process vs OSD ports

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

 



Hello Community

Need your help in understanding this.

I have the below node, which is hosting 60 physical disks, running 1 OSD per disk so total 60 Ceph OSD daemons

[root@node01 ~]# service ceph status | grep -i osd | grep -i running | wc -l
60
[root@node01 ~]#

However if i check OSD processes it shows that there are 120 OSD process are running.

[root@node01 ~]# ps -ef | grep -i osd | grep -v grep | wc -l
120
[root@node01 ~]#

Question 1 : why its 120 processes ? , i it should be 60 (because of 60 OSD on the system)
My guess : is this because of multithreading ?

Now if i check the number of ports used by OSD its comming out to be 240

[root@node01 ~]# netstat -plunt | grep -i osd | wc -l
240
[root@node01 ~]#

Question 2 : Now why its 240 ports ? It should be 60 ( because of 60 OSD on the system)

If i grep a specific OSD port , its shows 2 ports are occupied by OSD process 260519

[root@node01 ~]# netstat -plunt | grep -i osd | grep -i 6819
tcp        0      0 10.101.50.1:6819        0.0.0.0:*               LISTEN      260519/ceph-osd
tcp        0      0 10.102.50.1:6819        0.0.0.0:*               LISTEN      260519/ceph-osd
[root@node01 ~]#

Question 3 : Now based on the scenario 2 it should be 4 ( so 60 OSD x 4 ports = 240 ports in total)

I have two public and cluster network configured in ceph.conf , is all these because of two different networks ?

I would really appreciate if some knowledgeable person share his understanding with me.

Thank you in advance.ble person share his understanding with me.
_______________________________________________
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