Change Ceph from IPv4 to IPv6?

Allister

Member
Jul 12, 2023
41
2
8
Hey all --

I have a working Ceph install running on IPv4. I want to switch it over to using IPv6. IPv6 is active on the network devices and can ping each other just fine. What process should I go through to get Ceph moved over to using IPv6? Thanks for any suggestions anyone might have.

I edited the ceph config file and turned on IPv6 by setting ms_bind_ipv6 = false to true and it caused Ceph to not come up right. I didn't change anything else and IPv4 was enabled still. Not sure how to go about this. :-/
 
Last edited:
AFAIK Ceph cannot run dual stack.
And the MON addresses are recorded as IPv4 in the cluster map. The same goes for the public_network and cluster_network settings.
You would have to manually change the MON map and these settings and then adjust the ceph.conf.
 
I think I’ll just move my VMs to local storage, tear down the Ceph setup and rebuild it on IPv6. Not even sure there’s a benefit at this point.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!