On Fri, Apr 11, 2014 at 3:20 AM, <[email protected]> wrote:
> Hi all,
>
> Context : CEPH dumpling on Ubuntu 12.04
>
> I would like to manage as accurately as possible the pools assigned to Rados
> gateway
> My goal is to apply specific SLA to applications which use http-driven
> storage.
> I 'd like to store the contents by associating a pool to a bucket, or a pool
> to a user(account)
>
> Today, all the contents are stored in .rgw.buckets
> I read in a post that if the pool .rgw.<bucketname> exists, contents will be
> stored in it, but it fails.
That's incorrect.
>
> I tried to modify the metadata associated to the bucket but it fails.
> radosgw-admin metadata get bucket:<bucketname> gives a set information
>
> { "key": "bucket:<bucketname>",
> "ver": { "tag": " _fimhlBaK9aEKoX--jQKuvjT",
> "ver": 1},
> "mtime": 1394793288,
> "data": { "bucket": { "name": "<bucketname>",
> "pool": ".rgw. <bucketname>",
> "index_pool": ".rgw. <bucketname>.index",
> "marker": "default.9841.1",
> "bucket_id": "default.9841.1"},
> "owner": "johndoe",
> "creation_time": 1394793288,
> "linked": "true",
> "has_bucket_info": "false"}}
>
> which don't match with information given by radosgw-admin bucket
> -bucket=<bucketname> stats
> { "bucket": "<bucketname>",
> "pool": ".rgw.buckets",
> "index_pool": ".rgw.buckets.index",
> "id": "default.9841.1",
> "marker": "default.9841.1",
> "owner": "johndoe",
> "ver": 45,
> "master_ver": 0,
> "mtime": 1394793288,
> "max_marker": "",
> "usage": { "rgw.main": { "size_kb": 3005,
> "size_kb_actual": 3016,
> "num_objects": 3}}
>
> Is there a guideline I can rely on in order to reach my goal?
Look here:
http://comments.gmane.org/gmane.comp.file-systems.ceph.user/4992
The idea is to define different placement targets. You can change a
user's default placement target, and on bucket creation users can
define which placement target to use (if they're allowed).
Yehuda
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com