Ceph - Base
Commands
Globals
Ceph version:
Display global cluster status:
Display cluster health:
Display block device info (Global/Pools):
Exec bash on a mononitor container:
Get status of a monitor:
ceph tell mon.{node} mon_status
ceph daemon mon.{node} mon_status
# Ex: ceph tell mon.node001 mon_status
Configs
Display all configuration:
Set a parameter:
Auths
Create client keyring:
ceph auth get-or-create {client-key} {attributes}
# Ex: ceph auth get-or-create client.server1 \
# mon 'allow r' \
# osd 'allow rwx pool=pool1, allow rwx pool=pool2'
Get client keyring:
Mon
Display size of database:
Procedures
Mon
Get how many osdmaps are kept in mon.db: