no requirement for quorum among the ceph-mgr daemons.
If the active daemon fails to send a beacon to the monitors for
-more than ``mon mgr beacon grace`` (default 30s), then it will be replaced
+more than :confval:`mon_mgr_beacon_grace`, then it will be replaced
by a standby.
If you want to pre-empt failover, you can explicitly mark a ceph-mgr
Here is an example of enabling the :term:`Dashboard` module:
-::
+.. code-block:: console
$ ceph mgr module ls
{
}
-The first time the cluster starts, it uses the ``mgr_initial_modules``
+The first time the cluster starts, it uses the :confval:`mgr_initial_modules`
setting to override which modules to enable. However, this setting
is ignored through the rest of the lifetime of the cluster: only
use it for bootstrapping. For example, before starting your
monitor daemons for the first time, you might add a section like
this to your ``ceph.conf``:
-::
+.. code-block:: ini
[mon]
mgr_initial_modules = dashboard balancer
Configuration
-------------
-``mgr_module_path``
-
-:Description: Path to load modules from
-:Type: String
-:Default: ``"<library dir>/mgr"``
-
-``mgr_data``
-
-:Description: Path to load daemon data (such as keyring)
-:Type: String
-:Default: ``"/var/lib/ceph/mgr/$cluster-$id"``
-
-``mgr_tick_period``
-
-:Description: How many seconds between mgr beacons to monitors, and other
- periodic checks.
-:Type: Integer
-:Default: ``5``
-
-``mon_mgr_beacon_grace``
-
-:Description: How long after last beacon should a mgr be considered failed
-:Type: Integer
-:Default: ``30``
+.. confval:: mgr_module_path
+.. confval:: mgr_initial_modules
+.. confval:: mgr_data
+.. confval:: mgr_tick_period
+.. confval:: mon_mgr_beacon_grace
.. _Modifying User Capabilities: ../../rados/operations/user-management/#modify-user-capabilities
type: str
level: advanced
desc: Filesystem path to the ceph-mgr data directory, used to contain keyring.
+ fmt_desc: Path to load daemon data (such as keyring)
default: /var/lib/ceph/mgr/$cluster-$id
services:
- mgr
type: str
level: advanced
desc: Filesystem path to manager modules.
+ fmt_desc: Path to load modules from
default: @CEPH_INSTALL_DATADIR@/mgr
services:
- mgr
type: secs
level: advanced
desc: Period in seconds of beacon messages to monitor
+ fmt_desc: How many seconds between mgr beacons to monitors, and other
+ periodic checks.
default: 2
services:
- mgr