You are safe to upgrade packages just by doing an apt-get update; apt-get 
upgrade, and you will then want to restart your ceph daemons to bring them to 
the new version - though you should of course stagger your restarts of each 
type to ensure your mons remain quorate (don't restart more than half at once, 
ideally one at a time), and your OSDs to keep at least min_size for your pools 
- if you have kept the default failure domain of host for your pools, 
restarting all the OSDs on one node and waiting for them to come back up before 
moving on to the next should be fine. Personally I tend to just reboot the 
entire node and wait for it to come back when I'm doing upgrades as there are 
usually also new kernels waiting to be live by the time I get around to it.

This is a minor version upgrade so you shouldn't need to restart daemon types 
in any particular order - I think that's only a concern when you're doing major 
version upgrades.

Rich

On 05/12/17 17:32, Rudi Ahlers wrote:
> Hi, 
> 
> Can you please tell me how to upgrade these? Would a simple apt-get update be 
> sufficient, or is there a better / safer way?
> 
> On Tue, Dec 5, 2017 at 5:41 PM, Sean Redmond <[email protected] 
> <mailto:[email protected]>> wrote:
> 
>     Hi Florent,
> 
>     I have always done mons ,osds, rgw, mds, clients
> 
>     Packages that don't auto restart services on update IMO is a good thing.
> 
>     Thanks
> 
>     On Tue, Dec 5, 2017 at 3:26 PM, Florent B <[email protected] 
> <mailto:[email protected]>> wrote:
> 
>         On Debian systems, upgrading packages does not restart services !
> 
> 
>         On 05/12/2017 16:22, Oscar Segarra wrote:
>>         I have executed:
>>
>>         yum upgrade -y ceph 
>>
>>         On each node and everything has worked fine...
>>
>>         2017-12-05 16:19 GMT+01:00 Florent B <[email protected] 
>> <mailto:[email protected]>>:
>>
>>             Upgrade procedure is OSD or MON first ?
>>
>>             There was a change on Luminous upgrade about it.

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to