So taking inspiration and doing small modifications to existing NFS driver, patch allows you to use both NFS and Ceph FS same time.
Note : The patch is applied against XCP-NG 7.6.0
# cd /
# wget "https://gist.githubusercontent.com/rushikeshjadhav/af53bb5747365875f0ab21bd3a64c6fe/raw/59ef7a4b54574e4163da1ac39acd640554bd0d24/ceph.patch"
# patch -p0 < ceph.patch
Apart from the patch, ceph.ko & ceph-common would be needed.
To install ceph-common on XCP-NG
# yum install centos-release-ceph-luminous --enablerepo=extras
# yum install ceph-common
To install and load ceph.ko
# wget -O ceph-4.4.52-4.0.12.x86_64.rpm "https://github.com/rushikeshjadhav/ceph-4.4.52/blob/master/RPMS/x86_64/ceph-4.4.52-4.0.12.x86_64.rpm?raw=true"
# yum install ceph-4.4.52-4.0.12.x86_64.rpm
# modprobe -v ceph
(Optional)
User experience:
In Share Name
, you can put multiple addresses from your CEPH mon.
In Advanced Options
, you need to add your ceph authx user details, such as name and its secret file location. These will be used by mount.ceph
.
Note: Keep secret file in /etc/ceph/ with permissions 600.
Current SR detection patch replies on presence of word "ceph" in advance options to discriminate between NFS and CEPH FS.
Log Location : /var/log/SMlog
Edit: Created RPM installer for ceph.ko