You can set up pools which have all their primaries in one data center, and point the clients at those pools. But writes will still have to traverse the network link because Ceph does synchronous replication for strong consistency.
If you want them to both write to the same pool, but use local OSDs: no, you can't do that. -Greg Software Engineer #42 @ http://inktank.com | http://ceph.com On Thu, Jun 12, 2014 at 12:12 AM, NEVEU Stephane <stephane.ne...@thalesgroup.com> wrote: > Hi all, > > > > One short question quite useful for me : > > Is there a way to set up a highest osd/host priority for some clients in a > datacenter and do the opposite in another datacenter ? I mean, my network > links between those datacenters will be used in case of failover for clients > accessing data on ceph. So clearly I’d like my clients to have higher > priorities on the nearest hosts/osds. > > Is it possible to do so ? > > > > Thanks, > > > > > _______________________________________________ > 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