Re: Connecting A Client To 2 Different Ceph Clusters

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks Konstantin, that really helped a lot  :-)

For anyone else who stumbles across this issue here is the (extract) /etc/fstab file we use:

~~~

regular_cephfs_user@<Regular CephFS FSID>.regular_cephfs=/folder1  /mnt/folder1  ceph mon_addr=<Regular CephFS Monitor1 IP Address>/<Regular CephFS Monitor2 IP Address>/<Regular CephFS Monitor3 IP Address>,secretfile=/etc/ceph/regular_cephfs_user.secret,noatime,_netdev 0 0

proxmox_cephfs_user@<Proxmox CephFS FSID>.proxmox_cephfs=/folder2  /mnt/folder2  ceph mon_addr=<Proxmox CephFS Monitor1 IP Address>/<Proxmox CephFS Monitor2 IP Address>/<Proxmox CephFS Monitor3 IP Address>,secretfile=/etc/pve/priv/ceph/proxmox_cephfs_user.secret,noatime,_netdev 0 0

~~~

Note that you can use the Clusters' Monitors' Hostnames instead of their IP Addresses - but you will need to have a good DNS system in place and/or have the relevant details in each client's /etc/hosts file.

Cheers

Dulux-Oz

On 24/8/24 20:44, Konstantin Shalygin wrote:
Hi,

I don't think kernel read any files. Maybe only with some userland helper. In any case, it's up to you, but for the kernel ceph client to work, nothing but the kernel is needed, bindings in the form of files and user space utilities only complicate the system, like for me


k
Sent from my iPhone

On 24 Aug 2024, at 12:34, duluxoz <duluxoz@xxxxxxxxx> wrote:

So you wouldn't use multiple ceph.conf files? (Or a combined one, for that matter?)
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux