I don't think you can do that, it would require running a mixed cluster which, going by the docs, doesn't seem to be supported. ________________________________ From: Jake Young [[email protected]] Sent: 27 June 2017 22:42 To: Wido den Hollander; [email protected]; Vasilakakos, George (STFC,RAL,SC) Subject: Re: [ceph-users] Ceph and IPv4 -> IPv6
On Tue, Jun 27, 2017 at 2:19 PM Wido den Hollander <[email protected]<mailto:[email protected]>> wrote: > Op 27 juni 2017 om 19:00 schreef > [email protected]<mailto:[email protected]>: > > > Hey Ceph folks, > > I was wondering what the current status/roadmap/intentions etc. are on the > possibility of providing a way of transitioning a cluster from IPv4 to IPv6 > in the future. > > My current understanding is that this not possible at the moment and that one > should deploy initially with the version they want long term. > > However, given the general lack of widespread readiness, I think lots of us > have deployed with IPv4 and were hoping to go to IPv6 when the rest of our > environments enabled it. > > Is adding such a capability to a future version of Ceph being considered? > I think you can, but not without downtime. The main problem is the monmap which contains IPv4 addresses and you want to change that to IPv6. I haven't tried this, but I think you should be able to: - Extract MONMap - Update the IPv4 addresses to IPv6 using monmaptool - Set noout flag - Stop all OSDs - Inject new monmap - Stop MONs - Make sure IPv6 is fixed on MONs - Start MONs - Start OSDs Again, this is from the top of my head, haven't tried it, but something like that should probably work. Wido > > Best regards, > > George V. > _______________________________________________ > ceph-users mailing list > [email protected]<mailto:[email protected]> > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com _______________________________________________ ceph-users mailing list [email protected]<mailto:[email protected]> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com I think you could configure all of your mons, osds and clients as dual-stack (both IPv4 and IPv6) in advance. Once you have confirmed IPv6 connectivity everywhere, add a new mon using its IPv6 address. You would then replace each mon one by one with IPv6 addressed mons. You can then start to deconfigure the IPv4 interfaces. Just a thought Jake <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
