Ceph Maintenance/Shutdown
跳至導覽
跳至搜尋
Ceph Nodes Maintenance/Shutdown
1.
ceph orch host ok-to-stop <hostname>
2.
ceph orch host maintenance enter <hostname> [--force]
3.
ceph orch host maintenance exit <hostname>
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 unset pause ceph osd unset nodown ceph osd unset norebalance
6. Unset all flags:
ceph osd unset norecover ceph osd unset nobackfill ceph osd unset noout
7. Check and verify the cluster is in healthy state
8. Verify all the clients are able to access the cluster.