All of lore.kernel.org
 help / color / mirror / Atom feed
* Port no For data Transfer between OSDs
@ 2012-09-05  5:30 hemant surale
  2012-09-05  9:14 ` Wido den Hollander
  0 siblings, 1 reply; 5+ messages in thread
From: hemant surale @ 2012-09-05  5:30 UTC (permalink / raw)
  To: ceph-devel

Hi Community ,
            I want to trace the data transfer rates occurring between
osds while injecting data into ceph cluster. Can you please tell me
what ports should I monitor or keep track of?
            Thanks !

Regards,
Hemant Surale.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Port no For data Transfer between OSDs
  2012-09-05  5:30 Port no For data Transfer between OSDs hemant surale
@ 2012-09-05  9:14 ` Wido den Hollander
  2012-09-05 11:20   ` hemant surale
  0 siblings, 1 reply; 5+ messages in thread
From: Wido den Hollander @ 2012-09-05  9:14 UTC (permalink / raw)
  To: hemant surale; +Cc: ceph-devel

On 09/05/2012 07:30 AM, hemant surale wrote:
> Hi Community ,
>              I want to trace the data transfer rates occurring between
> osds while injecting data into ceph cluster. Can you please tell me
> what ports should I monitor or keep track of?
>              Thanks !

OSDs start binding from port 6800 and counting up from there.

For example, a machine with 4 OSDs running:

root@atom0:~# netstat -nap|grep LISTEN|grep -E ^tcp|grep ceph-osd
tcp6       0      0 :::6800                 :::* 
LISTEN      24329/ceph-osd
tcp6       0      0 :::6801                 :::* 
LISTEN      24329/ceph-osd
tcp6       0      0 :::6802                 :::* 
LISTEN      24329/ceph-osd
tcp6       0      0 :::6803                 :::* 
LISTEN      24596/ceph-osd
tcp6       0      0 :::6804                 :::* 
LISTEN      24596/ceph-osd
tcp6       0      0 :::6805                 :::* 
LISTEN      24596/ceph-osd
tcp6       0      0 :::6806                 :::* 
LISTEN      25316/ceph-osd
tcp6       0      0 :::6807                 :::* 
LISTEN      25316/ceph-osd
tcp6       0      0 :::6808                 :::* 
LISTEN      25316/ceph-osd
tcp6       0      0 :::6809                 :::* 
LISTEN      25839/ceph-osd
tcp6       0      0 :::6810                 :::* 
LISTEN      25839/ceph-osd
tcp6       0      0 :::6811                 :::* 
LISTEN      25839/ceph-osd
root@atom0:~#

Wido

>
> Regards,
> Hemant Surale.
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Port no For data Transfer between OSDs
  2012-09-05  9:14 ` Wido den Hollander
@ 2012-09-05 11:20   ` hemant surale
  2012-09-05 11:50     ` Wido den Hollander
  0 siblings, 1 reply; 5+ messages in thread
From: hemant surale @ 2012-09-05 11:20 UTC (permalink / raw)
  To: Wido den Hollander; +Cc: ceph-devel

Hi Wido , Community ,

if we use number =2
in cmd as follows
"ceph osd pool set <poolname>  size <#no> "

does it means for perticular Object we have 2 replica Or total 2
copies in cluster?


Regards,
Hemant Surale.

