Using the MDS autoscaler module

The MDS Autoscaler Module monitors the Ceph File System (CephFS) to ensure that sufficient MDS daemons are available. It works by adjusting the placement specification for the Orchestrator backend of the MDS service.

Before you begin

Before you begin, make sure that you have the following prerequisites in place:
  • A healthy and running IBM Storage Ceph cluster.

  • Deployment of a Ceph File System.

  • Root-level access to a Ceph Monitor node.

About this task

The module monitors the following file system settings to inform placement count adjustments:
  • max_mds file system setting
  • standby_count_wanted file system setting

The Ceph monitor daemons are still responsible for promoting or stopping MDS according to these settings. The mds_autoscaler adjusts the number of MDS that are created by the orchestrator.

Procedure

Enable the MDS autoscaler module.
For example:
[ceph: root@host01 /]# ceph mgr module enable mds_autoscaler