Este contenido no está disponible en el idioma seleccionado.

Chapter 10. Managing hosts on the Ceph dashboard


As a storage administrator, you can enable or disable maintenance mode for a host in the Red Hat Ceph Storage Dashboard. The maintenance mode ensures that shutting down the host, to perform maintenance activities, does not harm the cluster.

You can also remove hosts using Start Drain and Remove options in the Red Hat Ceph Storage Dashboard.

This section covers the following administrative tasks:

Prerequisites

  • A running Red Hat Ceph Storage cluster.
  • Dashboard is installed.
  • Hosts, Ceph Monitors and Ceph Manager Daemons are added to the storage cluster.

10.1. Entering maintenance mode

You can enter a host into the maintenance mode before shutting it down on the Red Hat Ceph Storage Dashboard. If the maintenance mode gets enabled successfully, the host is taken offline without any errors for the maintenance activity to be performed. If the maintenance mode fails, it indicates the reasons for failure and the actions you need to take before taking the host down.

Prerequisites

  • A running Red Hat Ceph Storage cluster.
  • Dashboard is installed.
  • All other prerequisite checks are performed internally by Ceph and any probable errors are taken care of internally by Ceph.

Procedure

  1. From the dashboard navigation, go to Cluster→Hosts.
  2. Select the host to enter maintenance mode, and click Enter Maintenance from the action drop-down.

    Note

    If the host contains Ceph Object Gateway (RGW) daemons, a warning displays that removing RGW daemons can cause clients to lose connectivity. Click Continue to enter maintenance.

    Note

    When a host enters maintenance mode, all daemons are stopped. Check the status of the daemons of a host by expanding the host view and switching to the Daemons tab.

    A notification displays that the host was moved to maintance successfully.

Verification

  1. The maintenance label displays in the Status column of the Host table.

    Note

    If the maintenance mode fails, a notification displays, indicating the reasons for failure.

10.2. Exiting maintenance mode

To restart a host, you can move it out of maintenance mode on the Red Hat Ceph Storage Dashboard.

Prerequisites

  • A running Red Hat Ceph Storage cluster.
  • Dashboard is installed.
  • All other prerequisite checks are performed internally by Ceph and any probable errors are taken care of internally by Ceph.

Procedure

  1. From the dashboard navigation, go to Cluster→Hosts.
  2. Select the host currently in maintenance mode, and click Exit Maintenance from the action drop-down.

    Note

    Identify which host is maintenance by checking for the maintenance label in the Status column of the Host table.

    A notification displays that the host was moved out of maintenance successfully.

  3. Create the required services on the host. By default, crash and node-exporter get deployed.

Verification

  1. The maintenance label is removed from the Status column of the Host table.

10.3. Removing hosts using the Ceph Dashboard

To remove a host from a Ceph cluster, you can use Start Drain and Remove options in Red Hat Ceph Storage Dashboard.

Prerequisites

  • A running Red Hat Ceph Storage cluster.
  • Dashboard is installed.
  • All other prerequisite checks are performed internally by Ceph and any probable errors are taken care of internally by Ceph.

Procedure

  1. From the dashboard navigation, go to Cluster→Hosts.
  2. Select the host that is to be removed, and click Start Drain from the action drop-down.

    Figure 10.1. Selecting Start Drain option

    Selecting Start Drain option

    This option drains all the daemons from the host.

    Note

    The _no_schedule label is automatically applied to the host, which blocks the deployment of daemons on this host.

    1. Optional: To stop the draining of daemons from the host, click Stop Drain from the action drop-down.
  3. Check that all the daemons are removed from the host.

    1. Expand the host row.
    2. Go to the Daemons tab.

      No daemons should be listed.

      Important

      A host can be safely removed from the cluster after all the daemons are removed from it.

  4. Select the host that is to be removed, and click Remove from the action drop-down.

    1. In the Remove Host notification, select Yes, I am sure and click Remove Host.

      Hosts dialog box

      A notification displays that the host is removed successfully.

Red Hat logoGithubRedditYoutubeTwitter

Aprender

Pruebe, compre y venda

Comunidades

Acerca de la documentación de Red Hat

Ayudamos a los usuarios de Red Hat a innovar y alcanzar sus objetivos con nuestros productos y servicios con contenido en el que pueden confiar.

Hacer que el código abierto sea más inclusivo

Red Hat se compromete a reemplazar el lenguaje problemático en nuestro código, documentación y propiedades web. Para más detalles, consulte el Blog de Red Hat.

Acerca de Red Hat

Ofrecemos soluciones reforzadas que facilitan a las empresas trabajar en plataformas y entornos, desde el centro de datos central hasta el perímetro de la red.

© 2024 Red Hat, Inc.