mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 20:06:51 +08:00
cephadm: add new page (#19376)
Co-authored-by: Managor <42655600+Managor@users.noreply.github.com> Co-authored-by: Ivan Baluta <50071699+ivanbaluta@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
# cephadm
|
||||
|
||||
> Deploy and manage a Ceph cluster using containers.
|
||||
> Part of the Ceph orchestrator framework.
|
||||
> More information: <https://docs.ceph.com/en/latest/man/8/cephadm/>.
|
||||
|
||||
- Bootstrap a new Ceph cluster on the current host:
|
||||
|
||||
`sudo cephadm bootstrap --mon-ip {{monitor_ip}}`
|
||||
|
||||
- Add a new host to the cluster:
|
||||
|
||||
`sudo cephadm add-host {{hostname}} {{ip_address}}`
|
||||
|
||||
- Deploy a specific service (e.g., mgr, mon, osd):
|
||||
|
||||
`sudo cephadm deploy {{service_type}} --name {{service_name}}`
|
||||
|
||||
- Check the status of cluster services:
|
||||
|
||||
`sudo cephadm shell -- ceph {{[-s|--status]}}`
|
||||
|
||||
- Enter a shell environment inside the Ceph container:
|
||||
|
||||
`sudo cephadm shell`
|
||||
|
||||
- Remove a service from the cluster:
|
||||
|
||||
`sudo cephadm rm-service {{service_type}} --name {{service_name}}`
|
||||
Reference in New Issue
Block a user