> We want to have one replica per rack and more generally two replicas in
> the first DC and one in the other one.
> So now we are stuck on the crushmap: how to force the cluster to put two
> replicas in the first dc?
> Is that related to th bucket's weight?

You can fix that in the crush map bucket hierarchy indeed.
There is a nice explanation here:
http://ceph.com/docs/master/rados/operations/crush-map/

Note that your clients will write in both the local and remote dc so it will 
impact write latency!

Cheers,
Robert van Leeuwen

_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to