「Ceph Maintenance/Shutdown」修訂間的差異
跳至導覽
跳至搜尋
行 1: | 行 1: | ||
== Ceph Nodes Maintenance/Shutdown == |
== Ceph Nodes Maintenance/Shutdown == |
||
1. |
1. |
||
− | ceph orch host ok-to-stop < |
+ | ceph orch host ok-to-stop <hostname> |
2. |
2. |
||
ceph orch host maintenance enter <hostname> [--force] |
ceph orch host maintenance enter <hostname> [--force] |
||
3. |
3. |
||
− | ceph orch host |
+ | ceph orch host maintenance exit <hostname> |
== Ceph Cluster Maintenance/Shutdown == |
== Ceph Cluster Maintenance/Shutdown == |
||
1. Stop the clients |
1. Stop the clients |
於 2021年5月25日 (二) 22:33 的修訂
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 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.