There’s also a maintenance mode available for the orchestrator:
https://docs.ceph.com/en/reef/cephadm/host-management/#maintenance-mode
There’s some more information about that in the dev section:
https://docs.ceph.com/en/reef/dev/cephadm/host-maintenance/
Zitat von Anthony D'Atri <anthony.datri@xxxxxxxxx>:
That's just setting noout, norebalance, etc.
On Jun 12, 2024, at 11:28, Michael Worsham
<mworsham@xxxxxxxxxxxxxxxxxx> wrote:
Interesting. How do you set this "maintenance mode"? If you have a
series of documented steps that you have to do and could provide as
an example, that would be beneficial for my efforts.
We are in the process of standing up both a dev-test environment
consisting of 3 Ceph servers (strictly for testing purposes) and a
new production environment consisting of 20+ Ceph servers.
We are using Ubuntu 22.04.
-- Michael
________________________________
From: Daniel Brown <daniel.h.brown@thermify.cloud>
Sent: Wednesday, June 12, 2024 9:18 AM
To: Anthony D'Atri <anthony.datri@xxxxxxxxx>
Cc: Michael Worsham <mworsham@xxxxxxxxxxxxxxxxxx>;
ceph-users@xxxxxxx <ceph-users@xxxxxxx>
Subject: Re: Patching Ceph cluster
This is an external email. Please take care when clicking links or
opening attachments. When in doubt, check with the Help Desk or
Security.
There’s also a Maintenance mode that you can set for each server,
as you’re doing updates, so that the cluster doesn’t try to move
data from affected OSD’s, while the server being updated is offline
or down. I’ve worked some on automating this with Ansible, but have
found my process (and/or my cluster) still requires some manual
intervention while it’s running to get things done cleanly.
On Jun 12, 2024, at 8:49 AM, Anthony D'Atri
<anthony.datri@xxxxxxxxx> wrote:
Do you mean patching the OS?
If so, easy -- one node at a time, then after it comes back up,
wait until all PGs are active+clean and the mon quorum is complete
before proceeding.
On Jun 12, 2024, at 07:56, Michael Worsham
<mworsham@xxxxxxxxxxxxxxxxxx> wrote:
What is the proper way to patch a Ceph cluster and reboot the
servers in said cluster if a reboot is necessary for said
updates? And is it possible to automate it via Ansible? This
message and its attachments are from Data Dimensions and are
intended only for the use of the individual or entity to which it
is addressed, and may contain information that is privileged,
confidential, and exempt from disclosure under applicable law. If
the reader of this message is not the intended recipient, or the
employee or agent responsible for delivering the message to the
intended recipient, you are hereby notified that any
dissemination, distribution, or copying of this communication is
strictly prohibited. If you have received this communication in
error, please notify the sender immediately and permanently
delete the original email and destroy any copies or printouts of
this email as well as any attachments.
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx
This message and its attachments are from Data Dimensions and are
intended only for the use of the individual or entity to which it
is addressed, and may contain information that is privileged,
confidential, and exempt from disclosure under applicable law. If
the reader of this message is not the intended recipient, or the
employee or agent responsible for delivering the message to the
intended recipient, you are hereby notified that any dissemination,
distribution, or copying of this communication is strictly
prohibited. If you have received this communication in error,
please notify the sender immediately and permanently delete the
original email and destroy any copies or printouts of this email as
well as any attachments.
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx