Creating a bucket on a non-master region in a multi-region configuration with unified namespace/replication

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



OK - I found this information (http://comments.gmane.org/gmane.comp.file-systems.ceph.user/4992):

When creating a bucket users can specify which placement target they
want to use with that specific bucket (by using the S3 create bucket
location constraints field, format is
location_constraints='[region][:placement-target]', e.g.,
location_constraints=':fast-placement').

This looks like exactly what I want to do - but HOW is the location_constraints field used to specify a region for bucket creation?  Is there any documentation around this?

From: ceph-users [mailto:ceph-users-bounces@xxxxxxxxxxxxxx] On Behalf Of Bachelder, Kurt
Sent: Tuesday, July 08, 2014 3:22 PM
To: ceph-users at ceph.com
Subject: Creating a bucket on a non-master region in a multi-region configuration with unified namespace/replication

Hi -

We have a multi-region configuration with metadata replication between the regions for a unified namespace.  Each region has pools in a different cluster. Users created in the master region are replicated to the slave region without any issues - we can get user info, and everything is consistent.  Buckets created in the master region are also indexed in the slave region without any issues.

The issue we're having is with creating a bucket in the slave region.  As we understand it, a bucket is considered "metadata", and should be created via the master region, but using a "location constraint" to ensure the objects within the bucket are physically stored in the secondary region.  However, there is a lack of documentation on exactly *how* to accomplish this - we've attempted with s3cmd using the -bucket-location parameter to point to the slave region, but the bucket is still created in the master region.

We noticed that the ceph S3 API documentation (http://ceph.com/docs/master/radosgw/s3/#features-support) shows that the Amazon S3 functionality for "bucket location" is not supported... but I can't imagine that restriction renders the entire slave region setup useless... does it?

So how are buckets created in a secondary region?

Thanks in advance!

Kurt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ceph.com/pipermail/ceph-users-ceph.com/attachments/20140710/07c80a57/attachment.htm>


[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux