このコンテンツは選択した言語では利用できません。
Chapter 2. Understanding process management for Ceph
As a storage administrator, you can manipulate the various Ceph daemons by type or instance in a Red Hat Ceph Storage cluster. Manipulating these daemons allows you to start, stop and restart all of the Ceph services as needed.
2.1. Ceph process management リンクのコピーリンクがクリップボードにコピーされました!
In Red Hat Ceph Storage, all process management is done through the Systemd service. Each time you want to start, restart, and stop the Ceph daemons, you must specify the daemon type or the daemon instance.
Additional Resources
-
For more information on using
systemd, see Managing system services with systemctl.
2.2. Starting, stopping, and restarting all Ceph daemons using systemctl command リンクのコピーリンクがクリップボードにコピーされました!
You can start, stop, and restart all Ceph daemons as the root user from the host where you want to stop the Ceph daemons.
Prerequisites
- A running Red Hat Ceph Storage cluster.
-
Having
rootaccess to the node.
Procedure
On the host where you want to start, stop, and restart the daemons, run the systemctl service to get the SERVICE_ID of the service.
Example
systemctl --type=service ceph-499829b4-832f-11eb-8d6d-001a4a000635@mon.host01.service
[root@host01 ~]# systemctl --type=service ceph-499829b4-832f-11eb-8d6d-001a4a000635@mon.host01.serviceCopy to Clipboard Copied! Toggle word wrap Toggle overflow Starting all Ceph daemons:
Syntax
systemctl start SERVICE_ID
systemctl start SERVICE_IDCopy to Clipboard Copied! Toggle word wrap Toggle overflow Example
systemctl start ceph-499829b4-832f-11eb-8d6d-001a4a000635@mon.host01.service
[root@host01 ~]# systemctl start ceph-499829b4-832f-11eb-8d6d-001a4a000635@mon.host01.serviceCopy to Clipboard Copied! Toggle word wrap Toggle overflow Stopping all Ceph daemons:
Syntax
systemctl stop SERVICE_ID
systemctl stop SERVICE_IDCopy to Clipboard Copied! Toggle word wrap Toggle overflow Example
systemctl stop ceph-499829b4-832f-11eb-8d6d-001a4a000635@mon.host01.service
[root@host01 ~]# systemctl stop ceph-499829b4-832f-11eb-8d6d-001a4a000635@mon.host01.serviceCopy to Clipboard Copied! Toggle word wrap Toggle overflow Restarting all Ceph daemons:
Syntax
systemctl restart SERVICE_ID
systemctl restart SERVICE_IDCopy to Clipboard Copied! Toggle word wrap Toggle overflow Example
systemctl restart ceph-499829b4-832f-11eb-8d6d-001a4a000635@mon.host01.service
[root@host01 ~]# systemctl restart ceph-499829b4-832f-11eb-8d6d-001a4a000635@mon.host01.serviceCopy to Clipboard Copied! Toggle word wrap Toggle overflow
2.3. Starting, stopping, and restarting all Ceph services リンクのコピーリンクがクリップボードにコピーされました!
Ceph services are logical groups of Ceph daemons of the same type, configured to run in the same Red Hat Ceph Storage cluster. The orchestration layer in Ceph allows the user to manage these services in a centralized way, making it easy to execute operations that affect all the Ceph daemons that belong to the same logical service. The Ceph daemons running in each host are managed through the Systemd service. You can start, stop, and restart all Ceph services from the host where you want to manage the Ceph services.
If you want to start,stop, or restart a specific Ceph daemon in a specific host, you need to use the SystemD service. To obtain a list of the SystemD services running in a specific host, connect to the host, and run the following command:
Example
systemctl list-units “ceph*”
[root@host01 ~]# systemctl list-units “ceph*”
The output will give you a list of the service names that you can use, to manage each Ceph daemon.
Prerequisites
- A running Red Hat Ceph Storage cluster.
-
Having
rootaccess to the node.
Procedure
Log into the Cephadm shell:
Example
cephadm shell
[root@host01 ~]# cephadm shellCopy to Clipboard Copied! Toggle word wrap Toggle overflow Run the
ceph orch lscommand to get a list of Ceph services configured in the Red Hat Ceph Storage cluster and to get the specific service ID.Example
Copy to Clipboard Copied! Toggle word wrap Toggle overflow To start a specific service, run the following command:
Syntax
ceph orch start SERVICE_ID
ceph orch start SERVICE_IDCopy to Clipboard Copied! Toggle word wrap Toggle overflow Example
[ceph: root@host01 /]# ceph orch start node-exporter
[ceph: root@host01 /]# ceph orch start node-exporterCopy to Clipboard Copied! Toggle word wrap Toggle overflow To stop a specific service, run the following command:
ImportantThe
ceph orch stop SERVICE_IDcommand results in the Red Hat Ceph Storage cluster being inaccessible, only for the MON and MGR service. It is recommended to use thesystemctl stop SERVICE_IDcommand to stop a specific daemon in the host.Syntax
ceph orch stop SERVICE_ID
ceph orch stop SERVICE_IDCopy to Clipboard Copied! Toggle word wrap Toggle overflow Example
[ceph: root@host01 /]# ceph orch stop node-exporter
[ceph: root@host01 /]# ceph orch stop node-exporterCopy to Clipboard Copied! Toggle word wrap Toggle overflow In the example the
ceph orch stop node-exportercommand removes all the daemons of thenode exporterservice.To restart a specific service, run the following command:
Syntax
ceph orch restart SERVICE_ID
ceph orch restart SERVICE_IDCopy to Clipboard Copied! Toggle word wrap Toggle overflow Example
[ceph: root@host01 /]# ceph orch restart node-exporter
[ceph: root@host01 /]# ceph orch restart node-exporterCopy to Clipboard Copied! Toggle word wrap Toggle overflow
2.4. Viewing log files of Ceph daemons that run in containers リンクのコピーリンクがクリップボードにコピーされました!
Use the journald daemon from the container host to view a log file of a Ceph daemon from a container.
Prerequisites
- Installation of the Red Hat Ceph Storage software.
- Root-level access to the node.
Procedure
To view the entire Ceph log file, run a
journalctlcommand asrootcomposed in the following format:Syntax
journalctl -u ceph SERVICE_ID
journalctl -u ceph SERVICE_IDCopy to Clipboard Copied! Toggle word wrap Toggle overflow Example
journalctl -u ceph-499829b4-832f-11eb-8d6d-001a4a000635@osd.8.service
[root@host01 ~]# journalctl -u ceph-499829b4-832f-11eb-8d6d-001a4a000635@osd.8.serviceCopy to Clipboard Copied! Toggle word wrap Toggle overflow In the above example, you can view the entire log for the OSD with ID
osd.8.To show only the recent journal entries, use the
-foption.Syntax
journalctl -fu SERVICE_ID
journalctl -fu SERVICE_IDCopy to Clipboard Copied! Toggle word wrap Toggle overflow Example
journalctl -fu ceph-499829b4-832f-11eb-8d6d-001a4a000635@osd.8.service
[root@host01 ~]# journalctl -fu ceph-499829b4-832f-11eb-8d6d-001a4a000635@osd.8.serviceCopy to Clipboard Copied! Toggle word wrap Toggle overflow
You can also use the sosreport utility to view the journald logs. For more details about SOS reports, see the What is an sosreport and how to create one in Red Hat Enterprise Linux? solution on the Red Hat Customer Portal.
Additional Resources
-
The
journalctlmanual page.
2.5. Powering down and rebooting Red Hat Ceph Storage cluster リンクのコピーリンクがクリップボードにコピーされました!
Use either the Ceph Orchestrator or 'systemctl' commands to power down and restart the Red Hat Ceph Storage cluster.
Before you begin powering down a Red Hat Ceph Storage, be sure that you have root-level access.
2.5.1. Powering down and rebooting with Ceph Orchestrator リンクのコピーリンクがクリップボードにコピーされました!
Use the Ceph Orchestrator to shut down and restart the Red Hat Ceph Storage cluster. In most cases, logging in to a single system is sufficient to power off the cluster.
The Ceph Orchestrator supports start, stop, and restart operations for powering down or rebooting the cluster. Alternatively, use systemctl commands for powering down and rebooting the Ceph cluster. For more information, see Powering down and rebooting the cluster using the systemctl commands.
Use the following basic flow to power down a Red Hat Ceph Storage cluster. The procedure provides full in-depth information and commands for each step.
- Stop all clients from using the Block Device image and Ceph Object Gateway on this cluster and on any other clients.
- Stop the Ceph File System (CephFS) cluster and the MDS service.
- Stop all component gateways related to block and file.
- Stop all ingress services and RADOS gateways.
- If mirror dameons are used, stop all mirror daemons.
- Stop the monitoring service components.
-
Set the
nooutflag. - Shut down all nodes.
Prerequisites
Before you begin, make sure that you have the following prerequisites in place:
- A running Red Hat Ceph Storage cluster.
- Root-level access to the node.
2.5.1.1. Powering down the Red Hat Ceph Storage cluster リンクのコピーリンクがクリップボードにコピーされました!
Use the Ceph Orchestrator to shut down the Red Hat Ceph Storage cluster.
Procedure
- Stop all clients from using user Block Device images, CephFS volumes, and Ceph Object Gateways.
Log in to the Cephadm shell.
Example
cephadm shell
[root@host01 ~]# cephadm shellCopy to Clipboard Copied! Toggle word wrap Toggle overflow Before proceeding, the cluster must be in healthy state (
Health_OKand all PGsactive+clean). View the cluster state by using theceph -scommand.When using CephFS, bring down the CephFS cluster.
Syntax
ceph fs fail FS_NAME ceph status ceph fs set FS_NAME joinable false ceph mds fail FS_NAME:N
ceph fs fail FS_NAME ceph status ceph fs set FS_NAME joinable false ceph mds fail FS_NAME:NCopy to Clipboard Copied! Toggle word wrap Toggle overflow Example
[ceph: root@host01 /]# ceph fs fail cephfs [ceph: root@host01 /]# ceph status [ceph: root@host01 /]# ceph fs set cephfs joinable false [ceph: root@host01 /]# ceph mds fail cephfs:1
[ceph: root@host01 /]# ceph fs fail cephfs [ceph: root@host01 /]# ceph status [ceph: root@host01 /]# ceph fs set cephfs joinable false [ceph: root@host01 /]# ceph mds fail cephfs:1Copy to Clipboard Copied! Toggle word wrap Toggle overflow Stop the MDS service.
Get the MDS service name.
Syntax
ceph orch ls --service-type mds
ceph orch ls --service-type mdsCopy to Clipboard Copied! Toggle word wrap Toggle overflow Example
[ceph: root@host01 /]# ceph orch ls --service-type mds
[ceph: root@host01 /]# ceph orch ls --service-type mdsCopy to Clipboard Copied! Toggle word wrap Toggle overflow Stop the MDS service that uses the name output in the previous step.
Syntax
ceph orch stop SERVICE_NAME
ceph orch stop SERVICE_NAMECopy to Clipboard Copied! Toggle word wrap Toggle overflow
Stop all component gateways that are related to block and file systems.
-
Find all relevant services that are running by using the
ceph orch lscommand. Stop each block and file system service.
Syntax
ceph orch stop SERVICE_NAME
ceph orch stop SERVICE_NAMECopy to Clipboard Copied! Toggle word wrap Toggle overflow Example
[ceph: root@host01 /]# ceph orch stop rbd
[ceph: root@host01 /]# ceph orch stop rbdCopy to Clipboard Copied! Toggle word wrap Toggle overflow
-
Find all relevant services that are running by using the
Stop the Ceph Object Gateway services. Repeat for each deployed service.
Find the Ceph Object Gateway service name.
Syntax
ceph orch ls --service-type SERVICE_TYPE
ceph orch ls --service-type SERVICE_TYPECopy to Clipboard Copied! Toggle word wrap Toggle overflow Stop the Ceph Object Gateway service that uses the fetched service name.
Syntax
ceph orch stop SERVICE_NAME
ceph orch stop SERVICE_NAMECopy to Clipboard Copied! Toggle word wrap Toggle overflow
Stop the Ceph Object Gateway ingress services. Repeat for each deployed service.
Fetch the deployed ingress services.
Syntax
ceph orch ls --service-type ingress
ceph orch ls --service-type ingressCopy to Clipboard Copied! Toggle word wrap Toggle overflow Stop each deployed ingress service.
Syntax
ceph orch stop SERVICE_NAME
ceph orch stop SERVICE_NAMECopy to Clipboard Copied! Toggle word wrap Toggle overflow
Stop the monitoring service components.
Stop the Alertmanager service.
Syntax
ceph orch stop alertmanager
ceph orch stop alertmanagerCopy to Clipboard Copied! Toggle word wrap Toggle overflow Stop the node-exporter service, which is part of the monitoring stack.
Syntax
ceph orch stop node-exporter
ceph orch stop node-exporterCopy to Clipboard Copied! Toggle word wrap Toggle overflow Stop the Prometheus service.
Syntax
ceph orch stop prometheus
ceph orch stop prometheusCopy to Clipboard Copied! Toggle word wrap Toggle overflow Stop the Grafana dashboard service.
Syntax
ceph orch stop grafana
ceph orch stop grafanaCopy to Clipboard Copied! Toggle word wrap Toggle overflow Stop the crash service.
Syntax
ceph orch stop crash
ceph orch stop crashCopy to Clipboard Copied! Toggle word wrap Toggle overflow
Set the
nooutflag. Set the noout flag during maintenance to prevent CRUSH from automatically rebalancing the cluster.NoteUse the pause flag to block any forgotten client I/Os.
Syntax
ceph osd set noout
ceph osd set nooutCopy to Clipboard Copied! Toggle word wrap Toggle overflow Example
[ceph: root@host01 /]# ceph osd set noout
[ceph: root@host01 /]# ceph osd set nooutCopy to Clipboard Copied! Toggle word wrap Toggle overflow Stop the OSD services from the cephadm node, one by one. If there are large number of OSD daemons, you may proceed to shutdown the OSD nodes directly.
Fetch the OSD IDs.
Syntax
ceph orch ps
ceph orch psCopy to Clipboard Copied! Toggle word wrap Toggle overflow Stop the OSD daemons.
Syntax
ceph orch daemon stop OSD_ID
ceph orch daemon stop OSD_IDCopy to Clipboard Copied! Toggle word wrap Toggle overflow Example
[ceph: root@host01 /]# ceph orch daemon stop osd.1 Scheduled to stop osd.1 on host 'host02'
[ceph: root@host01 /]# ceph orch daemon stop osd.1 Scheduled to stop osd.1 on host 'host02'Copy to Clipboard Copied! Toggle word wrap Toggle overflow Identify the OSD hosts.
Syntax
ceph orch ls osd
ceph orch ls osdCopy to Clipboard Copied! Toggle word wrap Toggle overflow -
Shut down each of the OSD hosts from the hosts listed in the
ceph orch psoutput.
Stop the monitors.
Identify the hosts with monitors.
Syntax
ceph orch ls mon
ceph orch ls monCopy to Clipboard Copied! Toggle word wrap Toggle overflow Note the listed monitor hosts.
Shut down the monitor hosts that are listed in the previous step. Shut down the monitor hosts one by one.
Syntax
systemtl stop SERVICE_NAME
systemtl stop SERVICE_NAMECopy to Clipboard Copied! Toggle word wrap Toggle overflow
- Shut down any remaining standalone hosts. Shut down hosts with services, such as Ceph Object Gateway, that are still running.
2.5.1.2. Rebooting the Red Hat Ceph Storage cluster リンクのコピーリンクがクリップボードにコピーされました!
Use the Ceph Orchestrator to reboot the Red Hat Ceph Storage cluster.
Prerequisites
Before you begin rebooting the cluster, power on and stabilize any network equipment before powering on the Ceph hosts and nodes.
Procedure
Power on all the Ceph hosts.
Log in to the administration node from the Cephadm shell.
Example
cephadm shell
[root@host01 ~]# cephadm shellCopy to Clipboard Copied! Toggle word wrap Toggle overflow
Verify that all services are in the running state.
Syntax
ceph orch ls
ceph orch lsCopy to Clipboard Copied! Toggle word wrap Toggle overflow -
Ensure that the cluster health is in the
Health_OKstatus, by running theceph -scommand. Unset the
nooutflag that was set in Powering down the Red Hat Ceph Storage cluster.Syntax
ceph osd unset noout
ceph osd unset nooutCopy to Clipboard Copied! Toggle word wrap Toggle overflow Example
[ceph: root@host01 /]# ceph osd unset noout
[ceph: root@host01 /]# ceph osd unset nooutCopy to Clipboard Copied! Toggle word wrap Toggle overflow When using Ceph File System (CephFS), make the CephFS cluster available by setting the joinable flag to true.
Syntax
ceph fs set FS_NAME joinable true
ceph fs set FS_NAME joinable trueCopy to Clipboard Copied! Toggle word wrap Toggle overflow Example
[ceph: root@host01 /]# ceph fs set cephfs joinable true
[ceph: root@host01 /]# ceph fs set cephfs joinable trueCopy to Clipboard Copied! Toggle word wrap Toggle overflow
Verification
Verify that the cluster is in healthy state (Health_OK and all PGs active+clean). Run the ceph -s status command on a node with the client keyrings, for example, the Ceph Monitor or OpenStack controller nodes, to ensure that the cluster is healthy.
2.5.2. Powering down and rebooting the cluster using the systemctl commands リンクのコピーリンクがクリップボードにコピーされました!
Use systemctl commands to shut down and restart the Red Hat Ceph Storage cluster. This method aligns with standard Linux service management practices.
Alternatively, use the Ceph Orchestrator to power down and reboot the Ceph cluster. For more information, see Powering down and rebooting with Ceph Orchestrator.
Prerequisites
Before you begin, make sure that you have the following prerequisites in place:
- A running Red Hat Ceph Storage cluster.
- Root-level access to the node.
2.5.2.1. Powering down the Red Hat Ceph Storage cluster リンクのコピーリンクがクリップボードにコピーされました!
Use systemctl commands to shut down the Red Hat Ceph Storage cluster.
Repeat these steps for each node in the cluster.
Procedure
- Stop all clients from using user Block Device Images, CephFS volumes, and Ceph Object Gateways.
Log in to the Cephadm shell.
Example
cephadm shell
[root@host01 ~]# cephadm shellCopy to Clipboard Copied! Toggle word wrap Toggle overflow Before proceeding, the cluster must be in healthy state (
Health_OKand all PGsactive+clean). View the cluster state by using theceph -scommand.When using CephFS, bring down the CephFS cluster.
Syntax
ceph fs fail FS_NAME ceph status ceph fs set FS_NAME joinable false ceph mds fail FS_NAME:N
ceph fs fail FS_NAME ceph status ceph fs set FS_NAME joinable false ceph mds fail FS_NAME:NCopy to Clipboard Copied! Toggle word wrap Toggle overflow Example
[ceph: root@host01 /]# ceph fs fail cephfs [ceph: root@host01 /]# ceph status [ceph: root@host01 /]# ceph fs set cephfs joinable false [ceph: root@host01 /]# ceph mds fail cephfs:1
[ceph: root@host01 /]# ceph fs fail cephfs [ceph: root@host01 /]# ceph status [ceph: root@host01 /]# ceph fs set cephfs joinable false [ceph: root@host01 /]# ceph mds fail cephfs:1Copy to Clipboard Copied! Toggle word wrap Toggle overflow If the MDS and Ceph Object Gateway nodes are on their own dedicated nodes, stop the MDS service.
Get the MDS service name.
Syntax
ceph orch ls --service-type mds
ceph orch ls --service-type mdsCopy to Clipboard Copied! Toggle word wrap Toggle overflow Example
[ceph: root@host01 /]# ceph orch ls --service-type mds
[ceph: root@host01 /]# ceph orch ls --service-type mdsCopy to Clipboard Copied! Toggle word wrap Toggle overflow Stop the MDS service that uses the name output in the previous step.
Syntax
ceph orch stop SERVICE_NAME
ceph orch stop SERVICE_NAMECopy to Clipboard Copied! Toggle word wrap Toggle overflow
Set the
nooutflag. Set the noout flag during maintenance to prevent CRUSH from automatically rebalancing the cluster.NoteUse the pause flag to block any forgotten client I/Os.
Syntax
ceph osd set noout
ceph osd set nooutCopy to Clipboard Copied! Toggle word wrap Toggle overflow Example
[ceph: root@host01 /]# ceph osd set noout
[ceph: root@host01 /]# ceph osd set nooutCopy to Clipboard Copied! Toggle word wrap Toggle overflow Get the systemd target of the daemons.
Syntax
systemctl list-units --type target | grep ceph
systemctl list-units --type target | grep cephCopy to Clipboard Copied! Toggle word wrap Toggle overflow Example
systemctl list-units --type target | grep ceph ceph-0b007564-ec48-11ee-b736-525400fd02f8.target loaded active active Ceph cluster 0b007564-ec48-11ee-b736-525400fd02f8 ceph.target loaded active active All Ceph clusters and services
[root@host01 ~]# systemctl list-units --type target | grep ceph ceph-0b007564-ec48-11ee-b736-525400fd02f8.target loaded active active Ceph cluster 0b007564-ec48-11ee-b736-525400fd02f8 ceph.target loaded active active All Ceph clusters and servicesCopy to Clipboard Copied! Toggle word wrap Toggle overflow Disable the target that includes the cluster FSID.
Syntax
systemctl disable CLUSTER_FSID.target
systemctl disable CLUSTER_FSID.targetCopy to Clipboard Copied! Toggle word wrap Toggle overflow Example
systemctl disable ceph-0b007564-ec48-11ee-b736-525400fd02f8.target Removed "/etc/systemd/system/multi-user.target.wants/ceph-0b007564-ec48-11ee-b736-525400fd02f8.target". Removed "/etc/systemd/system/ceph.target.wants/ceph-0b007564-ec48-11ee-b736-525400fd02f8.target".
[root@host01 ~]# systemctl disable ceph-0b007564-ec48-11ee-b736-525400fd02f8.target Removed "/etc/systemd/system/multi-user.target.wants/ceph-0b007564-ec48-11ee-b736-525400fd02f8.target". Removed "/etc/systemd/system/ceph.target.wants/ceph-0b007564-ec48-11ee-b736-525400fd02f8.target".Copy to Clipboard Copied! Toggle word wrap Toggle overflow Stop all daemons on the host.
Syntax
systemctl stop CLUSTER_FSID.target
systemctl stop CLUSTER_FSID.targetCopy to Clipboard Copied! Toggle word wrap Toggle overflow Example
systemctl stop ceph-0b007564-ec48-11ee-b736-525400fd02f8.target
[root@host01 ~]# systemctl stop ceph-0b007564-ec48-11ee-b736-525400fd02f8.targetCopy to Clipboard Copied! Toggle word wrap Toggle overflow Shut down the node by using the shutdown command.
Example
shutdown Shutdown scheduled for Wed 2024-03-27 11:47:19 EDT, use 'shutdown -c' to cancel.
[root@host01 ~]# shutdown Shutdown scheduled for Wed 2024-03-27 11:47:19 EDT, use 'shutdown -c' to cancel.Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Repeat the shutdown steps for all nodes in the cluster.
2.5.2.2. Rebooting the Red Hat Ceph Storage cluster リンクのコピーリンクがクリップボードにコピーされました!
Use systemctl commands to reboot the Red Hat Ceph Storage cluster.
Procedure
Enable the systemd target to run all daemons.
Syntax
systemctl enable CLUSTER_FSID.target
systemctl enable CLUSTER_FSID.targetCopy to Clipboard Copied! Toggle word wrap Toggle overflow Example
systemctl enable ceph-0b007564-ec48-11ee-b736-525400fd02f8.target Created symlink /etc/systemd/system/multi-user.target.wants/ceph-0b007564-ec48-11ee-b736-525400fd02f8.target
/etc/systemd/system/ceph-0b007564-ec48-11ee-b736-525400fd02f8.target. Created symlink /etc/systemd/system/ceph.target.wants/ceph-0b007564-ec48-11ee-b736-525400fd02f8.target /etc/systemd/system/ceph-0b007564-ec48-11ee-b736-525400fd02f8.target. [root@host01 ~]# systemctl enable ceph-0b007564-ec48-11ee-b736-525400fd02f8.target Created symlink /etc/systemd/system/multi-user.target.wants/ceph-0b007564-ec48-11ee-b736-525400fd02f8.target/etc/systemd/system/ceph-0b007564-ec48-11ee-b736-525400fd02f8.target. Created symlink /etc/systemd/system/ceph.target.wants/ceph-0b007564-ec48-11ee-b736-525400fd02f8.target /etc/systemd/system/ceph-0b007564-ec48-11ee-b736-525400fd02f8.target. Copy to Clipboard Copied! Toggle word wrap Toggle overflow Start the systemd target.
Syntax
systemctl start CLUSTER_FSID.target
systemctl start CLUSTER_FSID.targetCopy to Clipboard Copied! Toggle word wrap Toggle overflow Example
systemctl start ceph-0b007564-ec48-11ee-b736-525400fd02f8.target
[root@host01 ~]# systemctl start ceph-0b007564-ec48-11ee-b736-525400fd02f8.targetCopy to Clipboard Copied! Toggle word wrap Toggle overflow Wait for all the nodes to come up.
Log in to the Cephadm shell.
Syntax
cephadm shell
cephadm shellCopy to Clipboard Copied! Toggle word wrap Toggle overflow Verify that all services are up and there are no connectivity issues between the nodes.
Syntax
ceph orch ls
ceph orch lsCopy to Clipboard Copied! Toggle word wrap Toggle overflow Unset the
nooutflags. Run the following commands on a node with the client keyrings, for example, the Ceph Monitor or OpenStack controller node.Syntax
ceph osd unset noout
ceph osd unset nooutCopy to Clipboard Copied! Toggle word wrap Toggle overflow NoteIf the pause flag was set, unset the pause flag.
Example
[ceph: root@host01 /]# ceph osd unset noout
[ceph: root@host01 /]# ceph osd unset nooutCopy to Clipboard Copied! Toggle word wrap Toggle overflow When using Ceph File System (CephFS), bring the CephFS cluster back up by setting the joinable flag to true.
Syntax
ceph fs set FS_NAME joinable true
ceph fs set FS_NAME joinable trueCopy to Clipboard Copied! Toggle word wrap Toggle overflow Example
[ceph: root@host01 /]# ceph fs set cephfs joinable true
[ceph: root@host01 /]# ceph fs set cephfs joinable trueCopy to Clipboard Copied! Toggle word wrap Toggle overflow
Verification
Verify that the cluster is in healthy state (Health_OK and all PGs active+clean). Run the ceph -s status command on a node with the client keyrings, for example, the Ceph Monitor or OpenStack controller nodes, to ensure that the cluster is healthy.