Hi Oliver, This is my problem:
I have deployed Ceph AIO with two interfaces 192.168.1.67 and 10.0.0.67 but at the momento of installation I used 192.168.1.67 and I have an Openstack installed with two interfaces 192.168.1.65 and 10.0.0.65. Openstack have the storage in Ceph but is working on 192.168.1.0/24 net and I need to work in 10.0.0.0/24 net. If will do a tcpdump on ceph node and launch everything from openstack: # tcpdump -i eth2 tcp and src host 10.0.0.65 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on eth2, link-type EN10MB (Ethernet), capture size 262144 bytes Nothing appears and if I do with the other interface you can see it's working: # tcpdump -i eth1 tcp and src host 192.168.1.65 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on eth1, link-type EN10MB (Ethernet), capture size 262144 bytes 09:29:56.577198 IP 192.168.1.65.50338 > ceph-node.6800: Flags [P.], seq 3504392283:3504392292, ack 1662624736, win 1444, options [nop,nop,TS val 276566611 ecr 223200], length 9 09:29:56.711320 IP 192.168.1.65.53642 > ceph-node.6808: Flags [P.], seq 2208322028:2208326424, ack 2367465877, win 1444, options [nop,nop,TS val 276566644 ecr 223227], length 4396 This is my ceph.conf: [global] ... mon_initial_members = ceph-node mon_host = 192.168.1.67 public_network = 192.168.1.0/24, 10.0.0.0/24 ... How I can change this for work with 10.0.0.0/24 net? Thanks, Fran. 2016-06-22 12:06 GMT+02:00 Oliver Dzombic <[email protected]>: > Hi Fran, > > public_network = the network of the clients to access ceph ressources > > cluster_network = the network ceph use to keep the osd's sycronizing > themself > > ---- > > So if you want that your ceph cluster is available to public internet > addresses, you will have to assign IPs from a real public network. > > That means not 10.0.0.0 / 192.168.0.0 and so on. But thats a logical > network design question and has nothing to do with ceph. > > Of course you could, via iptables/what ever create rules to > masquarade/forward public ceph traffic to an internal, private network. > > -- > Mit freundlichen Gruessen / Best regards > > Oliver Dzombic > IP-Interactive > > mailto:[email protected] > > Anschrift: > > IP Interactive UG ( haftungsbeschraenkt ) > Zum Sonnenberg 1-3 > 63571 Gelnhausen > > HRB 93402 beim Amtsgericht Hanau > Geschäftsführung: Oliver Dzombic > > Steuer Nr.: 35 236 3622 1 > UST ID: DE274086107 > > > Am 22.06.2016 um 11:33 schrieb Fran Barrera: > > Hi all, > > > > I have a couple of question about the deployment of Ceph. > > > > > > This is what I plan: > > > > Private Net - 10.0.0.0/24 <http://10.0.0.0/24> > > Public Net - 192.168.1.0/24 <http://192.168.1.0/24> > > > > Ceph server: > > - eth1: 192.168.1.67 > > - eth2: 10.0.0.67 > > > > Openstack server: > > - eth1: 192.168.1.65 > > - eth2: 10.0.0.65 > > > > > > ceph.conf > > - mon_host: 10.0.0.67 > > - cluster_network - 10.0.0.0/24 <http://10.0.0.0/24> > > - public_network - 192.168.1.0/24 <http://192.168.1.0/24> > > > > Now, I have some doubts: > > - If I configure Ceph with this configuration. Could I connect with > > Ceph from a client in the Public Net? I say it this because mon_host is > > 10.0.0.67 in ceph.conf > > - The private NET was created for Openstack, but I think if I can use > > this net for Ceph cluster network or if I need to create another one. > > > > I want to connect Ceph with Openstack through a private Net and have the > > possibility to connect with ceph from the public net too. > > > > > > Any suggestions? > > > > Thanks, > > Fran. > > > > > > _______________________________________________ > > ceph-users mailing list > > [email protected] > > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com > > > _______________________________________________ > ceph-users mailing list > [email protected] > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com >
_______________________________________________ ceph-users mailing list [email protected] http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
