Hi,
Can someone explain how to shutdown the hyper-converged cluster properly?
I suppose the steps should be as follows:
1. Shutdown all VMs on every node
2. Set the following flags:
# ceph osd set noout
# ceph osd set nobackfill
# ceph osd set norecover
3. Shutdown the nodes only after All the VMs on all nodes was shut down.
4. Restore CEPH flags when all the nodes boot up.
If this sequence is correct, then I have a second question.
What is the proper way to perform step 1? How to shutdown both HA-managed and non-HA managed VMs on the node?
- Stopping of pve-manager is not allowed:
# systemctl stop pve-manager
Failed to stop pve-manager.service: Operation refused, unit pve-guests.service may be requested by dependency only (it is configured to refuse manual start/stop).
See system logs and 'systemctl status pve-manager.service' for details.
- Stopping via pvesh only affects non-HA VMs:
# pvesh create /nodes/localhost/stopall
Best regards,
Albert
Can someone explain how to shutdown the hyper-converged cluster properly?
I suppose the steps should be as follows:
1. Shutdown all VMs on every node
2. Set the following flags:
# ceph osd set noout
# ceph osd set nobackfill
# ceph osd set norecover
3. Shutdown the nodes only after All the VMs on all nodes was shut down.
4. Restore CEPH flags when all the nodes boot up.
If this sequence is correct, then I have a second question.
What is the proper way to perform step 1? How to shutdown both HA-managed and non-HA managed VMs on the node?
- Stopping of pve-manager is not allowed:
# systemctl stop pve-manager
Failed to stop pve-manager.service: Operation refused, unit pve-guests.service may be requested by dependency only (it is configured to refuse manual start/stop).
See system logs and 'systemctl status pve-manager.service' for details.
- Stopping via pvesh only affects non-HA VMs:
# pvesh create /nodes/localhost/stopall
Best regards,
Albert