On Wed, Sep 5, 2012 at 2:44 PM, Wido den Hollander <wido@widodh.nl> wrote:
> On 09/05/2012 07:30 AM, hemant surale wrote:
>>
>> Hi Community ,
>>              I want to trace the data transfer rates occurring between
>> osds while injecting data into ceph cluster. Can you please tell me
>> what ports should I monitor or keep track of?
>>              Thanks !
>
>
> OSDs start binding from port 6800 and counting up from there.
>
> For example, a machine with 4 OSDs running:
>
> root@atom0:~# netstat -nap|grep LISTEN|grep -E ^tcp|grep ceph-osd
> tcp6       0      0 :::6800                 :::* LISTEN      24329/ceph-osd
> tcp6       0      0 :::6801                 :::* LISTEN      24329/ceph-osd
> tcp6       0      0 :::6802                 :::* LISTEN      24329/ceph-osd
> tcp6       0      0 :::6803                 :::* LISTEN      24596/ceph-osd
> tcp6       0      0 :::6804                 :::* LISTEN      24596/ceph-osd
> tcp6       0      0 :::6805                 :::* LISTEN      24596/ceph-osd
> tcp6       0      0 :::6806                 :::* LISTEN      25316/ceph-osd
> tcp6       0      0 :::6807                 :::* LISTEN      25316/ceph-osd
> tcp6       0      0 :::6808                 :::* LISTEN      25316/ceph-osd
> tcp6       0      0 :::6809                 :::* LISTEN      25839/ceph-osd
> tcp6       0      0 :::6810                 :::* LISTEN      25839/ceph-osd
> tcp6       0      0 :::6811                 :::* LISTEN      25839/ceph-osd
> root@atom0:~#
>
> Wido
>
>>
>> Regards,
>> Hemant Surale.
>> --
>> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Port no For data Transfer between OSDs
  2012-09-05 11:20   ` hemant surale
@ 2012-09-05 11:50     ` Wido den Hollander
  2012-09-05 13:04       ` Wido den Hollander
  0 siblings, 1 reply; 5+ messages in thread
From: Wido den Hollander @ 2012-09-05 11:50 UTC (permalink / raw)
  To: hemant surale; +Cc: ceph-devel

On 09/05/2012 01:20 PM, hemant surale wrote:
> Hi Wido , Community ,
>
> if we use number =2
> in cmd as follows
> "ceph osd pool set <poolname>  size <#no>"
>
> does it means for perticular Object we have 2 replica Or total 2
> copies in cluster?
>

That will set replication to "2". That means, every object stored in the 
cluster will be stored twice.

It is NOT object + 2, no it's object * 2.

Wido

>
> Regards,
> Hemant Surale.
>
> On Wed, Sep 5, 2012 at 2:44 PM, Wido den Hollander <wido@widodh.nl> wrote:
>> On 09/05/2012 07:30 AM, hemant surale wrote:
>>>
>>> Hi Community ,
>>>               I want to trace the data transfer rates occurring between
>>> osds while injecting data into ceph cluster. Can you please tell me
>>> what ports should I monitor or keep track of?
>>>               Thanks !
>>
>>
>> OSDs start binding from port 6800 and counting up from there.
>>
>> For example, a machine with 4 OSDs running:
>>
>> root@atom0:~# netstat -nap|grep LISTEN|grep -E ^tcp|grep ceph-osd
>> tcp6       0      0 :::6800                 :::* LISTEN      24329/ceph-osd
>> tcp6       0      0 :::6801                 :::* LISTEN      24329/ceph-osd
>> tcp6       0      0 :::6802                 :::* LISTEN      24329/ceph-osd
>> tcp6       0      0 :::6803                 :::* LISTEN      24596/ceph-osd
>> tcp6       0      0 :::6804                 :::* LISTEN      24596/ceph-osd
>> tcp6       0      0 :::6805                 :::* LISTEN      24596/ceph-osd
>> tcp6       0      0 :::6806                 :::* LISTEN      25316/ceph-osd
>> tcp6       0      0 :::6807                 :::* LISTEN      25316/ceph-osd
>> tcp6       0      0 :::6808                 :::* LISTEN      25316/ceph-osd
>> tcp6       0      0 :::6809                 :::* LISTEN      25839/ceph-osd
>> tcp6       0      0 :::6810                 :::* LISTEN      25839/ceph-osd
>> tcp6       0      0 :::6811                 :::* LISTEN      25839/ceph-osd
>> root@atom0:~#
>>
>> Wido
>>
>>>
>>> Regards,
>>> Hemant Surale.
>>> --
>>> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
>>> the body of a message to majordomo@vger.kernel.org
>>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>>
>>
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Port no For data Transfer between OSDs
  2012-09-05 11:50     ` Wido den Hollander
