Re: [PATCH] Statically binding ports for ceph-osd

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

 



After doing some more looking at the code, it appears that this option
is not supported.  I created a small patch (attached) which adds the
functionality.  Is there any way we could get this, or something like
this, applied upstream?  I think this is important functionality for
firewalled environments, and seems like a simple fix since all the
other services (including ones for ceph-mon and ceph-mds) already
allow you to specify a static port.


On Mon, Apr 9, 2012 at 5:27 PM, Nick Bartos <nick@xxxxxxxxxxxxxxx> wrote:
> I'm trying to get ceph-osd's listening ports to be set statically for
> firewall reasons.  I am able to get 2 of the 3 ports set statically,
> however the 3rd one is still getting set dynamically.
>
> I am using:
>
> [osd.48]
>    host = 172.16.0.13
>    cluster addr = 172.16.0.13:6944
>    public addr = 172.16.0.13:6945
>
> The daemon will successfully bind to 6944 and 6945, but also binds to
> 6800.  What additional option do I need?  I started looking at the
> code and thought "hb addr = 172.16.0.13:6946" would do it, but
> specifying that option seems to have no effect (or at least does not
> achieve the desired result).

Attachment: ceph-0.41-osd_hb_port.patch
Description: Binary data


[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux