Hey Wido,

Thanks for your suggestion. It sounds like the process might be feasible but 
I'd be looking for an "official" thing to do to a production cluster. Something 
that's documented ceph.com/docs, tested and "endorsed" if you will by the Ceph 
team. 
We could try this on a pre-prod environment but it sounds rather "hacky", as 
in, there's a number of manual steps involved, including a couple where you're 
basically manipulating internal, persistent state information.

I think most people would not be too inclined to do this to their production 
set ups.

Best regards,

George
________________________________________
From: Wido den Hollander [[email protected]]
Sent: 27 June 2017 19:19
To: Vasilakakos, George (STFC,RAL,SC); [email protected]
Subject: Re: [ceph-users] Ceph and IPv4 -> IPv6

> Op 27 juni 2017 om 19:00 schreef [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]
> 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

Reply via email to