Hi, we have a similar setup where we have SSD and HDD in the same hosts. Our very basic crushmap is configured as follows:
# ceph osd tree # id weight type name up/down reweight -6 3 root ssd 3 1 osd.3 up 1 4 1 osd.4 up 1 5 1 osd.5 up 1 -5 3 root platters 0 1 osd.0 up 1 1 1 osd.1 up 1 2 1 osd.2 up 1 -1 3 root default -2 1 host chgva-srv-stor-001 0 1 osd.0 up 1 3 1 osd.3 up 1 -3 1 host chgva-srv-stor-002 1 1 osd.1 up 1 4 1 osd.4 up 1 -4 1 host chgva-srv-stor-003 2 1 osd.2 up 1 5 1 osd.5 up 1 We do not seem to have problems with this setup, but i'm not sure if it's a good practice to have elements appearing multiple times in different branches. On the other hand, I see no way to follow the physical hierarchy of a datacenter for pools, since a pool can be spread among servers/racks/rooms... Can someone confirm this crushmap is any good for our configuration? Thanks is advance. BR Davide On Mon, Mar 3, 2014 at 12:48 PM, Wido den Hollander <w...@42on.com> wrote: > On 03/03/2014 12:45 PM, Vikrant Verma wrote: > >> Hi All, >> >> Is it possible to map OSDs from different hosts (servers) to a Pool in >> ceph cluster? >> >> In Crush Map we can add a bucket mentioning the host details (hostname >> and its weight). >> >> Is it possible to configure a bucket which contains OSDs from different >> hosts? >> >> > I think it's possible. > > But you can always try it and afterwards run crushtool with tests: > > $ crushtool -i mycrushmap --test --rule 0 --num-rep 3 --show-statistics > > That will run some tests on your compiled crushmap > > >> if possible please let me know how to configure it. >> >> Regards, >> Vikrant >> >> >> >> _______________________________________________ >> ceph-users mailing list >> ceph-users@lists.ceph.com >> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com >> >> > > -- > Wido den Hollander > 42on B.V. > > Phone: +31 (0)20 700 9902 > Skype: contact42on > _______________________________________________ > ceph-users mailing list > ceph-users@lists.ceph.com > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com >
_______________________________________________ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com