I'm trying to configure Ceph on a 3 node cluster - 3 monitor nodes and 2 OSD nodes:
I installed Ceph through the GUI and created the cluster network as described here. Both nodes can communicate with each other on the cluster network.
Now when I try to create the OSDs, it works fine on
How am I supposed to configure the cluster network?
My ceph.conf file currently looks like this:
Code:
pve-nuc - 10.0.10.11 (public network)
pve-opti-01 - 10.0.10.12 - 172.20.20.12 (cluster network)
pve-opti-02 - 10.0.10.13 - 172.20.20.13
I installed Ceph through the GUI and created the cluster network as described here. Both nodes can communicate with each other on the cluster network.
Now when I try to create the OSDs, it works fine on
pve-opti-01
but I'm getting the following error on pve-opti-02
:
Code:
No address from ceph cluster network (172.20.20.12/32) found on node 'pve-opti-02'. Check your network config. (500)
How am I supposed to configure the cluster network?
My ceph.conf file currently looks like this:
Code:
[global]
auth_client_required = cephx
auth_cluster_required = cephx
auth_service_required = cephx
cluster_network = 172.20.20.12/32
fsid = xxxxxx
mon_allow_pool_delete = true
mon_host = 10.0.10.12 10.0.10.11 10.0.10.13
ms_bind_ipv4 = true
ms_bind_ipv6 = false
osd_pool_default_min_size = 2
osd_pool_default_size = 3
public_network = 10.0.10.12/24
[client]
keyring = /etc/pve/priv/$cluster.$name.keyring
[mon.pve-nuc]
public_addr = 10.0.10.11
[mon.pve-opti-01]
public_addr = 10.0.10.12
[mon.pve-opti-02]
public_addr = 10.0.10.13