AFAIK, the OSDs should discover their location in the CRUSH map automatically -- therefore, this "crush location" config override would be used for librbd client configuration ("i.e. [client] section") to describe their location in the CRUSH map relative to racks, hosts, etc. On Tue, Apr 4, 2017 at 3:12 PM, Brian Andrus <brian.andrus@xxxxxxxxxxxxx> wrote: > Jason, I haven't heard much about this feature. > > Will the localization have effect if the crush location configuration is set > in the [osd] section, or does it need to apply globally for clients as well? > > On Fri, Mar 31, 2017 at 6:38 AM, Jason Dillaman <jdillama@xxxxxxxxxx> wrote: >> >> Assuming you are asking about RBD-back VMs, it is not possible to >> localize the all reads to the VM image. You can, however, enable >> localization of the parent image since that is a read-only data set. >> To enable that feature, set "rbd localize parent reads = true" and >> populate the "crush location = host=X rack=Y etc=Z" in your ceph.conf. >> >> On Fri, Mar 31, 2017 at 9:00 AM, Alejandro Comisario >> <alejandro@xxxxxxxxxxx> wrote: >> > any experiences ? >> > >> > On Wed, Mar 29, 2017 at 2:02 PM, Alejandro Comisario >> > <alejandro@xxxxxxxxxxx> wrote: >> >> Guys hi. >> >> I have a Jewel Cluster divided into two racks which is configured on >> >> the crush map. >> >> I have clients (openstack compute nodes) that are closer from one rack >> >> than to another. >> >> >> >> I would love to (if is possible) to specify in some way the clients to >> >> read first from the nodes on a specific rack then try the other one if >> >> is not possible. >> >> >> >> Is that doable ? can somebody explain me how to do it ? >> >> best. >> >> >> >> -- >> >> Alejandrito >> > >> > >> > >> > -- >> > Alejandro Comisario >> > CTO | NUBELIU >> > E-mail: alejandro@nubeliu.comCell: +54 9 11 3770 1857 >> > _ >> > www.nubeliu.com >> > _______________________________________________ >> > ceph-users mailing list >> > ceph-users@xxxxxxxxxxxxxx >> > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com >> >> >> >> -- >> Jason >> _______________________________________________ >> ceph-users mailing list >> ceph-users@xxxxxxxxxxxxxx >> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com > > > > > -- > Brian Andrus | Cloud Systems Engineer | DreamHost > brian.andrus@xxxxxxxxxxxxx | www.dreamhost.com -- Jason _______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com