Re: upmap+assimilate-conf clarification

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



For upmap, you can see all the upmap items in your osdmap via `ceph
osd dump | grep upmap` pg autoscaler and upmap are 2 different things.
Upmaps are used mainly by the ceph balancer (if in upmap mode) to
provide a better data distribution among your OSDs. You can also
manually set upmaps. The auto-scaler is used to dynamically add/remove
PGs on pools based on the size of your cluster and the amount of data
in your pools so they are somewhat complimentary.

I believe assimilate-conf will just read your local ceph.conf and add
the config to the centralized conf. If you have different configs on
different servers there's going to be some manual work involved as
they will overwrite each other on import. Iirc you can use something
like  `ceph config set <crush_bucket_type>:<crush_bucket_name>
<osd|mon|global|...> <options> <value>` to apply a config option to a
subset of OSDs.

On Fri, May 21, 2021 at 2:08 AM Szabo, Istvan (Agoda)
<Istvan.Szabo@xxxxxxxxx> wrote:
>
> Hi,
>
> I've successfully updated my luminous lab environment to nautilus so next week I'll give a try to the prod env but 2 things same up in the description:
>
>
>   1.  Upmap: I've never used this before don't know how I couldn't see it because it is quite cool feature. So ceph says let it in upmap, my question is like with the ceph-pg autoscaler module not the best thing to use in 'on' mode, better in warn, so is it good to use in upmap mode let's say in ceph world "safe"?
>   2.  Regarding this assimilate-conf. It's not clear for me what is it actually? Doc says:
>
> "This is also a good time to fully transition any config options in ceph.conf into the cluster's configuration database. On each host, you can use the following command to import any option into the monitors with ceph config assimilate-conf -i /etc/ceph/ceph.conf".
>
> What does this mean? If I have different configs on different servers and I run it on the servers it will merge it together all the configs? Or what I can do with this feature?
>
> Thank you
>
> ________________________________
> This message is confidential and is for the sole use of the intended recipient(s). It may also be privileged or otherwise protected by copyright or other legal rules. If you have received it by mistake please let us know by reply email and delete it from your system. It is prohibited to copy this message or disclose its content to anyone. Any confidentiality or privilege is not waived or lost by any mistaken delivery or unauthorized disclosure of the message. All messages sent to and from Agoda may be monitored to ensure compliance with company policies, to protect the company's interests and to remove potential malware. Electronic messages may be intercepted, amended, lost or deleted, or contain viruses.
> _______________________________________________
> 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



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux