Module ceph::cmd [−][src]
Ceph has a command system defined in https://github.com/ceph/ceph/blob/master/src/mon/MonCommands.h The cli commands mostly use this json based system. This allows you to make the exact same calls without having to shell out with std::process::Command. Many of the commands defined in this file have a simulate parameter to allow you to test without actually calling Ceph.
Structs
CephMon | |
ClusterHealth | |
CrushNode | |
CrushTree | |
Health | |
MgrDump | |
MgrMetadata | |
MgrStandby | |
Mon | |
MonDump | |
MonHealth | |
MonMap | |
MonStatus | |
MonTimeChecks | |
ServiceHealth | |
StoreStats | |
TimeChecks |
Enums
HealthStatus | |
MonState | |
OsdOption | |
PoolOption | |
RoundStatus |
Functions
auth_del | |
auth_get_key |
Get a ceph-x key. The id parameter can be either a number or a string depending on the type of client so I went with string. |
cluster_health | |
mgr_auth_add | |
mgr_count_metadata |
count ceph-mgr daemons by metadata field property |
mgr_disable_module |
Disable a mgr module |
mgr_dump |
dump the latest MgrMap |
mgr_enable_module |
Enable a mgr module |
mgr_fail |
Treat the named manager daemon as failed |
mgr_list_modules |
List active mgr modules |
mgr_list_services |
List service endpoints provided by mgr modules |
mgr_metadata |
dump metadata for all daemons |
mgr_versions |
check running versions of ceph-mgr daemons |
mon_dump |
List all the monitors in the cluster and their current rank |
mon_quorum |
Get the mon quorum |
mon_status |
Get the mon status |
osd_auth_add | |
osd_create | |
osd_crush_add |
add or update crushmap position and weight for an osd |
osd_crush_remove | |
osd_out | |
osd_pool_get |
Query a ceph pool. |
osd_pool_quota_get | |
osd_pool_set |
Set a pool value |
osd_rm | |
osd_set | |
osd_tree | |
osd_unset | |
status | |
version |
Show mon daemon version |