Using the ceph mds fail command
Use the ceph mds fail command to mark an MDS daemon as failed or restart a running MDS daemon.
Before you begin
About this task
- Marking an MDS daemon as failed
- If the daemon was active and a suitable standby daemon was available, and if the standby daemon
was active after disabling the
standby-replayconfiguration, using this command forces a failover to the standby daemon. By disabling thestandby-replaydaemon, this prevents newstandby-replaydaemons from being assigned. - Restarting a running MDS daemon
- If the daemon was active and a suitable standby daemon was available, the "failed" daemon becomes a standby daemon.
Procedure
Fail an MDS
daemon.
ceph mds fail MDS_NAMEReplace the
MDS_NAME with the name of the standby-replay MDS node.Note: Use
the ceph fs status command to find the Ceph MDS name.
For
example:
[ceph: root@host01 /]# ceph mds fail example01