Best practises for network settings.

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

 



Hi,
We have 4 NIC controllers on ceph servers. Each server have installed 
few osd's and one monitor. How should we setup networking on this hosts 
with division on frontend network (10.20.8.0/22) and backend network 
(10.20.4.0/22)?

At this time we are using this configuration of network:

auto em1
iface em1 inet static
         address 10.20.8.30
         netmask 255.255.252.0
         gateway 10.20.8.1
         dns-nameservers 8.8.8.8 8.8.4.4


auto em2
iface em2 inet static
         address 10.20.4.30
         netmask 255.255.252.0
         dns-nameservers 8.8.8.8 8.8.4.4

auto p4p1
iface p4p1 inet static
         address 10.20.4.31
         netmask 255.255.252.0
         dns-nameservers 8.8.8.8 8.8.4.4

auto p4p2
iface p4p2 inet static
         address 10.20.8.31
         netmask 255.255.252.0
         dns-nameservers 8.8.8.8 8.8.4.4


On the ceph.conf:

...

[osd.16]
cluster addr = 10.20.4.30
public addr = 10.20.8.30
[osd.17]
cluster addr = 10.20.4.30
public addr = 10.20.8.30
[osd.18]
cluster addr = 10.20.4.30
public addr = 10.20.8.30
[osd.19]
cluster addr = 10.20.4.31
public addr = 10.20.8.31
[osd.20]
cluster addr = 10.20.4.31
public addr = 10.20.8.31
[osd.21]
cluster addr = 10.20.4.31
public addr = 10.20.8.31

...

[mon.ceph30]
host = ceph30
mon addr = 10.20.8.30:6789



-- 
Regards,
Mateusz


[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux