Managing the cluster configuration file

If you are managing a large cluster, it's good practice to keep your cluster configuration file (/etc/ceph/ceph.conf) updated with information about cluster monitors, OSDs, MDSs, and RGW nodes. With these entries in place, you can manage all your cluster services from a single node.

How to do it…

To better understand this, we will update the Ceph configuration file on ceph-node1 and add details of all monitor, OSD, and MDS nodes.

Adding monitor nodes to the Ceph configuration file

Since we have three monitor nodes, add their details to the /etc/ceph/ceph.conf file from ceph-node1.

Adding monitor nodes to the Ceph configuration file

Adding an MDS node to the Ceph configuration file

Like in monitor, let's add MDS node details to the /etc/ceph/ceph.conf file from ceph-node1.

Adding an MDS node to the Ceph configuration file

Adding OSD nodes to the Ceph configuration file

Now, let's add the OSD nodes' details to the /etc/ceph/ceph.conf file from ceph-node1.

Adding OSD nodes to the Ceph configuration file
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
52.15.129.90