Setup
-----
-Create an authentication key for your daemon:
+Create an authentication key for your daemon::
-::
ceph auth get-or-create mgr.$name mon 'allow *'
Place that key into ``mgr data`` path, which for a cluster "ceph"
and mgr $name "foo" would be ``/var/lib/ceph/mgr/ceph-foo``.
-Start the ceph-mgr daemon:
+Start the ceph-mgr daemon::
-::
ceph-mgr -i $name
Check that the mgr has come up by looking at the output
-of ``ceph status``, which should now include a mgr status line:
+of ``ceph status``, which should now include a mgr status line::
-::
mgr active: $name
High availability
-----------------------
Where a module implements command line hooks, using the Ceph CLI's
-``tell`` command to call them like this:
-
-::
+``tell`` command to call them like this::
ceph tell mgr <command | help>
-----------------
Set the ``COMMANDS`` class attribute of your plugin to a list of dicts
-like this:
+like this::
-::
COMMANDS = [
{
"cmd": "foobar name=myarg,type=CephString",