@ 2012-09-05 13:04       ` Wido den Hollander
  0 siblings, 0 replies; 5+ messages in thread
From: Wido den Hollander @ 2012-09-05 13:04 UTC (permalink / raw)
  To: hemant surale; +Cc: ceph-devel

On 09/05/2012 01:50 PM, Wido den Hollander wrote:
> On 09/05/2012 01:20 PM, hemant surale wrote:
>> Hi Wido , Community ,
>>
>> if we use number =2
>> in cmd as follows
>> "ceph osd pool set <poolname>  size <#no>"
>>
>> does it means for perticular Object we have 2 replica Or total 2
>> copies in cluster?
>>
>
> That will set replication to "2". That means, every object stored in the
> cluster will be stored twice.
>

Sorry, I have to correct myself there.

Every object in that (RADOS) POOL is stored twice, not the cluster. This 
is a pool specific setting, not cluster-wide.

Wido

> It is NOT object + 2, no it's object * 2.
>
> Wido
>
>>
>> Regards,
>> Hemant Surale.
>>
>> On Wed, Sep 5, 2012 at 2:44 PM, Wido den Hollander <wido@widodh.nl>
>> wrote:
>>> On 09/05/2012 07:30 AM, hemant surale wrote:
>>>>
>>>> Hi Community ,
>>>>               I want to trace the data transfer rates occurring between
>>>> osds while injecting data into ceph cluster. Can you please tell me
>>>> what ports should I monitor or keep track of?
>>>>               Thanks !
>>>
>>>
>>> OSDs start binding from port 6800 and counting up from there.
>>>
>>> For example, a machine with 4 OSDs running:
>>>
>>> root@atom0:~# netstat -nap|grep LISTEN|grep -E ^tcp|grep ceph-osd
>>> tcp6       0      0 :::6800                 :::* LISTEN
>>> 24329/ceph-osd
>>> tcp6       0      0 :::6801                 :::* LISTEN
>>> 24329/ceph-osd
>>> tcp6       0      0 :::6802                 :::* LISTEN
>>> 24329/ceph-osd
>>> tcp6       0      0 :::6803                 :::* LISTEN
>>> 24596/ceph-osd
>>> tcp6       0      0 :::6804                 :::* LISTEN
>>> 24596/ceph-osd
>>> tcp6       0      0 :::6805                 :::* LISTEN
>>> 24596/ceph-osd
>>> tcp6       0      0 :::6806                 :::* LISTEN
>>> 25316/ceph-osd
>>> tcp6       0      0 :::6807                 :::* LISTEN
>>> 25316/ceph-osd
>>> tcp6       0      0 :::6808                 :::* LISTEN
>>> 25316/ceph-osd
>>> tcp6       0      0 :::6809                 :::* LISTEN
>>> 25839/ceph-osd
>>> tcp6       0      0 :::6810                 :::* LISTEN
>>> 25839/ceph-osd
>>> tcp6       0      0 :::6811                 :::* LISTEN
>>> 25839/ceph-osd
>>> root@atom0:~#
>>>
>>> Wido
>>>
>>>>
>>>> Regards,
>>>> Hemant Surale.
>>>> --
>>>> To unsubscribe from this list: send the line "unsubscribe
>>>> ceph-devel" in
>>>> the body of a message to majordomo@vger.kernel.org
>>>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>>>
>>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>
>


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-09-05 13:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-05  5:30 Port no For data Transfer between OSDs hemant surale
2012-09-05  9:14 ` Wido den Hollander
2012-09-05 11:20   ` hemant surale
2012-09-05 11:50     ` Wido den Hollander
2012-09-05 13:04       ` Wido den Hollander

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.