Configuring file setup on client machines
Client machines generally need a smaller configuration file than a full-fledged storage cluster member. You can generate a minimal configuration file which can give details to clients to reach the Ceph monitors.
Prerequisites
-
A running IBM Storage Ceph cluster.
-
Root access to the nodes.
Procedure
-
On the node where you want to set up the files, create a directory
cephin the/etcfolder:Example
[root@host01 ~]# mkdir /etc/ceph/ -
Navigate to
/etc/cephdirectory:Example
[root@host01 ~]# cd /etc/ceph/ -
Generate the configuration file in the
cephdirectory:Example
[root@host01 ceph]# ceph config generate-minimal-conf # minimal ceph.conf for 417b1d7a-a0e6-11eb-b940-001a4a000740 [global] fsid = 417b1d7a-a0e6-11eb-b940-001a4a000740 mon_host = [v2:10.74.249.41:3300/0,v1:10.74.249.41:6789/0]The contents of this file should be installed in
/etc/ceph/ceph.confpath. You can use this configuration file to reach the Ceph monitors.