Project

General

Profile

Actions

Feature #20610

closed

Feature #20606: mds: improve usability of cluster rank manipulation and setting cluster up/down

MDSMonitor: add new command to shrink the cluster in an automated way

Added by Patrick Donnelly almost 7 years ago. Updated about 6 years ago.

Status:
Resolved
Priority:
Urgent
Category:
Administration/Usability
Target version:
% Done:

0%

Source:
Development
Tags:
Backport:
Reviewed:
Affected Versions:
Component(FS):
MDSMonitor
Labels (FS):
multimds
Pull request ID:

Description

Deprecate `ceph fs set <fs_name> max_mds <max_mds>`. New `ceph fs set <fs_name> ranks <max_mds>` sets max_mds and begins stopping ranks with the same logic as `ceph fs set <fs_name> down`. This will rely on a new internal MDSMap bool field "shrink_to_fit". (Probably setting max_mds through the deprected command unsets shrink_to_fit. Setting <ranks> will turn it on. The user cannot change this field explicitly.)

Actions

Also available in: Atom PDF