Hi Robert,

On 1/15/26 16:57, Robert Sander via ceph-users wrote:
Hi,

Am 15.01.26 um 3:24 PM schrieb Burkhard Linke via ceph-users:

Nonetheless, since most clients are already running with dual stack (the k8s cluster will be the last and probably most "interesting" setup..), let's adopt the migration and target ipv6 only:

- set ms_bind_ipv4 to false and ms_bind_ipv6 to true

- delete and re-add mons one after another

- process the other components like OSDs etc.

As a cluster cannot run dual stack there is unfortunately no way to migrate from IPv4 to IPv6 online.

You may be able to edit the MON DBs on all MONs manually when the cluster is completely offline and replace the MON IPs there.

But I have no experience in doing this.

Online migration seems to be possible:

- ensure that ipv6 _and_ ipv4 connectivity works for all ceph hosts and ceph clients

- set ms_bind_ipv4=false and ms_bind_ipv6=true, remove ipv4 subnets from public_networks

- add a new mon for safety

- delete and readd the old mons -> should be using ipv6 only now

- restart OSDs and other components -> will bind to ipv6, client will be updated with new ipv6 addresses to connect to


I'm currently running a test with mon, mds and osds on one host using ipv6. The v6 addresses are correctly populated in monmap, osdmap and mdsmap. Client connections are using v6 (as advertised in the maps), connections between osds are using v4 if the osds are still running with ipv4.

So if your hossts are dual stacked, you should be able to online migrate from ipv4 only to ipv6 only.


Best regards,

Burkhard

_______________________________________________
ceph-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to