using these re-authorized IDs may be disrupted, this command requires the
"--yes-i-really-mean-it" flag. Also, mirroring is expected to be disabled
on the file system.
+* MDS upgrades no longer require stopping all standby MDS daemons before
+ upgrading the sole active MDS for a file system.
* RGW: `radosgw-admin realm delete` is now renamed to `radosgw-admin realm rm`. This
is consistent with the help message.
assertions or other faults due to incompatible messages or other functional
differences. For this reason, it's necessary during any cluster upgrade to
reduce the number of active MDS for a file system to one first so that two
-active MDS do not communicate with different versions. Further, it's also
-necessary to take standbys offline as any new CompatSet flags will propagate
-via the MDSMap to all MDS and cause older MDS to suicide.
+active MDS do not communicate with different versions.
The proper sequence for upgrading the MDS cluster is:
-1. Disable and stop standby-replay daemons.
+1. For each file system, disable and stop standby-replay daemons.
::
ceph mds fail mds.<X>
-2. Reduce the number of ranks to 1:
+2. For each file system, reduce the number of ranks to 1:
::
ceph status # wait for MDS to finish stopping
-4. Take all standbys offline, e.g. using systemctl:
-
-::
-
- systemctl stop ceph-mds.target
-
-5. Confirm only one MDS is online and is rank 0 for your FS:
-
-::
-
- ceph status
-
-6. Upgrade the single active MDS, e.g. using systemctl:
-
-::
-
- # use package manager to update cluster
- systemctl restart ceph-mds.target
-
-7. Upgrade/start the standby daemons.
+4. For each MDS, upgrade packages and restart. Note: to reduce failovers, it is
+ recommended -- but not strictly necessary -- to first upgrade standby daemons.
::
# use package manager to update cluster
systemctl restart ceph-mds.target
-8. Restore the previous max_mds for your cluster:
+5. For each file system, restore the previous max_mds and allow_standby_replay settings for your cluster:
::
ceph fs set <fs_name> max_mds <old_max_mds>
-
-9. Restore setting for ``allow_standby_replay`` (if applicable):
-
-::
-
- ceph fs set <fs_name> allow_standby_replay true
+ ceph fs set <fs_name> allow_standby_replay <old_allow_standby_replay>
Upgrading pre-Firefly file systems past Jewel