Re: [ceph-users] Ceph on Public IP

2018-01-09 Thread nithish B
Hello John,
Thank you for the clarification. I am using Google cloud platform for this
setup and I don't think I can assign a public ip directly to an interface
there. Hence the question.

Thanks


On Jan 8, 2018 1:51 PM, "John Petrini"  wrote:

> ceph will always bind to the local IP. It can't bind to an IP that isn't
> assigned directly to the server such as a NAT'd IP. So your public network
> should be the local network that's configured on each server. If you
> cluster network is 10.128.0.0/16 for instance your public network might
> be 10.129.0.0/16.
>
> The public bind addr allows you to specify a NAT'd IP for each of your
> monitors. You monitors will then advertise this IP address so that your
> clients know to reach them at their NAT'd IP's rather than their local
> IP's.
>
> This does NOT apply for OSD IP's. Your clients must be able to route to
> the OSD's directly. If your OSD servers are behind a NAT I don't think that
> configuration is possible nor do I think it would be a good idea to route
> your storage traffic through a NAT.
>
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


[ceph-users] Ceph on Public IP

2018-01-07 Thread nithish B
Hi all,
I am installing ceph using ceph-deploy. I am installing it on 4 VMs which
have private IP addresses and public IPs NAT-ted to it. But upon
installation, even after adding

public network = 0.0.0.0/0

it still listens on the private IP.
I tried doing the steps mentioned in http://docs.ceph.com/docs/
master/rados/configuration/network-config-ref/  but I still face the issue.

Any directions in this regard will be helpful.

Thanks & Regards,
Nitish B.
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com