[SOLVED] How to modify ceph.mon network

cmonty14

Well-Known Member
Mar 4, 2014
343
5
58
Hi,
I have identified a major issue with my cluster setup consisting of 3 nodes:
all monitors are connected to cluster network.

Here's my /etc/ceph/ceph.conf:
[global]
auth client required = cephx
auth cluster required = cephx
auth service required = cephx
cluster network = 192.168.100.8/29
fsid = fda2f219-7355-4c46-b300-8a65b3834761
keyring = /etc/pve/priv/$cluster.$name.keyring
mon allow pool delete = true
osd journal size = 5120
osd pool default min size = 2
osd pool default size = 2
public network = 10.97.206.0/24

[osd]
keyring = /var/lib/ceph/osd/ceph-$id/keyring
osd crush update on start = false
osd mkfs type = xfs
osd mkfs options xfs = -f -i size=2048
osd mount options xfs = noatime,largeio,inode64,swalloc
osd journal size = 10240
cluster_network = 192.168.100.8/29
public_network = 10.97.206.0/24
filestore_queue_max_ops = 500
filestore_op_threads = 8
filestore_max_sync_interval = 10
filestore_wbthrottle_xfs_bytes_start_flusher = 1073741824
osd_op_threads = 8
osd_enable_op_tracker = False

[mon.ld4257]
host = ld4257
mon addr = 192.168.100.11:6789

[mon.ld4464]
host = ld4464
mon addr = 192.168.100.12:6789

[mon.ld4465]
host = ld4465
mon addr = 192.168.100.13:6789


Question:
How can I modify the network configuration of mon?

It's not working to simply change the parameters in ceph.conf because
then the quorum fails.

Please advise.

THX
 
Proxmox WebUI is the pace to modify monitors.
In my case I simply deleted the entries with the cluster network IP and added new monitor which is using the public IP automatically.
 

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!