Re: two public subnets

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

 



Den mån 14 feb. 2022 kl 01:55 skrev Arunas B. <arunas.pagalba@xxxxxxxxx>:
> I got into a strange problem. I created a ceph cluster with separated
> subnets for public and private with cephadm.
>
> But later I need to add one more public subnet, so monitor would listen on
> both 10.1.x.x and 10.5.x.x subnet, but what happens, that after mon
> redeploy, it starts only on first public subnet, e.g. 10.1, and does not
> start on 10.5.
>
> Ceph mon global config is set
> mon           advanced  public_network
> 10.1.0.0/28,10.5.0.0/24
> After monitor decrease and increase, new instance is redeployed directly on
> first subnet only.
>
> But osds still have 10.5 in configuration, and after reboot, they are
> marked down in the cluster, thus I found that monitors are not accessible
> at 10.5.
> Still I think osds also need to be reconfigured to be accessible at two
> subnets.
> What I am missing?

The network(s) listed as public is only there to allow a mon (or osd)
to choose which interface it should listen on, if it has two or more
interfaces and networks attached. It will still only listen to one IP
and regardless of if it ends up on 10.1.x.x or 10.5.x.x in your case,
ALL ceph clients and OSD,MDS,RGW must be able to reach both 10.1.x.x
and 10.5.x.x so it should not matter which it ends up, both networks
become equally important.

The sentence "X needs to be accessible at two subnets" is wrong. The
service (mon,osd) needs to be network accessible by the others.
Period.


-- 
May the most significant bit of your life be positive.
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx




[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