Hi,
I'm trying to setup a secondary public network to a ceph cluster and I have problems. I've read two posts related to that but they are a bit different and that's why I start a new thread.
I've been using Ceph pools (RBD) until now, but no CephFS. Now I want to use CephFS from many VM (with docker) instead of NFS mounts on TrueNAS to achieve HA on that mounts.
That VM are on a different routed network and I want to publish Ceph to clients on that network. I've done the following:
* Define a direct connection on the proxmox hosts to that VM network (192.168.60.0/24)
* Modify the /etc/pve/ceph.conf file to add the new public network as the second one (public_network = 192.168.50.0/24,192.168.60.0/24).
* Reload all monitors, managers and metadata servers.
* Destroy and recreate two monitors. Now they listen on both networks as I see by executing "ceph mon dump".
After setting up the debian client on the VM, I'm not able to connect to ceph:
I've seen that the Metadata servers are listening on the first public network, so I've tried to change that by setting the following configuration:
After restarting the MDS daemon I see on the GUI that now it listens on the 192.168.60.0/24 network, but I'm not able to connect from the debian VM. I see this on the logs:
It seems that the MON tells the client to use the address on the old network. On the proxmox hosts I see the new cephfs volume mounted after changing the MDS public address so I'm sure it is working.
I'd like to keep the old private/public address on the isolated network to be used for the RDB pools for the proxmox VM disks and setup a new public network for clients on another network. Maybe the scenario that I want to setup is not a usual one.
Please, can you give me a recomendation on how to correctly set up CephFS clients on a separate public network without affecting the RBD setup?
I'm using Proxmox 9.1 and Ceph 19.2.3.
Kind regards,
Manuel Martínez
I'm trying to setup a secondary public network to a ceph cluster and I have problems. I've read two posts related to that but they are a bit different and that's why I start a new thread.
- https://forum.proxmox.com/threads/ceph-changing-public-network.119116/
- https://forum.proxmox.com/threads/a...oxmox-ve-with-ceph-cluster.149479/post-782806
I've been using Ceph pools (RBD) until now, but no CephFS. Now I want to use CephFS from many VM (with docker) instead of NFS mounts on TrueNAS to achieve HA on that mounts.
That VM are on a different routed network and I want to publish Ceph to clients on that network. I've done the following:
* Define a direct connection on the proxmox hosts to that VM network (192.168.60.0/24)
* Modify the /etc/pve/ceph.conf file to add the new public network as the second one (public_network = 192.168.50.0/24,192.168.60.0/24).
* Reload all monitors, managers and metadata servers.
* Destroy and recreate two monitors. Now they listen on both networks as I see by executing "ceph mon dump".
After setting up the debian client on the VM, I'm not able to connect to ceph:
mount -t ceph 192.168.60.11:/ /mnt/cephfs -o name=admin,fs=cephfs
I've seen that the Metadata servers are listening on the first public network, so I've tried to change that by setting the following configuration:
[mds.pvenode01]
host = pvenode01
mds_standby_for_name = pve
public_addr = 192.168.60.11
After restarting the MDS daemon I see on the GUI that now it listens on the 192.168.60.0/24 network, but I'm not able to connect from the debian VM. I see this on the logs:
[2029655.252225] libceph: wrong peer, want (1)192.168.60.11:6789/0, got (1)192.168.50.11:6789/0
[2029655.252232] libceph: mon0 (1)192.168.60.11:6789 wrong peer at address
[2029655.763475] ceph: No mds server is up or the cluster is laggy
It seems that the MON tells the client to use the address on the old network. On the proxmox hosts I see the new cephfs volume mounted after changing the MDS public address so I'm sure it is working.
I'd like to keep the old private/public address on the isolated network to be used for the RDB pools for the proxmox VM disks and setup a new public network for clients on another network. Maybe the scenario that I want to setup is not a usual one.
Please, can you give me a recomendation on how to correctly set up CephFS clients on a separate public network without affecting the RBD setup?
I'm using Proxmox 9.1 and Ceph 19.2.3.
Kind regards,
Manuel Martínez