From: Venky Shankar Date: Tue, 20 Apr 2021 10:14:18 +0000 (-0400) Subject: doc: adjust `daemon status` section with changed JSON X-Git-Tag: v17.1.0~2141^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=3c600928c20d61a6bc72d7deb6ea609e0c597c30;p=ceph.git doc: adjust `daemon status` section with changed JSON Signed-off-by: Venky Shankar --- diff --git a/doc/cephfs/cephfs-mirroring.rst b/doc/cephfs/cephfs-mirroring.rst index cb3bac18659d..82dd6ada8ea3 100644 --- a/doc/cephfs/cephfs-mirroring.rst +++ b/doc/cephfs/cephfs-mirroring.rst @@ -166,26 +166,32 @@ Mirroring Status CephFS mirroring module provides `mirror daemon status` interface to check mirror daemon status:: $ ceph fs snapshot mirror daemon status - "14135": { - "1": { - "name": "a", - "directory_count": 0, - "peers": { - "ae3f22e6-1c72-4a81-8d5d-eebca3bfd29d": { - "remote": { - "client_name": "client.mirror_remote", - "cluster_name": "site-remote", - "fs_name": "backup_fs" - }, - "stats": { - "failure_count": 0, - "recovery_count": 0 + [ + { + "daemon_id": 284167, + "filesystems": [ + { + "filesystem_id": 1, + "name": "a", + "directory_count": 1, + "peers": [ + { + "uuid": "02117353-8cd1-44db-976b-eb20609aa160", + "remote": { + "client_name": "client.mirror_remote", + "cluster_name": "ceph", + "fs_name": "backup_fs" + }, + "stats": { + "failure_count": 1, + "recovery_count": 0 + } } - } + ] } - } + ] } - } + ] An entry per mirror daemon instance is displayed along with information such as configured peers and basic stats. For more detailed stats, use the admin socket interface as detailed diff --git a/doc/dev/cephfs-mirroring.rst b/doc/dev/cephfs-mirroring.rst index 6b6f2ff1d1fa..7ce6874db535 100644 --- a/doc/dev/cephfs-mirroring.rst +++ b/doc/dev/cephfs-mirroring.rst @@ -220,27 +220,32 @@ status:: E.g:: $ ceph fs snapshot mirror daemon status a | jq - { - "14135": { - "1": { - "name": "a", - "directory_count": 0, - "peers": { - "ae3f22e6-1c72-4a81-8d5d-eebca3bfd29d": { - "remote": { - "client_name": "client.mirror_remote", - "cluster_name": "site-remote", - "fs_name": "backup_fs" - }, - "stats": { - "failure_count": 0, - "recovery_count": 0 + [ + { + "daemon_id": 284167, + "filesystems": [ + { + "filesystem_id": 1, + "name": "a", + "directory_count": 1, + "peers": [ + { + "uuid": "02117353-8cd1-44db-976b-eb20609aa160", + "remote": { + "client_name": "client.mirror_remote", + "cluster_name": "ceph", + "fs_name": "backup_fs" + }, + "stats": { + "failure_count": 1, + "recovery_count": 0 + } } - } + ] } - } + ] } - } + ] An entry per mirror daemon instance is displayed along with information such as configured peers and basic stats. For more detailed stats, use the admin socket interface as detailed