Ceph Maintenance/Shutdown

出自ChevyneWiki
於 2021年5月25日 (二) 22:28 由 Chevyne留言 | 貢獻 所做的修訂
跳至導覽 跳至搜尋

Ceph Nodes Maintenance/Shutdown

Ceph Cluster Maintenance/Shutdown

1. Stop the clients

using the RBD images
using the Rados Gateway

2. The cluster must be in healthy state

Important

3. Set OSD flags:

ceph osd set noout
ceph osd set nobackfill
ceph osd set norecover

4. Pause cluster completely:

ceph osd set norebalance
ceph osd set nodown
ceph osd set pause

5. Shutdown your service nodes one by one

6. Shutdown your OSD nodes one by one

7. Shutdown your monitor nodes one by one

8. Shutdown your admin node

Start Ceph Cluster After Maintenance

1. Power on the admin node

2. Power on the monitor nodes

3. Power on the osd nodes

4. Wait for all the nodes to come up , Verify all the services are up and the connectivity is fine between the nodes.

5. Resume Ceph cluster:

ceph osd set pause
ceph osd set nodown
ceph osd set norebalance

6. Unset all flags:

ceph osd set norecover
ceph osd set nobackfill
ceph osd set noout

7. Check and verify the cluster is in healthy state

8. Verify all the clients are able to access the cluster.