On Tuesday, June 7, 2016, Christian Balzer <[email protected]> wrote: > > Hello, > > you will want to read: > > https://www.sebastien-han.fr/blog/2014/08/25/ceph-mix-sata-and-ssd-within-the-same-box/ > > especially section III and IV. > > Another approach w/o editing the CRUSH map is here: > https://elkano.org/blog/ceph-sata-ssd-pools-server-editing-crushmap/
I wonder if this task can be further automated using this feature http://lists.ceph.com/pipermail/ceph-users-ceph.com/2013-October/025030.html http://blog-fromsomedude.rhcloud.com/2016/03/30/CRUSH-location-hook-by-example/ Alex > > Christian > > On Wed, 8 Jun 2016 10:54:36 +0800 秀才 wrote: > > > Hi all, > > > > There are SASes & SSDs in my nodes at the same time. > > Now i want divide them into 2 groups, one composed of SASes and one > > only contained SSDs. When i configure CRUSH rulesets, segment below: > > > > > > # buckets > > host robert-a { > > id -2 # do not change unnecessarily > > # weight 1.640 > > alg straw > > hash 0 # rjenkins1 > > item osd.0 weight 0.250 #SAS > > item osd.1 weight 0.250 #SAS > > item osd.2 weight 0.250 #SSD > > item osd.3 weight 0.250 #SSD > > > > } > > > > > > So, i am not sure must host bucket name be the same with hostname. > > > > > > Or host bucket name does no matter? > > > > > > > > Best regards, > > > > Xiucai > > -- > Christian Balzer Network/Systems Engineer > [email protected] <javascript:;> Global OnLine Japan/Rakuten > Communications > http://www.gol.com/ > _______________________________________________ > ceph-users mailing list > [email protected] <javascript:;> > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com > -- -- Alex Gorbachev Storcium
_______________________________________________ ceph-users mailing list [email protected] http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
