All of lore.kernel.org
 help / color / mirror / Atom feed
* Mutiple network port for a single osd
@ 2013-03-06 17:27 Alex Sla
  2013-03-15 21:39 ` Sam Lang
  0 siblings, 1 reply; 2+ messages in thread
From: Alex Sla @ 2013-03-06 17:27 UTC (permalink / raw)
  To: ceph-devel

Hello guys,

first of all, thank you for Ceph. Such an amazon technology. Great
pleasure to work with.

Then to my question. I review Ceph in scope of security and need to
understand how the single osd is create network port (for iptables).
But i just saw some interesting thing:

Some of my osds running on more then one port.

for example:

Ports:

tcp        0      0 172.20.21.2:6902        0.0.0.0:*
LISTEN      1635/ceph-osd
tcp        0      0 172.20.21.2:6903        0.0.0.0:*
LISTEN      1635/ceph-osd
tcp        0      0 172.20.21.2:6904        0.0.0.0:*
LISTEN      1635/ceph-osd

ps aux|grep 1635

root      1635  1.9  0.2 1239708 172556 ?      Ssl  Feb23 301:34
/usr/bin/ceph-osd --cluster=ceph -i 1 -f

But some doesn't have this much ports. Why do this happen ? More
important to know, up to how many port will be used? In overall it
looks only 3.


so far
4k3nd0

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

* Re: Mutiple network port for a single osd
  2013-03-06 17:27 Mutiple network port for a single osd Alex Sla
@ 2013-03-15 21:39 ` Sam Lang
  0 siblings, 0 replies; 2+ messages in thread
From: Sam Lang @ 2013-03-15 21:39 UTC (permalink / raw)
  To: Alex Sla; +Cc: ceph-devel

On Wed, Mar 6, 2013 at 11:27 AM, Alex Sla <4k3nd0@gmail.com> wrote:
> Hello guys,
>
> first of all, thank you for Ceph. Such an amazon technology. Great
> pleasure to work with.
>
> Then to my question. I review Ceph in scope of security and need to
> understand how the single osd is create network port (for iptables).

The osd binds to the first available port in the range 6800-7100.  You
can adjust the range with the config options ms_bind_port_min and
ms_bind_port_max.
-sam

> But i just saw some interesting thing:
>
> Some of my osds running on more then one port.
>
> for example:
>
> Ports:
>
> tcp        0      0 172.20.21.2:6902        0.0.0.0:*
> LISTEN      1635/ceph-osd
> tcp        0      0 172.20.21.2:6903        0.0.0.0:*
> LISTEN      1635/ceph-osd
> tcp        0      0 172.20.21.2:6904        0.0.0.0:*
> LISTEN      1635/ceph-osd
>
> ps aux|grep 1635
>
> root      1635  1.9  0.2 1239708 172556 ?      Ssl  Feb23 301:34
> /usr/bin/ceph-osd --cluster=ceph -i 1 -f
>
> But some doesn't have this much ports. Why do this happen ? More
> important to know, up to how many port will be used? In overall it
> looks only 3.

Its unclear what you're asking...
>
>
> so far
> 4k3nd0
> --
> 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] 2+ messages in thread

end of thread, other threads:[~2013-03-15 21:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-06 17:27 Mutiple network port for a single osd Alex Sla
2013-03-15 21:39 ` Sam Lang

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.