Skip to content

More Ceph-related updates #43

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 10 additions & 5 deletions source/ceph_storage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@ Ceph Storage

The Ceph deployment is not managed by StackHPC Ltd.

Troubleshooting
===============

.. include:: include/ceph_troubleshooting.rst

Working with Ceph deployment tool
=================================

Expand All @@ -31,3 +26,13 @@ Working with Ceph deployment tool
.. ifconfig:: deployment['cephadm']

.. include:: include/cephadm.rst

Operations
==========

.. include:: include/ceph_operations.rst

Troubleshooting
===============

.. include:: include/ceph_troubleshooting.rst
26 changes: 26 additions & 0 deletions source/include/ceph_operations.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@


Replacing drive
---------------

See upstream documentation:
https://docs.ceph.com/en/quincy/cephadm/services/osd/#replacing-an-osd

In case where disk holding DB and/or WAL fails, it is necessary to recreate
(using replacement procedure above) all OSDs that are associated with this
disk - usually NVMe drive. The following single command is sufficient to
identify which OSDs are tied to which physical disks:

.. code-block:: console

ceph# ceph device ls

Host maintenance
----------------

https://docs.ceph.com/en/quincy/cephadm/host-management/#maintenance-mode

Upgrading
---------

https://docs.ceph.com/en/quincy/cephadm/upgrade/
9 changes: 6 additions & 3 deletions source/include/cephadm.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,17 @@ cephadm based playbooks utilising stackhpc.cephadm Ansible Galaxy collection.
Running Ceph commands
=====================

Ceph commands can be run via ``cephadm shell`` utility container:
Ceph commands are usually run inside a ``cephadm shell`` utility container:

.. code-block:: console

ceph# cephadm shell

This command will be only successful on ``mons`` group members (the admin key
is copied only to those nodes).
Operating a cluster requires a keyring with an admin access to be available for Ceph
commands. Cephadm will copy such keyring to the nodes carrying
`_admin <https://docs.ceph.com/en/quincy/cephadm/host-management/#special-host-labels>`__
label - present on MON servers by default when using
`StackHPC Cephadm collection <https://github.com/stackhpc/ansible-collection-cephadm>`__.

Adding a new storage node
=========================
Expand Down